ssr icon indicating copy to clipboard operation
ssr copied to clipboard

Tray icon not showing the icon specific to the action start/stop/pause recording in Fedora 32

Open novicejava1 opened this issue 4 years ago • 7 comments

HI Maarten,

Its seems the tray icon which shown whether the recording is Started, Stopped or Paused is not showing in Fedora 32 workstation x86_64. I have the same package installed on Fedora 31 workstation x86_64 and its working fine. Thought i would post this here if you could you look into it

Thanks.

novicejava1 avatar Oct 10 '20 06:10 novicejava1

SSR uses the standard system tray functionality provided by Qt. If this doesn't work properly for your desktop environment, it's probably a bug or limitation of Qt, so there's very little I can do. You could try updating Qt, or switching between Qt4 and Qt5 to see if this makes a difference.

MaartenBaert avatar Oct 10 '20 21:10 MaartenBaert

Hi Maarten, I tried to downgrade the Qt packages but that didnt helped. After further looking it seems in Fedora 31 the below default icons where available in the theme's specfic folder that is active on my destop

[root@fed31 icons]# find . -name simplescreenrecorder-* | grep -v hicolor ./Mint-Y/panel/24/simplescreenrecorder-idle.svg ./Mint-Y/panel/24/simplescreenrecorder-paused.svg ./Mint-Y/panel/24/simplescreenrecorder-recording.svg ./Mint-Y/panel/24/simplescreenrecorder-panel.svg ./Mint-Y/panel/24/simplescreenrecorder-error.svg

But when i check the same on Fedora 32 in the default theme icons folder there was only one default png file which was loading for every operation (eg recording, pausing etc)

[root@fed32 apps]# pwd /usr/share/icons/Mint-Y/apps/ [root@fed32 apps]# find . -name simplescreenrecorder* ./22@2x/simplescreenrecorder.png ./256/simplescreenrecorder.png ./64@2x/simplescreenrecorder.png ./96@2x/simplescreenrecorder.png ./16@2x/simplescreenrecorder.png ./24@2x/simplescreenrecorder.png

I tried to copy the the png images from your packaged rpm into the theme specific folder and was able to get the correct tray icon status for every action on the application.

But one thing i don't understand how these default icon files are getting into the theme specific folder which are different from the ones that your application packages (ie. under /usr/share/icons/hicolor//apps/).

novicejava1 avatar Dec 13 '20 16:12 novicejava1

Some themes are providing custom icons for SSR, but do not provide separate icons for the system tray. Normally SSR should fall back to the default icons in the 'hicolor' theme, but because of weird icon search rules there are a few ways this can go wrong. I think the most common one is when themes do not inherit from the 'hicolor' theme as they are supposed to do. There are also some issues related to icon themes which provide some sizes of an icon but not all of them or provide only an SVG version but no PNG version(s). I would need to see a complete list of all SSR-related icons in the /usr/share/icons folder, as well as the index.theme file of the icon theme you are using to figure out what's going wrong.

MaartenBaert avatar Dec 14 '20 21:12 MaartenBaert

Please find the below gist url with listing of simplescreenrecorder filtered under /usr/share/icons along with index file output.

https://gist.github.com/novicejava1/1efaecb369d533cd0788582634fbc025

novicejava1 avatar Dec 15 '20 02:12 novicejava1

That's strange, I don't see anything wrong with your icon folder. The icons are in the expected location (in the hicolor theme) and the mint-y index file inherits from hicolor. In theory this should work. It must be a bug either in Qt or in the panel that's supposed to display the icons. I'm afraid there's not much I can do.

The easiest solution would be to copy the icons to the Mint-Y folder like you did, or perhaps add some symlinks.

MaartenBaert avatar Dec 20 '20 23:12 MaartenBaert

