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 593612 - [regression] Pane size restoration does not play nice with maximized windows
[regression] Pane size restoration does not play nice with maximized windows
Status: RESOLVED FIXED
Product: evolution
Classification: Applications
Component: Shell
2.30.x (obsolete)
Other Linux
: Normal normal
: ---
Assigned To: Akhil Laddha
Evolution QA team
evolution[kill-bonobo]
: 490848 595669 595688 601648 (view as bug list)
Depends on:
Blocks:
 
 
Reported: 2009-08-31 06:35 UTC by Akhil Laddha
Modified: 2013-09-13 01:06 UTC
See Also:
GNOME target: ---
GNOME version: ---


Attachments
Screen shot on initial start up (208.20 KB, image/png)
2009-09-01 05:54 UTC, Akhil Laddha
Details
Screen shot after i modified panel size (192.73 KB, image/png)
2009-09-01 05:54 UTC, Akhil Laddha
Details
Screen shot after i restarted evolution (208.41 KB, image/png)
2009-09-01 05:56 UTC, Akhil Laddha
Details

Description Akhil Laddha 2009-08-31 06:35:21 UTC
Evolution 2.29.1 

Every time i need to expand left side panel to see folder tree as it doesn't remember last setting. It happens with message preview also.
Comment 1 Matthew Barnes 2009-08-31 13:06:08 UTC
It's working fine here, I spent two days last week getting the pane resizing and restoration finally working correctly.  Can you post screenshots?
Comment 2 Akhil Laddha 2009-09-01 05:54:20 UTC
Created attachment 142197 [details]
Screen shot on initial start up
Comment 3 Akhil Laddha 2009-09-01 05:54:54 UTC
Created attachment 142198 [details]
Screen shot after i modified panel size
Comment 4 Akhil Laddha 2009-09-01 05:56:09 UTC
Created attachment 142199 [details]
Screen shot after i restarted evolution 

It forgets my previous panel setting.
Comment 5 Matthew Barnes 2009-09-01 11:18:47 UTC
It looks like you're running with a maximized window.  Check if it forgets your panel size with your window unmaximized.

I posted a lengthy exposition on persistent panel sizes in a similar Fedora bug: http://bugzilla.redhat.com/show_bug.cgi?id=517403#c8

The kill-bonobo code fixes the packing and position saving issues I talk about, but the maximization issue may still be present.  In short, your unmaximized window may be too short for GTK+ to restore the panel size.  GTK+ will do the best it can with the space available.  Later on during initialization, when the window is finally maximized, the panel size appears to have changed or been "forgotten" due to the clamping that occurred before the window was maximized.
Comment 6 Matthew Barnes 2009-09-01 11:22:32 UTC
Screenshots 1 and 3 show consistent panel sizes on startup.  That's probably as big as GTK+ can make it in the window's unmaximized state.
Comment 7 Akhil Laddha 2009-09-01 11:29:00 UTC
Yep, unmaximized window works as expected.
Comment 8 Matthew Barnes 2009-09-01 12:31:16 UTC
Okay good.  I'll keep working on the maximization issue.

In the meantime, resize your window.  :)
Comment 9 Matthew Barnes 2009-09-19 15:01:31 UTC
*** Bug 595669 has been marked as a duplicate of this bug. ***
Comment 10 Matthew Barnes 2009-09-20 02:52:11 UTC
*** Bug 595688 has been marked as a duplicate of this bug. ***
Comment 11 Matthew Barnes 2009-10-07 04:16:26 UTC
Think I finally got this working so that the pane position for a maximized window is not applied until the window is actually maximized.  Not easy.

http://git.gnome.org/cgit/evolution/commit/?id=7743ec3b572980516c4343174bf18b1790c90209
Comment 12 Akhil Laddha 2009-10-07 11:25:45 UTC
It seems to forget panel size after any crash. I have build with changes mentioned in comment#11.
Comment 13 Matthew Barnes 2009-11-12 13:10:58 UTC
*** Bug 601648 has been marked as a duplicate of this bug. ***
Comment 14 Akhil Laddha 2009-11-27 04:37:19 UTC
*** Bug 490848 has been marked as a duplicate of this bug. ***