Bug 51455 - Wrong sized capplet windows on startup.
Wrong sized capplet windows on startup.
Status: CLOSED RAWHIDE
Product: Red Hat Public Beta
Classification: Retired
Component: control-center (Show other bugs)
roswell
i386 Linux
medium Severity medium
: ---
: ---
Assigned To: Jonathan Blandford
David Lawrence
:
Depends On:
Blocks:
  Show dependency treegraph
 
Reported: 2001-08-10 12:38 EDT by Owen Taylor
Modified: 2013-04-02 00:15 EDT (History)
1 user (show)

See Also:
Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of:
Environment:
Last Closed: 2001-08-10 16:02:32 EDT
Type: ---
Regression: ---
Mount Type: ---
Documentation: ---
CRM:
Verified Versions:
Category: ---
oVirt Team: ---
RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: ---


Attachments (Terms of Use)

  None (edit)
Description Owen Taylor 2001-08-10 12:38:57 EDT
Independent control center windows come up at the wrong
size at startup and then resize as the content fills
in.

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 16:02:26 EDT
We (Red Hat) should really try to fix this before next release.
Comment 2 Jonathan Blandford 2001-08-10 18:13:57 EDT
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.