! 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 !
(xfce4-generic-slider) Compatibility with Xfce4-panel 4.9+
Status:
RESOLVED: FIXED
Product:
Xfce4-generic-slider
Component:
general

Comments

Description Andrzej editbugs 2012-02-24 08:35:41 CET
xfce4-generic slider does not rotate its label in the vertical mode and does not resize correctly when the panel orientation/mode changes.

Note that xfce4-panel v.4.9.0+ has 2 vertical modes: a deskbar mode with labels oriented horizontally, and a vertical mode where all labels are supposed to be oriented vertically.

More details:
http://wiki.xfce.org/releng/4.10/roadmap/xfce4-panel
https://wiki.xfce.org/dev/panel-deskbar-mode
Comment 1 Andrzej editbugs 2012-02-24 08:42:16 CET
Created attachment 4234 
Label orientation, resizing after panel orientation change.

I tried to keep the changes minimum. Perhaps orientation_changed (mode_changed) callbacks could be refactored in order to avoid duplication of code.

Also (just a comment), it is not necessary to remove a Gtk(V/H)Box and add it again to change its orientation. It can be done with:

gtk_orientable_set_orientation(GTK_ORIENTABLE(box), xfce_panel_plugin_get_orientation(plugin));
Comment 2 Connor Behan 2012-03-01 05:55:14 CET
I made the code shared between the two callbacks and used your suggestion about changing the orientation. Let me know if I messed something up.
Comment 3 Andrzej editbugs 2012-03-01 08:38:27 CET
Work well here (with xfce4-panel 4.9). Thanks.

Bug #8503

Reported by:
Andrzej
Reported on: 2012-02-24
Last modified on: 2012-03-01

People

Assignee:
Connor Behan
CC List:
0 users

Version

Version:
unspecified

Attachments

Additional information