felixhageloh / uebersicht

ˈyːbɐˌzɪçt
GNU General Public License v3.0
4.59k stars 165 forks source link

Cannot click items when on background layer #494

Closed mlcampbe closed 2 years ago

mlcampbe commented 2 years ago

I know it makes sense but wanting to see if anyone had any ideas.

I have a widget that retrieves an image from a URL and uses that as the background-image of a

resized such that it fits my screen size. Basically my own wallpaper app pulling images from custom locations. All of that works great.

Now I wanted to add a refresh button to the widget so that I can manually click it to get a new wallpaper. If I use the menu option to "send to background" then the icon is no longer clickable at all. If I leave the entire widget in the foreground I can click the icon and change the wallpaper but any desktop icons are all hidden now.

I am looking for a way to make a clickable icon from a widget that covers the entire screen and at the same time allow the desktop icons to show and be accessible as well. Any thoughts?

mlcampbe commented 2 years ago

Just to follow-up. I separated the downloaded image and the refresh button into 2 widgets. I put the image into a div in the background layer and the refresh icon in the foreground layer.