! 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 !
Add --view argument
Status:
RESOLVED: FIXED
Severity:
enhancement
Product:
Xfdashboard
Component:
General

Comments

Description Khazar 2015-08-17 14:00:18 CEST
As described on Bug 12141, I have a Panel Launcher of Xfdashboard.
The command xfdashboard --toggle does not display menu browser, unless Xfdashboard was closed while browsing the menu.

I want the Xfdashboard launcher button to always open the menu.
Comment 1 Stephan Haller editbugs 2015-08-17 14:12:15 CEST
Hi,

If I understood your problem right, then it should be easy to solve. Just open the xfdashboard settings at Settings -> Personal -> xfdashboard settings and set the option "Switch to view when resumed" to "Applications view". Then it should switch to this view, each time xfdashboard is called while running in daemon mode.

Regards,
Stephan
Comment 2 Khazar 2015-08-17 18:22:14 CEST
I want to see the menu only when I press on the Xfce panel launcher.

When I press Alt+F2, I want to see the regular or last used mode (normal behavior).
Comment 3 Stephan Haller editbugs 2015-08-18 08:17:09 CEST
Ok, you want to overwrite your configured view to restore on resume in the settings temporarily and once. I like this idea :)

But I think it would be better that to add a more general option like "--view <view's internal name>" to the command-line instead of an option called "--menu" for the applications view which is to special for one case. So in your case you would have to add "--view applications-view" to the command-line.

Yeah, I think I can do that ;) I will update this bug report when this new option has landed in git.
Comment 4 Khazar 2015-08-18 11:56:34 CEST
Thanks.
Comment 5 Stephan Haller editbugs 2015-08-25 13:13:26 CEST
Implemented in commits ff3886492e34554b7e4441c8798c01c99dc4e219 and fc17ce3c726ace049f1c0952ba3d8eff3bb5ebd9

If possible please check out latest git, compile and test it. Any feedback is welcome :)
Comment 6 Stephan Haller editbugs 2015-09-07 21:50:58 CEST
Implemented and released with version 0.5.1 so closing bug report.

Please open a new bug report if you have problems with this implementation.

Bug #12144

Reported by:
Khazar
Reported on: 2015-08-17
Last modified on: 2015-09-07

People

Assignee:
Stephan Haller
CC List:
0 users

Version

Version:
unspecified

Attachments

Additional information