Bug 679826

Summary: default control center window vertical sizing is too large on 1024x768 monitor
Product: [Fedora] Fedora Reporter: Eric Blake <eblake>
Component: control-centerAssignee: Control Center Maintainer <control-center-maint>
Status: CLOSED UPSTREAM QA Contact: Fedora Extras Quality Assurance <extras-qa>
Severity: unspecified Docs Contact:
Priority: unspecified    
Version: 15CC: bnocera, control-center-maint, rstrode
Target Milestone: ---   
Target Release: ---   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2011-03-15 00:07:26 UTC Type: ---
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Attachments:
Description Flags
screenshot 1 - initial placement of window
none
screenshot 2 - window is still too tall to resize
none
.xsession-errors of the same session that generated the screenshots, in case it's useful none

Description Eric Blake 2011-02-23 15:53:26 UTC
Created attachment 480503 [details]
screenshot 1 - initial placement of window

Description of problem:
I'm running F15 graphics test day in a VM (of course, it selected fallback mode).  Trying to open up the control center is an issue, because the default window is so big that it can't fit on my 1024x768 virtual monitor; and since the window resize corners are only on the bottom of the window, I can't resize the window.

Version-Release number of selected component (if applicable):
control-center-2.91.6-8.fc15.x86_64

How reproducible:
100%

Steps to Reproduce:
1. Select System->Control Center
2. try to move the window to the top in order to reach the resize areas
  
Actual results:
1. screenshot 1 shows the default placement when other windows are open - way at the bottom of the screen instead of showing the majority of the window
2. screenshot 2 shows placement after moving to the top; still to tall of a window to reach the bottom resize areas

Expected results:
default window should fit within 1024x768 window without needing resizing or dragging to view the overall window; a vertical scroll bar is acceptable to view the complete contents within the window

Additional info:

Comment 1 Eric Blake 2011-02-23 15:54:01 UTC
Created attachment 480505 [details]
screenshot 2 - window is still too tall to resize

Comment 2 Eric Blake 2011-02-23 15:59:44 UTC
Created attachment 480515 [details]
.xsession-errors of the same session that generated the screenshots, in case it's useful

Comment 3 Bastien Nocera 2011-02-23 17:18:01 UTC
Please test with control-center 2.91.90 (should hit rawhide soonish).

Comment 4 Eric Blake 2011-02-25 18:46:25 UTC
Nope, even with control-center-2.91.90-1.fc15.x86_64, the control-center window still opens up too large, and remains effectively un-resizable.

Comment 5 Bastien Nocera 2011-03-11 13:04:09 UTC
(In reply to comment #4)
> Nope, even with control-center-2.91.90-1.fc15.x86_64, the control-center window
> still opens up too large, and remains effectively un-resizable.

Not being resizable is normal. What exactly is too big and doesn't fit on the screen?

Comment 6 Eric Blake 2011-03-11 18:16:55 UTC
(In reply to comment #5)
> Not being resizable is normal.

Ah, I just checked in a larger monitor, and indeed, the monitor is not resizeable there.  I also see when right-clicking on the title bar (in either resolution) that the Alt-F8 resize option is greyed out.  So I'm retitling this bug accordingly.

> What exactly is too big and doesn't fit on the
> screen?

Take another look at screenshot 2 - when the window is created, it is assigned a vertical height with more pixels than supported in the monitor resolution.  It looks like the window is aware of this fact: in the larger monitor, there is no vertical scroll bar, and everything shows at once, while in the smaller monitor, a scrollbar is added.  However, the scroll bar extends below the bottom of the screen, so the vertical sizing of the window is too large, and I cannot see the contents of the bottom few pixels of the window.  Maybe the real bug is that when the control panel window detects that it cannot completely fit in the monitor resolution and thus reduces the vertical sizing enough to introduce the vertical scrollbar, it is not taking into account the lost screen real estate from the bars across the top and bottom of the screen (screenshot 2 was in fall-back mode, after all), so it picks a vertical size that is still a few pixels too large.

The problem still persists with control-center-2.91.91-1.fc15.x86_64.

Comment 7 Bastien Nocera 2011-03-15 00:07:26 UTC
Indeed, I see the problem now.

Looks like the same problem as:
https://bugzilla.gnome.org/show_bug.cgi?id=636864

I'll close this as upstream and work on it there.