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 651130 - Window switcher appears stretched in multi-monitor setup
Window switcher appears stretched in multi-monitor setup
Status: RESOLVED FIXED
Product: gnome-shell
Classification: Core
Component: general
3.2.x
Other Linux
: Normal normal
: ---
Assigned To: gnome-shell-maint
gnome-shell-maint
: 667863 670622 (view as bug list)
Depends on:
Blocks:
 
 
Reported: 2011-05-26 09:44 UTC by Reinout van Schouwen
Modified: 2012-02-23 18:53 UTC
See Also:
GNOME target: ---
GNOME version: ---


Attachments
Photo of bug (641.90 KB, image/jpeg)
2011-05-30 08:47 UTC, Reinout van Schouwen
  Details
altTab: Fix thumbnail size calculation for some dual-head setups (1.45 KB, patch)
2012-02-23 18:51 UTC, Marius Gedminas
committed Details | Review

Description Reinout van Schouwen 2011-05-26 09:44:35 UTC
My Dell E6410 laptop (intel integrated graphics) is connected to an external monitor (1280 x 1024). I use both the laptop screen (1280 x 800) and the external monitor. 

Now, when pressing Alt+` to switch between currently open windows, the window switcher (shown on the laptop monitor) is vertically stretched and partially falls off the screen. The Alt+Tab application switcher itself is shown correctly, it's just the window switcher for apps with multiple windows that gives the problem.
Comment 1 Rui Matos 2011-05-26 09:59:25 UTC
Can we have a screenshot? Thanks.
Comment 2 Reinout van Schouwen 2011-05-30 08:47:22 UTC
Created attachment 188863 [details]
Photo of bug

I hope this photo is clear enough, hitting Print Screen doesn't work while holding Alt.
Comment 3 Rui Matos 2011-05-30 09:31:32 UTC
Looks like a driver problem to me. What kind of system is this? What's your mesa driver version?
Comment 4 Reinout van Schouwen 2011-05-30 19:14:24 UTC
(In reply to comment #3)
> Looks like a driver problem to me. What kind of system is this? What's your
> mesa driver version?

I'm running unmodified Fedora 15. As mentioned above, it's a Dell E6410 with integrated intel HD graphics.
Comment 5 James Cape 2011-07-22 04:53:58 UTC
I can confirm this on a Lenovo T420 (also with HD), but only when the screens are vertically oriented.
Comment 6 Fabio Durán Verdugo 2011-09-22 22:39:34 UTC
any news for this report?
Comment 7 Reinout van Schouwen 2011-09-24 23:54:56 UTC
(In reply to comment #6)
> any news for this report?

Is the given information not enough to remove the NEEDINFO status?
Comment 8 Reinout van Schouwen 2011-11-23 10:09:25 UTC
A seemingly related downstream bug: https://bugzilla.redhat.com/show_bug.cgi?id=684040
Comment 9 Enver ALTIN 2011-11-30 14:57:10 UTC
To reproduce, make the smaller display primary and you'll get broken scaling in alt+` window switcher.

Thanks,
Comment 10 Florian Müllner 2012-01-13 13:52:18 UTC
*** Bug 667863 has been marked as a duplicate of this bug. ***
Comment 11 Jussi Kukkonen 2012-01-18 09:25:42 UTC
Seeing this with dual displays, smaller one being the primary and Intel HW (i915).

Please take a look at the screenshot in bug 667863 -- I think the specific glitches visible (one thumbnail is not stretched while others are) point to this possibly not being a graphics driver bug.
Comment 12 Jussi Kukkonen 2012-01-18 09:28:42 UTC
This bug is reproducable in gnome-shell 3.2.1 by the way, I just can't change the version field.
Comment 13 Milan Bouchet-Valat 2012-01-18 09:52:54 UTC
On this screenshot, you can see that the first thumbnail is compelte garbage, that the second is weird, and the third only slightly wrong. ;-) Seriously, that's a driver bug, and if it wasn't everybody would see the same problem.

Please report it to driver developers, luckily you're using a free driver. https://bugs.freedesktop.org/enter_bug.cgi?product=xorg
Comment 14 Reinout van Schouwen 2012-02-06 00:48:19 UTC
Filed upstream bug https://bugs.freedesktop.org/show_bug.cgi?id=45661
Comment 15 Reinout van Schouwen 2012-02-06 13:57:47 UTC
Upstream closed their bug again, saying it's the problem of gnome-shell. :(
Comment 16 Milan Bouchet-Valat 2012-02-06 14:17:41 UTC
For reference, Chris Wilson's reply to Jasper was:
> My observation was based on that g-s did not know the extents of the displays
> within the framebuffer, or at least drew the monitor labels on the wrong
> monitor and drew a fullscreen application that was on the second monitor split
> across both monitors with a gap at the top.
Comment 17 Florian Müllner 2012-02-22 17:38:56 UTC
*** Bug 670622 has been marked as a duplicate of this bug. ***
Comment 18 Marius Gedminas 2012-02-23 18:51:35 UTC
Created attachment 208295 [details] [review]
altTab: Fix thumbnail size calculation for some dual-head setups

The old formula worked only when the primary monitor was positioned at the
top of the virtual desktop.  When that was not the case, the available
space was miscalculated sometimes resulting in negative numbers, which in
the end produced strangely vertically stretched window thumbnails.
Comment 19 drago01 2012-02-23 18:53:04 UTC
Attachment 208295 [details] pushed as 00ed297 - altTab: Fix thumbnail size calculation for some dual-head setups


Pushed, thanks for the patch.