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 610203 - Tiled backgrounds are not displayed properly in the overview
Tiled backgrounds are not displayed properly in the overview
Status: RESOLVED FIXED
Product: gnome-shell
Classification: Core
Component: general
unspecified
Other All
: Normal normal
: ---
Assigned To: gnome-shell-maint
gnome-shell-maint
Depends on:
Blocks:
 
 
Reported: 2010-02-16 22:14 UTC by Florian Müllner
Modified: 2010-02-17 16:26 UTC
See Also:
GNOME target: ---
GNOME version: ---


Attachments
[Overview] Fix tiled background images (1.02 KB, patch)
2010-02-16 22:15 UTC, Florian Müllner
needs-work Details | Review
[Overview] Fix tiled background images (1.10 KB, patch)
2010-02-17 15:09 UTC, Florian Müllner
committed Details | Review

Description Florian Müllner 2010-02-16 22:14:58 UTC
Tiled backgrounds are not ... well, tiled:
http://dl.dropbox.com/u/208391/shell-caps/workspaces.jpeg

Before I broke it with the icon-fade-out-in-overview patch, the background was stretched to fill the whole screen, which is obviously less wrong, but still not tiled.

The problem is, that while we set up tiling for the root_pixmap actor, we later apply all transformations to its clone.
Comment 1 Florian Müllner 2010-02-16 22:15:01 UTC
Created attachment 153971 [details] [review]
[Overview] Fix tiled background images

Tiled backgrounds are only displayed once in the upper left corner when
in the overview - they should be tiled just like outside the overview.
Comment 2 Dan Winship 2010-02-17 14:46:22 UTC
Comment on attachment 153971 [details] [review]
[Overview] Fix tiled background images

>-    background.set_size(global.screen_width, global.screen_height);
>+    background.source.set_size(global.screen_width, global.screen_height);

This relies on the precise implementation of shell_global_create_root_pixmap_actor(). It would be better to have shell-global.c update global->root_pixmap's size itself as needed.
Comment 3 Florian Müllner 2010-02-17 15:09:42 UTC
Created attachment 154043 [details] [review]
[Overview] Fix tiled background images

OK, moved to shell-global instead. Is it acceptable to put this in emit_screen_size_changed_cb() (doesn't quite fit the name) or should shell-global connect to its own signal (not nice either)? Maybe the callback should be renamed to on_screen_size_changed_cb?
Comment 4 Dan Winship 2010-02-17 16:01:14 UTC
Comment on attachment 154043 [details] [review]
[Overview] Fix tiled background images

>Maybe the callback should be renamed to on_screen_size_changed_cb?

yeah, sounds like a plan
Comment 5 Florian Müllner 2010-02-17 16:25:57 UTC
Attachment 154043 [details] pushed as 94d3e27 - [Overview] Fix tiled background images