-
Notifications
You must be signed in to change notification settings - Fork 18
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
[Request] VPN menu #3
Comments
Fair request, but as you can see nm-tray is still in some kind of "proof of concept" phase and there are many other "core" things to do/polish. So I think the VPN stuff will not be added in soon future. |
In fact it's quite nice working as "proof of concept". I just started using it and it's ok. Know you have the schedule for features, but try to include VPN after most important features. |
@nbvcxz I don't use VPNs configured by NetworkManager... but do you have a preconfigured VPN connection? Did you try to activate it by (double)clicking on the treeview "All information" in "Debug information" dialog? |
I got preconfigured (with NetwokManager) and saved VPN connection setup. It is visible in Debug information → All information → connection(s), but double clicking at it has no action (single or any other too). When I am connected to VPN it is "connection list" (left click on tray icon) at the top of available wifi networks. Clicking it disconnects as supposed to be. |
I believe, this is fixed in current master. If not, please, reopen ... |
Sorry for very late answer. I just now have been able to compile and test the latest code. So now it is quite fine (not perfect, but enough to use it). The VPN connections are displayed in the list. The one drawback is: the connection list is wrapped into 2 columns and it is placed right-top of display. But the functionality is OK. Summarizing: confirmed VPN menu works !! |
@nbvcxz Great...thanks for testing.
All the "menu lists" (active connections, wifis, connections) show up to 10 (hardcoded) items... Is this too much? Or should we make that configurable? |
Huh... it seems like some Qt style engines (like kvantum here) aren't using/painting the text of menu separators. @tsujan can you, please, have a look on this? Should/must the style engine use the text of "separator" |
@palinek I haven't seen a Qt style engine that shows the text of a menu separator. Kvantum can draw a separator but just shows an empty space if the separator SVG element isn't present (that's the case in all themes that come with Kvantum -- menus are more elegant with spaces instead of separators, IMO). All Qt styles show menu titles though (as in LXQt Panel right-click menu or some KDE menus). |
BTW, a menu title is a toolbutton whose parent is the menu. |
Funny...I just tested the fusion & breeze and both were painting the text. |
Heh... my mistake.... I wrote about separator... but thought of a section But as the doc says |
There are various ways to do so. For example: QLabel *l = new QLabel("<center><b><i>A Title</i></b></center>");
QWidgetAction *sep = new QWidgetAction(myMenu);
sep->setDefaultWidget(l);
myMenu->insertAction(thisItem, sep); Which results in something like this: |
Just to confirm - now r67.443b117-1 everything looks fine. Great work !! And IMO it's time for 1.00 release as it is fully functional now. |
Is it normal that it is not possible to add a VPN using nm-tray (it is not listed in "Edit connections" when we click on "Add" so we have to use nm-connection-editor) and to connect to a VPN using nm-tray, the program nm-applet has to run in background? |
As you stated later,
No it doesn't need to be run.
There is an open issue about that -> #23 |
Just wanted to add a little note to that last comment that the external command can be configured in |
As nm-tray is great small piece of software, please keep in mind to add the vpn feature for this eg. start stop preconfigured vpn (as already in gtk version). (thumbsup) #
The text was updated successfully, but these errors were encountered: