! 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 !
'Sticky' hiding button to allow toggling of autohide on a panel
Status:
RESOLVED: MOVED
Severity:
enhancement
Product:
Xfce4-panel

Comments

Description hiddenfoxling 2012-11-18 09:29:46 CET
Instead of having users go through several menus to toggle a checkbox to enable or disable the autohide function, perhaps having a button you can add to a panel which is contextually linked to that panel would increase work flow productivity. This would allow users to select if they wish to be distracted, by say a indicator icon in thier current work, or have the bar hide away when something needs thier attention. A good example of use for this is for people with small screens, or those who wish to play a game as large as possible but wish to keep an eye on the bar from time to time. Currently to switch between the two needs far too many steps. I'm not sure a plugin could do this directly, but this feature isn't in any of the UI's I certainly have worked with. I think XFCE4 is the perfect place for it as well because it focuses so well on systems with limited resources.
Comment 1 hiddenfoxling 2012-11-28 22:09:52 CET
Created attachment 4764 
A program that toggles autohide using xfconf-query, but only affects panel-0.

In the mean time, I discovered a way to do this through xfconf-query. It only works with panel-0, so if you have more than one panel, you will need to modify the program for it to work. In lieu of a more elegant solution in the actual code that understands context of which panel it is on, this solution does work.
Comment 2 hiddenfoxling 2012-12-06 11:25:20 CET
Created attachment 4781 
Version 2, requires input of: Panel ID number, Launcher Position Number, Autohide Icon Name, Always Visible Icon Name

Usage example:
In launcher in location 0 of panel 0, put this script as the command. 
[path to script]/xfce4_toggle_autohide.py 0 0 changes-prevent changes-allow

Parameter 1 is Panel id
Parameter 2 is launcher position on this panel
Parameter 3 is the name of the icon used when the state of Autohide is set to true (aka hiding)
Parameter 4 is the name of the icon used when the state of Autohide is set to false (aka always visible)
Comment 3 Git Bot editbugs 2020-05-28 01:43:58 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/46.

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

Reported by:
hiddenfoxling
Reported on: 2012-11-18
Last modified on: 2020-05-28

People

Assignee:
Nick Schermer
CC List:
1 user

Version

Version:
Unspecified

Attachments

Additional information