vinifmor / bauh

Graphical user interface for managing your Linux applications. Supports AppImage, Debian and Arch packages (including AUR), Flatpak, Snap and native Web applications
zlib License
931 stars 71 forks source link

Focus stealing with a restart dialogue #328

Open Templayer opened 1 year ago

Templayer commented 1 year ago

I was just in the middle of writing a Teams (mandated by work) message, and just as I used the keyboard to send the message, bauh stole the focus with a dialogue asking if I want to restart after updating.

Which then restarted the computer without me really wanting to do that. :D

Preferred solution: A "Disable restart dialog" setting in settings. Maybe make a info text somewhere on the GUI (there are a few places where that could be shown) that says that "For all changes to apply, please restart your computer.", similar to the way the APK/DEB Store (Mint/Ubuntu) does it (and that would happen if the restart dialog is disabled).

Focus stealing is evil. Focus stealing with the user losing data from it is heresy. :D

vinifmor commented 1 year ago

Hi @Templayer , you are able to disable the restart dialog through Settings -> General -> Reboot After Upgrade ?

Templayer commented 12 months ago

Hi @Templayer , you are able to disable the restart dialog through Settings -> General -> Reboot After Upgrade ?

Ah, I'm blind! Thank you.

Even though implementing it in a less focus-stealing manner would still be nice. :P