! 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 !
Wrap workspaces depending on the actual desktop layout not working after logo...
Status:
RESOLVED: MOVED
Product:
Xfce4-panel
Component:
Workspace Switcher

Comments

Description kafran 2016-04-04 22:15:40 CEST
The "wrap workspaces depending on the actual desktop layout" is not working after a logout or reboot, saving or not the session. After the reboot, a 2x2 workspace layout will wrap only horizontally. Un-checking and Re-checking the "wrap workspaces depending on the actual desktop layout" on "Window Manager Tweaks > Workspaces" doesn't work. Removing and re-adding the applet "Workspace Switcher" to the panel and reconfiguring it as 2x2 layout make it work again.

Environment Info: 
OS: Xubuntu 14.04.4 / XFCE 4.12.0 from xubuntu-dev ppa (also tried on Fedora 23)
Panel layout: on Xubuntu: Deskbar / on Fedora: horizontal

Steps to reproduce:
1. Open Window Manager Tweak > Worspaces
2. Check "Wrap workspaces depending on the actual desktop layout"
3. Check "Wrap workspaces when the first or the last workspace is reached"
4. Open Window Manager > Advanced
5. Check "With the mouse pointer"
6. Add the applet "Workspace Switcher" to panel
7. On workspace settings "Number of workspaces = 4"
8. On Workspace Switcher properties "Number of rows = 2"
9. Change workspaces moving the mouse pointer to right/left/top/bottom edges
10. Logout/Reboot
11. "Wrap workspaces depending on the actual desktop layout" is not working anymore
12. Remove the "Workspace Switcher" from the panel. Re-add and re-configure the applet.
 
+++ This bug was initially created as a clone of Bug #1512 +++

I have my workspaces set up in a 2x2 square and I have wrap workspaces enabled.
 I've had this setup for years.  When I upgraded to 4.2.3, something strange
happened.  The pointer would wrap sideways, but not up and down.  If I was
dragging a window, it worked fine.

Unchecking and rechecking the option in the window manager settings dialog made
it work again.

Reproducible: Didn't try
Steps to Reproduce:
1. Upgrade existing XFCE to XFCE 4.2.3.2
2. 
3.
Comment 1 kafran 2016-04-04 22:36:58 CEST
I don't know if this is a problem related to Xfwm4 or "Workspace Switcher" applet. But I think I found the problem. When I logout/reboot the command "xprop -root _NET_DESKTOP_LAYOUT" returns "not found". When I re-add the Switcher to the panel and re-configure it, it changes to "_NET_DESKTOP_LAYOUT(CARDINAL) = 0, 0, 2, 0".

The workaround is to add "xprop -root -f _NET_DESKTOP_LAYOUT 32cccc -set _NET_DESKTOP_LAYOUT 0,0,2,0" to ~/.profile

I think this is not the XFCE way to do, once these options exists on Xfwm settings and on Workspace Switcher. I hope this change in future releases.

Att.
Comment 2 Olivier Fourdan editbugs 2016-04-05 09:26:58 CEST
(In reply to kafran from comment #1)
> I don't know if this is a problem related to Xfwm4 or "Workspace Switcher"
> applet. But I think I found the problem. When I logout/reboot the command
> "xprop -root _NET_DESKTOP_LAYOUT" returns "not found".
> [...]

xfwm4 doesn't set the _NET_DESKTOP_LAYOUT, it just reads it to match the layout when switching between desktops, so this is not a bug in xfwm4 - If the pager doesn;t set the value, xfwm4 has no way to guess.

Most likely a bug in the pager from xfce4-panel.
Comment 3 kafran 2016-04-09 16:42:57 CEST
(In reply to Olivier Fourdan from comment #2)
> (In reply to kafran from comment #1)
> > I don't know if this is a problem related to Xfwm4 or "Workspace Switcher"
> > applet. But I think I found the problem. When I logout/reboot the command
> > "xprop -root _NET_DESKTOP_LAYOUT" returns "not found".
> > [...]
> 
> xfwm4 doesn't set the _NET_DESKTOP_LAYOUT, it just reads it to match the
> layout when switching between desktops, so this is not a bug in xfwm4 - If
> the pager doesn;t set the value, xfwm4 has no way to guess.
> 
> Most likely a bug in the pager from xfce4-panel.

Ok, I will post this same bug on "Wokspace Switcher".

But I think I'm still having a miss behave. My workspace layout is like this:

[wsp1][wsp2]
[wsp3][wsp4]

This is what I want to achieve, using the mouse or drag window:

From [wsp1] I want to go to [wsp2] and [wsp3] through right edge and bottom edge, respectively. From [wsp4] I can go to [wsp3] and [wsp2] through left edge and top edge, respectively. And so on. In an other word, I can navigate through workspaces using the inside edges of the square.

To achieve this I think I should check "Wrap workspaces depending on the actual desktop layout" and uncheck "Wrap workspace when the first or the last workspace is reached".

But, what is happening is: Check "Wrap workspaces depending on the actual desktop layout" make me go from [wsp1] to [wsp3] using the top edge, for example. I think this is the behave of "Wrap workspace when the first or the last workspace is reached".

If I check "Wrap workspace when the first or the last workspace is reached" nothing special happens.

Could you try to replicate this?

Att.
Comment 4 Git Bot editbugs 2020-05-28 01:59:52 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/149.

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 #12529

Reported by:
kafran
Reported on: 2016-04-04
Last modified on: 2020-05-28

People

Assignee:
Nick Schermer
CC List:
3 users

Version

Version:
4.12.0

Attachments

Additional information