jkitching / soft-brightness-plus

Gnome-shell extension to manage your display brightness via an alpha overlay (instead of the backlight).
GNU General Public License v3.0
49 stars 10 forks source link

"quickSettings._brightness is undefined" error on login (Ubuntu 24.04) #22

Closed ad203amiar closed 6 months ago

ad203amiar commented 6 months ago

It exits with some kind of problem in ubuntu 24.04 upon startup. Once I have logged in I have to do a manual stop and start, then it will work until computer is restarted.

ad203amiar commented 6 months ago

In case it helps: May 04 09:24:33 Desktop gnome-shell[1814]: JS ERROR: TypeError: Main.panel.statusArea.quickSettings._brightness is undefined _enable@file:///home/"user"/.local/share/gnome-shell/extensions/soft-brightness-plus@joelkitching.com/extension.js:344:9 enable/this._enableTimeoutId<@file:///home/"user"/.local/share/gnome-shell/extensions/soft-brightness-plus@joelkitching.com/extension.js:316:22 @resource:///org/gnome/shell/ui/init.js:21:20

jkitching commented 6 months ago

Thanks for reporting this issue. Does this error still occur when you disable all other extensions?

On Sat, May 4, 2024, 17:16 ad203amiar @.***> wrote:

In case it helps: May 04 09:24:33 Desktop gnome-shell[1814]: JS ERROR: TypeError: Main.panel.statusArea.quickSettings._brightness is undefined @.:///home/"user"/.local/share/gnome-shell/extensions/ @./extension.js:344:9 @. https://github.com/file :///home/"user"/.local/share/gnome-shell/extensions/ @./extension.js:316:22 @resource https://github.com/resource :///org/gnome/shell/ui/init.js:21:20

— Reply to this email directly, view it on GitHub https://github.com/jkitching/soft-brightness-plus/issues/22#issuecomment-2094074802, or unsubscribe https://github.com/notifications/unsubscribe-auth/AAD5RF7POEFTCTZN2QW7JEDZASKN7AVCNFSM6AAAAABHFMIXX6VHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMZDAOJUGA3TIOBQGI . You are receiving this because you are subscribed to this thread.Message ID: @.***>

ad203amiar commented 6 months ago

yes. i disabled all other extensions including Ubuntu extensions in extension manager, and left only Soft Brightness Plus activated. then shutdown, and started, the result were the same .

jkitching commented 6 months ago

Hi @ad203amiar,

Would you mind trying this build to see if it fixes the issue?

soft-brightness-plus@joelkitching.com.v40-RC1.shell-extension.zip

Remove the existing extension first, and then install the ZIP version. You can use something like this:

gnome-extensions install --force FILENAME.ZIP
ad203amiar commented 6 months ago

Hi Joel, Yes it works, I turned off and started the computer twice anb both times Soft Brightness was started auomatically. Thank you.

Hälsningar

Amir


Från: Joel Kitching @.> Skickat: den 9 maj 2024 08:07 Till: jkitching/soft-brightness-plus @.> Kopia: ad203amiar @.>; Mention @.> Ämne: Re: [jkitching/soft-brightness-plus] Des not Start automatically on ubuntu 24.04. (Issue #22)

Hi @ad203amiarhttps://github.com/ad203amiar,

Would you mind trying this build to see if it fixes the issue?

@.***https://github.com/jkitching/soft-brightness-plus/files/15259444/soft-brightness-plus%40joelkitching.com.v40-RC1.shell-extension.zip

Remove the existing extension first, and then install the ZIP version. You can use something like this:

gnome-extensions install --force FILENAME.ZIP

— Reply to this email directly, view it on GitHubhttps://github.com/jkitching/soft-brightness-plus/issues/22#issuecomment-2102166166, or unsubscribehttps://github.com/notifications/unsubscribe-auth/BGFVLG4OBOXSLE24627UM5LZBMVFPAVCNFSM6AAAAABHFMIXX6VHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMZDCMBSGE3DMMJWGY. You are receiving this because you were mentioned.Message ID: @.***>

jkitching commented 6 months ago

Thanks for testing! v40 has been released with this fix, and is now published both on the "Releases" page and on extensions.gnome.org.