Xen-HTML icon indicating copy to clipboard operation
Xen-HTML copied to clipboard

Managing issue with overlapping notifications

Open Vitkarus opened this issue 3 years ago • 0 comments

First of all, thanks for making such a great app!

But there is still one problem, which, I think, has already been mentioned for sure. If widgets are placed on display in the center or bottom, then they are usually blocked by a notifications or music player. I recently wrote a widget and managed to change its position by using isPlaying and isStopped properties while playback is active, but, unfortunately, there are no functions to check are there any notifications on the screen. I've experimented with adding a widget to the background that will be covered by a disappearing wallpaper widget, on top of which there will be another widget, but this is definitely not the best workaround.

I thought about couple implications of this problem.

Maybe it would be possible to make a layer that would become not hidden but visible while notifications are on the screen. But this probably means that the technical widget will be duplicated on two layers.

Add additional setting to specify alternative coordinates for widget in case of notifications.

Add a property like isNotiShown = true/false. Yes, this doesn't actually give anything for end user, but will make it possible to fix issue by widget creator.

Vitkarus avatar Apr 28 '22 13:04 Vitkarus