Skip to content
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

firewall applet icon does not appear in Plasma 5 system tray #23

Closed
t-woerner opened this issue Jun 3, 2015 · 15 comments
Closed

firewall applet icon does not appear in Plasma 5 system tray #23

t-woerner opened this issue Jun 3, 2015 · 15 comments

Comments

@t-woerner
Copy link
Collaborator

KDE5 is not supporting old style Gtk applets any more. Only appindicator enhanced Gtk applets or Qt applets are working.

Reference: https://bugzilla.redhat.com/show_bug.cgi?id=1218760

@t-woerner
Copy link
Collaborator Author

There are some issues with appindicator:

  • Only one menu possible for the applet. No support for context menus with the right click.
  • Existing icons are not shown in Xfce for example without any error. If icon names are used that do not exist, then the "missing icon" is shown.

@t-woerner t-woerner added this to the firewalld-0.3.14 milestone Jun 3, 2015
@phocean
Copy link

phocean commented Jun 8, 2015

+1 It would be nice to have a solution for KDE 5. Thanks.

@t-woerner
Copy link
Collaborator Author

There is a new firewall-applet version in the qt-gui branch: https://github.com/t-woerner/firewalld/blob/qt-gui/src/firewall-applet-qt

Please give this a try and report back if this is working for you.

@rdieter
Copy link

rdieter commented Jun 9, 2015

I can confirm that one works as advertised, thanks, though long-term I'd recommend you consider using qt5 python bindings (fedora pkg python-qt5) instead of qt4 (fedora pkg PyQt4).

@phocean
Copy link

phocean commented Jun 9, 2015

Thanks a lot. It loads, however I get a message like "no connection to the firewall daemon".
Of course, firewalld is active and running (systemctl status firewalld.service).
Am I missing something ?

@t-woerner
Copy link
Collaborator Author

@phocean What is the output of "firewall-cmd --state"?

@phocean
Copy link

phocean commented Jun 9, 2015

Here it is:

% firewall-cmd --state
running

@gbcox
Copy link

gbcox commented Jun 9, 2015

Great, works for me. Thanks very, very much! That little applet makes a big difference;
and you don't really notice until it is missing...
I'd also echo what Rex said about qt5 python bindings. Since this whole issue
reared its head because of Plasma 5, makes perfect sense.

@t-woerner
Copy link
Collaborator Author

@phocean this is strange - firewall-cmd and also firewall-applet* are using FirewallClient to talk to firewalld. Have you started firewall-applet-qt in a special way?

@t-woerner
Copy link
Collaborator Author

@rdieter I also have a QT5 version of this applet, but it behaves different in KDE5 and is not working as expected: There are no menues at all.

@jpopelka
Copy link
Collaborator

Works for me too 👍

@gbcox
Copy link

gbcox commented Jun 11, 2015

@t-woerner Can you post a link to the Qt5 version?

@t-woerner
Copy link
Collaborator Author

@gbcox Here it is: https://github.com/t-woerner/firewalld/blob/qt-gui/src/firewall-applet-qt5

It is simply a port of the Qt4 version to Qt5.

@t-woerner
Copy link
Collaborator Author

@gbcox Please open an new issue for the Qt5 applet if needed

@t-woerner
Copy link
Collaborator Author

Closing this issue as it has been solved with the Qt4 applet

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

5 participants