You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I've never been able to predict the panel plugins' numbering when adding plugins. It presents no significant issue to the end user, but they may be confused by the numbering displayed in Configure Panel -> Widgets. It also confuses people who look at ~/.config/panel.conf.
Expected Behavior
Plugin numbering when adding new plugins coincides with what exists in panel.conf
Current Behavior
Plugin numbering when adding new plugins is hard to predict. (May be fixed by restarting the panel after deleting plugins.)
Possible Solution
Read panel.conf upon adding a new plugin.
Steps to Reproduce (for bugs)
Remove all panels but one and remove all plugins.
Check ~/.config/lxqt/panel.conf and confirm the only sections are [General] and one for the panel.
Manage Widgets -> Add -> and add one of every plugin type.
Observe how about half of the plugins say "2" (e.g. "volume2"), despite no others existing.
System Information
LXQt Version: git
Distribution & Version: Arch Linux
Qt Version: 6.7.2
liblxqt Version: git
The text was updated successfully, but these errors were encountered:
Yes, it was also weird to me many years ago, but since there was no real problem, I overlooked its ugliness. I might not find the time to look into it soon but will review PRs.
What it going on that causes, e.g. volume2 instead of volume, is that QStringList groups = mPanel->settings()->childGroups(); is including /usr/share/lxqt/panel.conf's group names in its list.
I've never been able to predict the panel plugins' numbering when adding plugins. It presents no significant issue to the end user, but they may be confused by the numbering displayed in Configure Panel -> Widgets. It also confuses people who look at
~/.config/panel.conf
.Expected Behavior
Plugin numbering when adding new plugins coincides with what exists in panel.conf
Current Behavior
Plugin numbering when adding new plugins is hard to predict. (May be fixed by restarting the panel after deleting plugins.)
Possible Solution
Read panel.conf upon adding a new plugin.
Steps to Reproduce (for bugs)
System Information
The text was updated successfully, but these errors were encountered: