timothycrosley / streamdeck-ui

A Linux compatible UI for the Elgato Stream Deck.
https://timothycrosley.github.io/streamdeck-ui/
MIT License
1.14k stars 242 forks source link

It'd be nice if I could see the actual icons when selecting one. #256

Closed pblanton closed 2 years ago

pblanton commented 2 years ago

When I click the [Image...] button to assign an image to a StreamDeck button, the "Open Image" dialog opens up but there isn't an option for me to see my images. I have to know what they are by their names...

image

I'd like to have more view options for showing the icons and adjusting the size that they are rendered in the "Open Image" dialog. Here is the same folder as displayed in Dolphin...

image

BTW, I am running Kubuntu 22.04. Maybe this works properly in Gnome? But it's a sub-optimal experience in KDE.

pblanton commented 2 years ago

In Dolphin, this button ...

image

Shows the images, but in the "Open Image" dialog in Stream Deck UI, it doesn't. The top image in my first post shows what it does in the "Open Image" dialog.

I have a little experience with QT and have branched the code and am willing to experiment to see if I can modify the behavior. I haven't spent any time looking at the code yet. If you could give me some quick pointers where to look in the code that'd help.

If I can fix it, then I'll submit a pull req.

dodgyrabbit commented 2 years ago

I had a look and unfortunately the file selection dialog in PySide does not offer this feature. One would have to extend or write your own file selector, which is hardly worth the effort.

However, please note you can drag-drop images from your file explorer (Nautilus/Dolphin) onto the buttons - which gives you visual of the images while selecting.

I liked the idea though, thanks for the suggestion.