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 644889 - alt-f2 screen graying fails with dual monitor setup
alt-f2 screen graying fails with dual monitor setup
Status: RESOLVED FIXED
Product: gnome-shell
Classification: Core
Component: general
unspecified
Other Linux
: Normal minor
: ---
Assigned To: gnome-shell-maint
gnome-shell-maint
Depends on:
Blocks: 645023
 
 
Reported: 2011-03-16 08:31 UTC by Jussi Kukkonen
Modified: 2011-03-22 01:21 UTC
See Also:
GNOME target: ---
GNOME version: ---


Attachments
modalDialog: add constraint on size and position (1.03 KB, patch)
2011-03-16 22:58 UTC, Maxim Ermilov
committed Details | Review

Description Jussi Kukkonen 2011-03-16 08:31:39 UTC
The Pressing alt-f2 paints the screen gray and opens the 'run box'. With two monitors the painting fails partly.

Setup is :

+---------+  +-----+
|         |  |LVDS |
| VGA     |  |     |
|         |  +-----+
|.........|
+---------+

The section marked with dots (...) is not painted gray. It seems to correspond to the extra vertical resolution that VGA has compared to LVDS.

I can reproduce this by starting gnome-shell and pressing alt-f2 when the cursor is in LVDS monitor. If I press alt-f2 when cursor is in the VGA monitor, the problem does not appear, and after this I can't reproduce the problem anymore even when cursor is in LVDS.

Using jhbuild from around 2011-03-07 on Debian Unstable, Intel graphics.
Comment 1 Maxim Ermilov 2011-03-16 22:58:06 UTC
Created attachment 183583 [details] [review]
modalDialog: add constraint on size and position
Comment 2 Alexander Larsson 2011-03-18 13:57:29 UTC
I don't see this here. Weird.
Comment 3 Maxim Ermilov 2011-03-18 14:31:49 UTC
Easy to reproduce:
1. set 800x600 on primary monitor (should be on right side)
2. restart shell
3. open runDialog
Comment 4 Owen Taylor 2011-03-22 01:17:23 UTC
Review of attachment 183583 [details] [review]:

Explanation here is that if we don't set the size of this._group, it is sized big enough to contain it's origin at 0,0 and the primary monitor which is the size and shape of it's child this._backgroundBin
 
 +---------------+------------+
 |               | Primary    |
 |               |            |
 |               +------------+
 +---------------+

So the bottom area of the secondary monitor is un-lightboxed since the lightbox size matches the size of the parent container. I'll add an appropriate commit message and push this.