! 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 !
Desktop layout not updated
Status:
RESOLVED: FIXED
Product:
Xfce4-panel

Comments

Description Olivier Fourdan editbugs 2004-11-18 20:23:42 CET
1) Start the panel in vertical mode (do not swith to vertical mode that wouldn't
show, really start the panel in vertical mode)
2) xprop -root | grep NET_DESKTOP_LAYOUT\(
gives
_NET_DESKTOP_LAYOUT(CARDINAL) = 1, 1, 0, 0
3) Switch the panel horizontally
4) xprop -root | grep NET_DESKTOP_LAYOUT\(
still gives 
_NET_DESKTOP_LAYOUT(CARDINAL) = 1, 1, 0, 0
while it should show
_NET_DESKTOP_LAYOUT(CARDINAL) = 0, 0, 1, 0

Oddly enough, that work perfectly if the panel is started horizontally.
Comment 1 Jasper Huijsmans editbugs 2004-11-18 20:34:26 CET
Hmm, since I don't actually do anything, this should be in the netk-pager code.
I'll have a look.
Comment 2 Olivier Fourdan editbugs 2004-11-18 20:52:56 CET
I think the problem comes from the destroy/create of the pager widget when
orientation changes.

Why not simply using netk_pager_set_orientation () instead?

I think destroying the widget and creating a new one immediatly after can break
the update of the root property.

Cheers,
Olivier.


Comment 3 Jasper Huijsmans editbugs 2004-11-18 21:41:27 CET
Yup, you're right. I have absolutely no idea why it worked like that.

I'm thinking it may be left over from the time the pager and the switcher were
the same module... Xfce History Quiz: when were these plugins split up? Hint:
think years, not months.

Should be fixed now, thanks.

Bug #516

Reported by:
Olivier Fourdan
Reported on: 2004-11-18
Last modified on: 2010-11-20

People

Assignee:
Nick Schermer
CC List:
0 users

Version

Attachments

Additional information