I'm having the same issue. Linux Mint 20-20.1 Mate 64 masac@masac-BOHK-WAX9X:/usr/share/icons$ pwd /usr/share/icons masac@masac-BOHK-WAX9X:/usr/share/icons$ find . -name simplescreenrecorder* ./Mint-X/apps/24/simplescreenrecorder.png ./Mint-X/apps/96/simplescreenrecorder.svg ./Mint-X/apps/16/simplescreenrecorder.png ./Mint-X/apps/48/simplescreenrecorder.png ./Mint-X/apps/22/simplescreenrecorder.png ./Mint-X/apps/32/simplescreenrecorder.png ./Mint-Y/apps/24/simplescreenrecorder.png ./Mint-Y/apps/96/simplescreenrecorder.png ./Mint-Y/apps/16/simplescreenrecorder.png ./Mint-Y/apps/48/simplescreenrecorder.png ./Mint-Y/apps/32@2x/simplescreenrecorder.png ./Mint-Y/apps/96@2x/simplescreenrecorder.png ./Mint-Y/apps/24@2x/simplescreenrecorder.png ./Mint-Y/apps/64@2x/simplescreenrecorder.png ./Mint-Y/apps/48@2x/simplescreenrecorder.png ./Mint-Y/apps/22@2x/simplescreenrecorder.png ./Mint-Y/apps/256@2x/simplescreenrecorder.png ./Mint-Y/apps/256/simplescreenrecorder.png ./Mint-Y/apps/22/simplescreenrecorder.png ./Mint-Y/apps/64/simplescreenrecorder.png ./Mint-Y/apps/16@2x/simplescreenrecorder.png ./Mint-Y/apps/32/simplescreenrecorder.png ./hicolor/scalable/apps/simplescreenrecorder-idle.svg ./hicolor/scalable/apps/simplescreenrecorder-error.svg ./hicolor/scalable/apps/simplescreenrecorder-recording.svg ./hicolor/scalable/apps/simplescreenrecorder.svg ./hicolor/scalable/apps/simplescreenrecorder-paused.svg ./hicolor/48x48/apps/simplescreenrecorder.png ./hicolor/48x48/apps/simplescreenrecorder-paused.png ./hicolor/48x48/apps/simplescreenrecorder-idle.png ./hicolor/48x48/apps/simplescreenrecorder-error.png ./hicolor/48x48/apps/simplescreenrecorder-recording.png ./hicolor/192x192/apps/simplescreenrecorder.png ./hicolor/192x192/apps/simplescreenrecorder-paused.png ./hicolor/192x192/apps/simplescreenrecorder-idle.png ./hicolor/192x192/apps/simplescreenrecorder-error.png ./hicolor/192x192/apps/simplescreenrecorder-recording.png ./hicolor/128x128/apps/simplescreenrecorder.png ./hicolor/128x128/apps/simplescreenrecorder-paused.png ./hicolor/128x128/apps/simplescreenrecorder-idle.png ./hicolor/128x128/apps/simplescreenrecorder-error.png ./hicolor/128x128/apps/simplescreenrecorder-recording.png ./hicolor/64x64/apps/simplescreenrecorder.png ./hicolor/64x64/apps/simplescreenrecorder-paused.png ./hicolor/64x64/apps/simplescreenrecorder-idle.png ./hicolor/64x64/apps/simplescreenrecorder-error.png ./hicolor/64x64/apps/simplescreenrecorder-recording.png ./hicolor/24x24/apps/simplescreenrecorder.png ./hicolor/24x24/apps/simplescreenrecorder-paused.png ./hicolor/24x24/apps/simplescreenrecorder-idle.png ./hicolor/24x24/apps/simplescreenrecorder-error.png ./hicolor/24x24/apps/simplescreenrecorder-recording.png ./hicolor/32x32/apps/simplescreenrecorder.png ./hicolor/32x32/apps/simplescreenrecorder-paused.png ./hicolor/32x32/apps/simplescreenrecorder-idle.png ./hicolor/32x32/apps/simplescreenrecorder-error.png ./hicolor/32x32/apps/simplescreenrecorder-recording.png ./hicolor/96x96/apps/simplescreenrecorder.png ./hicolor/96x96/apps/simplescreenrecorder-paused.png ./hicolor/96x96/apps/simplescreenrecorder-idle.png ./hicolor/96x96/apps/simplescreenrecorder-error.png ./hicolor/96x96/apps/simplescreenrecorder-recording.png ./hicolor/256x256/apps/simplescreenrecorder.png ./hicolor/256x256/apps/simplescreenrecorder-paused.png ./hicolor/256x256/apps/simplescreenrecorder-idle.png ./hicolor/256x256/apps/simplescreenrecorder-error.png ./hicolor/256x256/apps/simplescreenrecorder-recording.png ./hicolor/22x22/apps/simplescreenrecorder.png ./hicolor/22x22/apps/simplescreenrecorder-paused.png ./hicolor/22x22/apps/simplescreenrecorder-idle.png ./hicolor/22x22/apps/simplescreenrecorder-error.png ./hicolor/22x22/apps/simplescreenrecorder-recording.png ./hicolor/16x16/apps/simplescreenrecorder.png ./hicolor/16x16/apps/simplescreenrecorder-paused.png ./hicolor/16x16/apps/simplescreenrecorder-idle.png ./hicolor/16x16/apps/simplescreenrecorder-error.png ./hicolor/16x16/apps/simplescreenrecorder-recording.png

masac avatar Jan 09 '21 16:01 masac

Same issue on Linux Mint 20.01 Cinnamon. When I start record screencast, the icon in tray menu doesn’t change to red dot.

online avatar May 08 '21 21:05 online