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 272967 - [KB-Fixed] Preferences window resizes when shown
[KB-Fixed] Preferences window resizes when shown
Status: RESOLVED FIXED
Product: evolution
Classification: Applications
Component: Shell
2.8.x (obsolete)
Other All
: Normal minor
: ---
Assigned To: Evolution Shell Maintainers Team
Evolution QA team
evolution[kill-bonobo]
: 318788 322375 331747 347701 512035 (view as bug list)
Depends on:
Blocks: 327508 327510
 
 
Reported: 2005-02-24 14:19 UTC by Crispin Flowerday (not receiving bugmail)
Modified: 2013-09-10 14:04 UTC
See Also:
GNOME target: ---
GNOME version: 2.11/2.12


Attachments
Screenshot showing the different sizes (67.55 KB, image/png)
2005-05-04 10:41 UTC, Crispin Flowerday (not receiving bugmail)
  Details
Proposed patch (1.64 KB, patch)
2005-12-20 13:35 UTC, Srinivasa Ragavan
none Details | Review

Description Crispin Flowerday (not receiving bugmail) 2005-02-24 14:19:43 UTC
When you go to Edit->Preferences, the preferences window is shown initially
without any of the icons on the left side, and at a smaller side, a short
time later (< 1sec) it resizes and shows the icons.
Comment 1 Srinivasa Ragavan 2005-04-29 08:12:52 UTC
Crispin, I think thatz reqd to load images/etc. Im my machine its in microsecs. 
Comment 2 JP Rosevear 2005-05-04 10:05:45 UTC
Hmm, I see this too.
Comment 3 Crispin Flowerday (not receiving bugmail) 2005-05-04 10:41:08 UTC
Created attachment 46010 [details]
Screenshot showing the different sizes

This screenshot is of the 2 different window sizes I see when the preferences
window is opening, the smaller version is what is shown initially, it has the
account names filled in, but no icons on the left (although the left pane is
the correct size).

At a later point the window grows, it expands as the other tabs need more
space, and so the window has to expand, I estimate the delay to be about 1/3rd
of a second, in the words of a collegue "just enough to be maximally
irritating"
Comment 4 Matthew Paul Thomas (mpt) 2005-06-22 22:38:46 UTC
With Metacity, this means the Preferences window ends up partially off-screen
every single time it's opened. It's all on-screen initially ... then it resizes.
Comment 5 Rafa³ Próchniak 2005-06-23 12:19:33 UTC
I can confirm this behaviour (Evolution 2.2.1.1, Ubutnu Hoary). 

This is really annoying especially that the "Close" button is off-screen. I
don't use it too often (I got used to it being off-screen), but recently I saw
someone (I'd say "a regular user", relying on the GUI more than on keyboard
shortcuts) dragging the preferences window back on-screen only to hit "close". 
Comment 6 André Klapper 2005-08-22 19:38:17 UTC
still valid in 2.3.7
Comment 7 Not Zed 2005-08-25 06:04:25 UTC
never seen it here
Comment 8 Sebastien Bacher 2005-09-08 13:53:56 UTC
happen with 2.4.0. Ubuntu about this:
http://bugzilla.ubuntu.com/show_bug.cgi?id=14543
Comment 9 André Klapper 2005-10-14 14:42:47 UTC
retargetting; according to bug 318788 this is against HIG, adding HIG keyword
Comment 10 André Klapper 2005-10-14 14:43:04 UTC
*** Bug 318788 has been marked as a duplicate of this bug. ***
Comment 11 André Klapper 2005-11-25 14:24:46 UTC
copying from bug 322375:

