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 104700 - Workspace applet incorrectly shows windows leaking into other workspaces
Workspace applet incorrectly shows windows leaking into other workspaces
Status: RESOLVED FIXED
Product: libwnck
Classification: Core
Component: general
2.2.x
Other other
: Normal normal
: ---
Assigned To: libwnck maintainers
libwnck maintainers
Depends on:
Blocks:
 
 
Reported: 2003-01-29 07:21 UTC by David Hoover
Modified: 2004-12-22 21:47 UTC
See Also:
GNOME target: ---
GNOME version: ---


Attachments
Screenshot of working sides vs not-working sides (3.35 KB, image/png)
2003-01-29 07:22 UTC, David Hoover
  Details
Proposed patch (798 bytes, patch)
2003-10-20 11:24 UTC, Vincent Untz
none Details | Review

Description David Hoover 2003-01-29 07:21:44 UTC
I'm seeing this with the workspace switcher applet from gnome-panel 2.1.5

If you have a window that's partially off the screen on the right side, the
workspace switcher correctly truncates its thumbnail, since the window only
lives on the current workspace. Same thing for if you leak off the bottom.

If you put a window such that it leaks off either the right or the left of
your workspace, it incorrectly draws the window as spanning multiple
workspaces.

In case my explanation doesn't quite make sense, I'll attach a screenshot.
In it, I've got two examples: one with the windows leaking off to the left
& top edges incorrectly, and one with the windows leaking off to the bottom
& right edges correctly.
Comment 1 David Hoover 2003-01-29 07:22:20 UTC
Created attachment 13903 [details]
Screenshot of working sides vs not-working sides
Comment 2 Vincent Untz 2003-10-20 11:24:52 UTC
Created attachment 20811 [details] [review]
Proposed patch
Comment 3 Vincent Untz 2003-10-20 11:25:34 UTC
Patch fixes this.
Ok to commit ?
Comment 4 Havoc Pennington 2003-10-21 15:43:18 UTC
This looks fine but you should add a space between
gdk_rectangle_intersect and the (, and name the rect something more
descriptive than rect_buf (maybe "unclipped_win_rect" or something).

Comment 5 Vincent Untz 2003-10-22 00:01:56 UTC
Fixed in HEAD with above comments.