kotelnik / plasma-applet-active-window-control

Plasma 5 applet for controlling currently active window.
GNU General Public License v2.0
119 stars 18 forks source link

Does not support aurorae decoration themes with .svgz files #76

Closed kennethso168 closed 7 years ago

kennethso168 commented 7 years ago

Hi, I had a look of 119446a. I found that the file extensions of the custom theme are hardcoded to ".svg"

property string buttonImagePath: customAuroraeThemePath ? customAuroraeThemePath + '/' + 
iconName + '.svg' : Qt.resolvedUrl('../icons/' + themeName + '/' + iconName + '.svg')

This will make it not work on themes with .svgz files, like Arc KDE

I also tried with the latest version with Arc Dark theme. The window controls are missing. But the buttons are shown correctly if I rename all .svgz files in the aurorae theme manually to .svg. Thank you.

kotelnik commented 7 years ago

It should now be supported - I've added a selectbox for the extension (in settings). This was the simplest way for now. Eventually I'd like to implement more convenient way of selecting a theme...

kotelnik commented 7 years ago

Oh and thanks for reporting! Please reopen this if the problem persists.