After an evaluation, GNOME has moved from Bugzilla to GitLab. Learn more about GitLab.
No new issues can be reported in GNOME Bugzilla anymore.
To report an issue in a GNOME project, go to GNOME GitLab.
Do not go to GNOME Gitlab for: Bluefish, Doxygen, GnuCash, GStreamer, java-gnome, LDTP, NetworkManager, Tomboy.
Bug 756920 - Allow window resizing
Allow window resizing
Status: RESOLVED OBSOLETE
Product: gnome-calculator
Classification: Core
Component: general
unspecified
Other Linux
: Normal normal
: ---
Assigned To: gcalctool maintainers
gcalctool maintainers
: 630594 (view as bug list)
Depends on:
Blocks:
 
 
Reported: 2015-10-21 17:13 UTC by Allan Day
Modified: 2018-05-22 11:55 UTC
See Also:
GNOME target: ---
GNOME version: ---



Description Allan Day 2015-10-21 17:13:41 UTC
Making the window resizable would be useful now that there's a results list, since it would allow a user to see more history.

Additionally (and probably more importantly), it would allow the calculator to perform much better on convertible devices. Here, it really needs to be maximized by default (see bug 750639).

Here's some initial design guidance for how to handle window resizing:

https://raw.githubusercontent.com/gnome-design-team/gnome-mockups/master/calculator/calculator-resizing-wires.png

This can be considered to be some initial steps towards a more responsive design.
Comment 1 akronix5 2015-11-09 12:39:21 UTC
Curiously, keyboard mode is resizable and works as expected.
Maybe gnome dev team didn't make other modes resizable because of buttons resizing issues? is it too hard to do, make all modes resizable??
Comment 2 Alberto Ruiz 2015-11-10 20:58:12 UTC
(In reply to Allan Day from comment #0)
> https://raw.githubusercontent.com/gnome-design-team/gnome-mockups/master/
> calculator/calculator-resizing-wires.png

I have a question though, up to which point should I scale buttons vertically?
Comment 3 akronix5 2015-11-10 23:56:01 UTC
I guess up to the point it becomes too big and difficult to manage...but, what about only expanding the list and never the buttons vertically? Supposedly, the standard (with min-height) buttons are big enough for the user.
Comment 4 Allan Day 2015-11-12 12:21:00 UTC
(In reply to Alberto Ruiz from comment #2)
...
> I have a question though, up to which point should I scale buttons
> vertically?

I would experiment with that to see what feels best. Possibly start around 70px tall and work from there?
Comment 5 Alberto Ruiz 2016-01-27 17:20:13 UTC
*** Bug 630594 has been marked as a duplicate of this bug. ***
Comment 6 Robert Roth 2018-01-27 02:22:34 UTC
FYI: On current development version, the window is made resizable again. The buttons take the space they need, and the history is the component expanding. This is not yet in line with the resizing/responsible mockups created, but is a first step towards that.
Given that specifying maxWidth/maxHeight is does not seem to be possible via gtk CSS, implementing the responsive design suggested is not trivial, so it will take some more time.
Comment 7 Allan Day 2018-01-31 09:50:32 UTC
(In reply to Robert Roth from comment #6)
> FYI: On current development version, the window is made resizable again.
...

I tried this yesterday and agree that it's a good first step. It works really well in combination with resizeable side-by-side windows.
Comment 8 GNOME Infrastructure Team 2018-05-22 11:55:52 UTC
-- GitLab Migration Automatic Message --

This bug has been migrated to GNOME's GitLab instance and has been closed from further activity.

You can subscribe and participate further through the new bug through this link to our GitLab instance: https://gitlab.gnome.org/GNOME/gnome-calculator/issues/45.