LorenzoMorelli / GPU_profile_selector

A simple gnome shell extension which provides a simple way to switch between GPU profiles on Nvidia Optimus systems (i.e laptops with Intel + Nvidia or AMD + Nvidia configurations) in a few clicks. In particular this extension is a graphic interface for envycontrol program.
GNU General Public License v3.0
64 stars 8 forks source link

Restart Promted & Wrong Profile Indicated when User Authentication is Canceled #13

Open ledex opened 1 year ago

ledex commented 1 year ago

When changing the GPU profile and canceling the authentication, the user is still promoted to restart the system and the current GPU profile is indicated wrong. Switching from Hybrid to Nvidia for example and then canceling the authentication modal has the result that the GPU mode indicated in the extension is now Nvidia (Reboot needed), even though the change did not take place.

Adding a check if the authentication was successful might be senseful.