Month: August 2014

Final GSOC Report: Revamping the UI of Gnome-Calculator and Implementing History-View

Hi  Everybody,

The amazing  Google Summer of Code has finally come to an end and I feel very lucky for having the opportunity of being a part of it. I learned a lot of new things as well as had a lot of fun this summer doing what I like to do the most! Let me summarize what I have successfully implemented so far in Gnome-Calculator.

1. History View which displays previous calculations for modification and reuse.

2. Explicit Keyboard Mode with resizing capability.

3. Improved the appearance of User Interface.

Although GSOC has come to an end, my journey as a GNOME Developer has just begun. I plan to continue contributing to Gnome as long as I can and also try to make Gnome-Calculator as advanced as possible.

You can find all the patches related to my GSOC project here.

I would like to sincerely thank my mentor Arth Patel , Garima Joshi and Michael Catanzaro for patiently answering several queries I had during the GSOC period and for helping me to complete my GSOC Project successfully.


Final Week of GSOC : Revamping the UI of Gnome-Calculator and adding History-View

Hi Everybody,

We have introduced a new mode into Gnome-Calculator, that is the Keyboard Mode. The Keyboard Mode as its name suggests, is designed for users who prefer to give input to the calculator only from keyboard. This mode does not consists of buttons panel, instead the space is occupied by button panel in other modes is allocated to History View. The mode also allows resizing of the Main Window. On resizing the Main Window, the History View resizes accordingly.

The keyboard mode appears as follows.


I have also added Documentation for History View as well as Keyboard mode in the Users Documentation.


Post Mid Term : Revamping the UI of Gnome Calculator and adding History-View

Hi Everybody,

The History View is finally complete after fixing all the minor bugs associated. Earlier a scrollbar would appear when an equation or answer is too long which was undesirable. We have now replaced the Gtk TextViews by Gtk Labels whose ellipsize property takes care of representation of really long equations.Also the answers on the Gtk Label has a precision of 4 digits so that the whole answer is visible to the user.We haven’t decreased the precision of the calculator as the real answer with 9 digits precision is made available as a tooltip for answer label. Each entry in the history view now consists of equation and corresponding answer , each of which is individually selectable and has been provided with a tooltip to enable viewing of long equations.Also the History View has been redesigned in a way such that on clicking any of the equation in the history view, the selected equation replaced the existing equation and on clicking an of the answers in the history view, the selected answer is appended to the existing equation. We had to make some major changes in the previous History View patch so that the code is well optimized and efficient. We also added color to the result button and the clear button to make the UI a little more lively and attractive but keep it simple at the same time. We have also added 2px padding to the buttons so that they don’t appear to be cramped up on the UI.

The history View now appears as following.


We are going to implement the Keyboard next! For more updates , stay tuned!