This is also not inline with the Gnome HIG : "Always show a window as soon as
possible, but make sure your window is the correct size before displaying it.
Resizing a window after it is visible is disorienting and gives an unpolished
look to your application."
(http://developer.gnome.org/projects/gup/hig/2.0/windows.html#windows-show-hide).
Comment 12 André Klapper 2005-11-25 14:25:21 UTC
*** Bug 322375 has been marked as a duplicate of this bug. ***
Comment 13 Srinivasa Ragavan 2005-12-20 13:35:18 UTC
Created attachment 56202 [details] [review]
Proposed patch

The current design, sets the dialog size. I have created a patch, which sets the dialog size to what i it resizes to and also i have added code to show load the dialog in a idle call back, so that it avoids much of flicker. Please TRY out the patch and lets take this, if it really solves the issue.
Comment 14 Crispin Flowerday (not receiving bugmail) 2005-12-20 13:40:05 UTC
Doesn't the size of the dialog depend on what plugins are loaded ? (i.e. some may add new tabs and hence produce a bigger dialog). Also, isn't adding a timeout a total hack ? What if the users computer was slow, they would still see the annoying flicker.

I haven't looked at the code, but isn't it possible to construct the dialog, fill all the widgets in, and then only at that point show it ?
Comment 15 Srinivasa Ragavan 2005-12-20 14:01:20 UTC
crispin,

Yeah it is a hack on the existing hack. :) The delay is not for window resizing but for widgets alignment, which is also ugly. This shouldnt matter though. But the killer issue is the Window Resizing, which is due to plugins archtecture. But i tried in other m/c but doesnt seems to be useful. Im obsoleting it. 
Comment 16 Harish Krishnaswamy 2006-01-05 06:12:55 UTC
I now see Not Zed's point. Comment #7. I do not observe this bug when I use a window manager other than metacity. But then, Evolution is a GNOME App. and we just need to work with GNOME's window manager. No two opinions on that.
Comment 17 Jean-François Fortin Tam 2006-06-29 15:25:06 UTC
Just to add a silly idea: in the worst case scenario, you could do a gtk windowwhatever.hide(), do the resizing, then windowhatever.show(), or something like that? It's hacky at best, but it may look less irritating.
Comment 18 André Klapper 2006-07-17 11:09:46 UTC
*** Bug 347701 has been marked as a duplicate of this bug. ***
Comment 19 Karsten Bräckelmann 2006-07-22 23:40:34 UTC
*** Bug 331747 has been marked as a duplicate of this bug. ***
Comment 20 Bastien Nocera 2006-10-25 07:45:27 UTC
In this case, it looks like it's the "General" page in the Mail Preferences that does that. It's not a plug-in provided page.
Comment 21 Gert Kulyk 2007-10-03 14:15:02 UTC
I've recognized too late that this report fits better the situation I'm trying to fix with the patch I've posted to bug #350932. 
(see http://bugzilla.gnome.org/show_bug.cgi?id=350932#c8)

It's the "General" page, when e.g. singeling out the mail-notification-stuff to a single tab, the dialog should be ok for resolutions 1024x768 and higher.
Comment 22 Pacho Ramos 2007-11-24 20:44:41 UTC
Still valid with evolution-2.12.1 and gnome-2.20 under Gentoo

Easily reproducible simply going to "Edit" -> "Preferences", preferences window will be resized (and also misplaced after this resize)

Would be nice get this fixed, if you need more info feel free to ask me for it

Thanks a lot
Comment 23 Matthew Barnes 2008-03-11 00:28:36 UTC
Bumping version to a stable release.
Comment 24 Pacho Ramos 2008-09-22 11:36:09 UTC
This is still valid with 2.22, Can anybody change version? (I cannot test on trunk yet :-( )
Comment 25 Matthew Barnes 2008-09-22 11:55:36 UTC
If I understand correctly this is a side-effect of using Bonobo.  The issue is still present in 2.24 but should be fixed by 2.26 (March 2009).
Comment 26 Pacho Ramos 2008-09-22 12:04:13 UTC
OK, thanks for the information (and for fixing it of course :-))
Comment 27 Matthew Barnes 2008-11-19 14:35:23 UTC
This is (finally!) fixed on my "kill-bonobo" branch.  Window positioning works correctly as well.
Comment 28 Matthew Barnes 2009-03-28 01:15:01 UTC
*** Bug 512035 has been marked as a duplicate of this bug. ***
Comment 29 Matthew Barnes 2009-08-30 05:53:28 UTC
The "kill-bonobo" branch has been merged into "master" and will debut as Evolution 2.29.1.  We believe the branch has addressed the reported issue.  If you find the issue still exists in version 2.29 or later please feel free to re-open this bug.

Closing as FIXED.