maniacx / Bluetooth-Battery-Meter

A Gnome extension featuring indicator icons in system tray, serving as meter for Bluetooth device battery levels and providing detailed battery levels via icon/text in the Bluetooth quick settings menu.
https://extensions.gnome.org/extension/6670/bluetooth-battery-meter/
GNU General Public License v3.0
104 stars 11 forks source link

Extension crashes after unlocking #13

Closed Scotty-Trees closed 9 months ago

Scotty-Trees commented 9 months ago

Greetings and thank you for this great extension,

I'm using version 5 right now, and every time I lock my laptop and then unlock, the extension crashes. Here's the error it shows from Extension Manager. I am on Fedora 39 Gnome 45.3 on Wayland. Please let me know if you need any additional information.

Screenshot from 2024-01-20 17-17-27

My system info:

---

## Report details
- **Date generated:**                              2024-01-20 17:20:49

## Hardware Information:
- **Hardware Model:**                              Acer Aspire E5-576G
- **Memory:**                                      16.0 GiB
- **Processor:**                                   Intel® Core™ i5-8250U × 8
- **Graphics:**                                    Intel® UHD Graphics 620 (KBL GT2)
- **Graphics 1:**                                  NVIDIA GeForce MX150
- **Disk Capacity:**                               256.1 GB

## Software Information:
- **Firmware Version:**                            V1.32
- **OS Name:**                                     Fedora Linux 39 (Workstation Edition)
- **OS Build:**                                    (null)
- **OS Type:**                                     64-bit
- **GNOME Version:**                               45.3
- **Windowing System:**                            Wayland
- **Kernel Version:**                              Linux 6.6.11-200.fc39.x86_64
maniacx commented 9 months ago

Thank you for reporting this. I have added checks this._desktopSettings. Can you please test the updated version on Github?

Scotty-Trees commented 9 months ago

I'm sorry I didn't see any instructions here on how to manually install, so I downloaded the .zip file when you press the green Code button on your main page, I extracted it and moved the folder to my gnome-shell extensions folder where my other extensions are, logged out and back in, but I do not see the extension show up in Extension Manager.

Is there a proper way to manually install your extension so I can test it? Appreciate the help, thank you.

maniacx commented 9 months ago

Yes. Run ./install.sh

Scotty-Trees commented 9 months ago

Thanks for the instructions. Perhaps maybe include that part of your ReadMe.md file for manually installations. I look at other extension GitHubs and all of them have very slight different way to do it.

I did what you suggested, downloaded, extracted, installed, logged out/in again and then tested it during lock/unlock and now everything is working good again, thank you for the quick fix. Glad it was a simple fix! You may close this issue at your earliest convenience.

maniacx commented 9 months ago

Great. Thank you for reporting. I will submit for a new version on Gnome extension website