! Please note that this is a snapshot of our old Bugzilla server, which is read only since May 29, 2020. Please go to gitlab.xfce.org for our new server !
1 pixel offset when the workspace switcher shows an empty workspace
Status:
RESOLVED: MOVED
Product:
Xfce4-panel
Component:
Workspace Switcher

Comments

Description Martin Stjernholm 2012-05-28 00:32:08 CEST
Created attachment 4466 
Panel when an empty workspace is shown

When the Workspace Switcher shows an empty workspace, i.e. a workspace with no windows that produce miniatures, it shifts one pixel to the right if right aligned. When that happens, it also causes all the other right aligned panel items to shift with it. It shifts back when a workspace with miniature windows is shown again.

The method of switching workspaces (click, keyboard shortcut, scrollwheel) doesn't matter. It does not happen if the workspace switcher is left aligned.

Attached are two screenshots of the right part of my panel that show this - observe the single pixel column at the right of "°C" (I have of course been very careful to crop the exact same area to show this).

This is not a major problem; it's just a bit ugly to have the panel icons judder back and forth.

xfce4-panel is 4.10.0-0ubuntu1~ppa1.
Comment 1 Martin Stjernholm 2012-05-28 00:32:44 CEST
Created attachment 4467 
Panel when a nonempty workspace is shown
Comment 2 hungrywolf27 2016-05-08 21:50:17 CEST
This bug still exists in xfce4-panel 4.12.0 (Xubuntu 16.04). I suspect the problem is actually in the Window Buttons item, not the Workspace Switcher, and is related to the "handle".

If "Show handle" is turned on in the Window Buttons settings, the 1-pixel shift goes away.

Also, if Window Buttons is removed from the panel entirely, the shift does not happen when switching to an empty workspace.
Comment 3 Git Bot editbugs 2020-05-28 01:41:37 CEST
-- GitLab Migration Automatic Message --

This bug has been migrated to xfce.org's GitLab instance and has been closed from further activity.

You can subscribe and participate further through the new bug through this link to our GitLab instance: https://gitlab.xfce.org/xfce/xfce4-panel/-/issues/32.

Please create an account or use an existing account on one of our supported OAuth providers. 

If you want to fork to submit patches and merge requests please continue reading here: https://docs.xfce.org/contribute/dev/git/start#gitlab_forks_and_merge_requests

Also feel free to reach out to us on the mailing list https://mail.xfce.org/mailman/listinfo/xfce4-dev

Bug #8953

Reported by:
Martin Stjernholm
Reported on: 2012-05-28
Last modified on: 2020-05-28

People

Assignee:
Nick Schermer
CC List:
1 user

Version

Version:
4.10.0

Attachments

Panel when an empty workspace is shown (6.01 KB, image/png)
2012-05-28 00:32 CEST , Martin Stjernholm
no flags
Panel when a nonempty workspace is shown (6.23 KB, image/png)
2012-05-28 00:32 CEST , Martin Stjernholm
no flags

Additional information