ukui/kylin-nm

On Ubuntu Mate 20.04 wrong position

Opened this issue · 2 comments

First of all I congratulate you on your project.
I am on Ubunto 20.04 Mate Desktop. I tried kylin-nm applet from offical repo. I liked it. I use it in my Mate Desktop by launching it via dbus-launch kylin-nm. It looks sleek and run well. I wanted to try its latest version. I cloned this repo and built it. I don't know if it's an intended design or a bug, popup ui launches itself on the upper left part of the screen instead of lower right part of the screen. And it doesn't hide when I click outside of the ui, I have to click tray icon to hide it again.

In the 1.2.4 version of it it uses tray icons from Mate Icon Theme which I like
nm-signal-00
nm-signal-00-secure
nm-signal-25
nm-signal-25-secure
nm-signal-50
nm-signal-50-secure
nm-signal-75
nm-signal-75-secure
nm-signal-100
nm-signal-100-secure

Unfortunate kylin-nm-3.0.2 use its own icons. I wanted to insert those icons but I don't know how to implement it in the code.
Would you please help me?

I solved the icon theme issue by uncommenting

//QIcon::setThemeName("ukui-icon-theme-default");
and set the icon theme name.
But I still need to implement "hiding of window" on focus out.