Bug 51455 - Wrong sized capplet windows on startup.
Summary: Wrong sized capplet windows on startup.
Alias: None
Product: Red Hat Public Beta
Classification: Retired
Component: control-center
Version: roswell
Hardware: i386
OS: Linux
Target Milestone: ---
Assignee: Jonathan Blandford
QA Contact: David Lawrence
Depends On:
TreeView+ depends on / blocked
Reported: 2001-08-10 16:38 UTC by Owen Taylor
Modified: 2013-04-02 04:15 UTC (History)
1 user (show)

Clone Of:
Last Closed: 2001-08-10 20:02:32 UTC

Attachments (Terms of Use)

Description Owen Taylor 2001-08-10 16:38:57 UTC
Independent control center windows come up at the wrong
size at startup and then resize as the content fills

This looks quite bad.

What should happen is that it should wait for the contents
before mapping the window (though this is annoying in
another way if the capplet is too slow.)

It shouldn't be too hard to implement it - control-center-signal
just has to check socket->plug_window until it becomes non-NULL.
This could be done in a 10-times-per-second timeout, or
possible a little harder while (!socket->plug_winndow) g_main_iteration.
Hardest thing here is probalby taking care of the failure case
where the child doesn't start at all.

Comment 1 Glen Foster 2001-08-10 20:02:26 UTC
We (Red Hat) should really try to fix this before next release.

Comment 2 Jonathan Blandford 2001-08-10 22:13:57 UTC
While it's not pretty, I just added a default size of 400 x 400.  This is better
for the capplets that are too small to begin with, and is less code changed.

Note You need to log in before you can comment on or make changes to this bug.