Summary: | Bluetooth icon disappears from systray when selecting "Turn Bluetooth Off" | ||
---|---|---|---|
Product: | [Unmaintained] solid | Reporter: | Uros <infinity80> |
Component: | bluetooth-systray | Assignee: | Alex Fiestas <afiestas> |
Status: | RESOLVED FIXED | ||
Severity: | normal | CC: | dflogeras2, diego.ml, edwardiv1, hrvooje, johu, pprkut |
Priority: | NOR | ||
Version: | 4.12.1 | ||
Target Milestone: | --- | ||
Platform: | Gentoo Packages | ||
OS: | Linux | ||
Latest Commit: | http://commits.kde.org/bluedevil/806c978929cf27ea91b51e05b3e7d770c6fb8adb | Version Fixed In: | |
Sentry Crash Report: | |||
Attachments: |
Patch to fix the bug
Second attempt Third attempt 4th attempt 4th attempt |
Description
Uros
2013-05-06 08:03:21 UTC
See https://bugs.gentoo.org/show_bug.cgi?id=473008 for some info on how to workaround Thanks for info, but it's still a workaround. Updated related packages to 4.10.5 and the problem persists. ksystraycmd 4.10.5 solid 4.10.5 solid-runtime 4.10.5 libbluedevil 1.9.3 bluedevil 1.3.1 From the looks of it, It might actually be related to libbluedevil and bluedevil upgrades. Unfortunately older (lib)bluedevil versions are no longer in portage tree. Will try to fix for 1.3.2, thanks for reporting ! Updated related packages to bluedevil-1.3.2 and libbluedevil-1.9.4, but the problem persists. Some similar problems based on bug report @ https://bugs.gentoo.org/show_bug.cgi?id=473008 seem to be gone with this latest version. Based on some additional info, I can confirm that enabling adapter (ticking "powered" checkbox) from System Settings -> Bluetooth -> Adapters works and BT icon re-appears in systray. This is way more convenient than issuing command in console as root, but still.. bluetooth icon disappearing from systray when disabling adapter is not something that was happening before bluedevil-1.3.1 update. (In reply to comment #5) > Based on some additional info, I can confirm that enabling adapter (ticking > "powered" checkbox) from System Settings -> Bluetooth -> Adapters works and > BT icon re-appears in systray. This is way more convenient than issuing > command in console as root, but still.. bluetooth icon disappearing from > systray when disabling adapter is not something that was happening before > bluedevil-1.3.1 update. I have the same problem, but the icon still doesn't appear for me after ticking "powered". Fedora 19 with bluedevil: $ rpm -q bluedevil bluedevil-1.3.2-1.fc19.x86_64 (In reply to comment #6) > I have the same problem, but the icon still doesn't appear for me after > ticking "powered". > > Fedora 19 with bluedevil: > $ rpm -q bluedevil > bluedevil-1.3.2-1.fc19.x86_64 Fedora 19 updates provided KDE Workspaces 4.11.1 (over previous 4.10.5) and now the icon seems to appear / disappear correctly. I've just recently upgraded kde to 4.11.2 with bluedevil-1.3.2 and libbluedevil-1.9.4, but the problem still persists here. Alex, if you need some additional info, please let me know. I can't test 1.3.X code anymore since my distribution only offers BlueZ5, I tried to reproduce it with bluedevil2.0 and I can't :/ I guess that this is still happening? can you: -Check Turn Off bluetooth in the systemtray -Go to a terminal and write qdbus --system org.bluez -Paste the output from the terminal. Thanks ! Created attachment 84735 [details]
Patch to fix the bug
Created attachment 84736 [details]
Second attempt
Created attachment 84738 [details]
Third attempt
Created attachment 84739 [details]
4th attempt
Created attachment 84740 [details]
4th attempt
Tried provided mono2 and mono3 patches against bluedevil-1.3.2. In both cases, BT icon now stays in systray when adapter is disabled. I consider this issue fixed (at least on my system) . Thank you! Can you try with mono4? specially starting bluedevil-monolithic with bluetooth turned off. Thanks ! (In reply to comment #15) > Tried provided mono2 and mono3 patches against bluedevil-1.3.2. > In both cases, BT icon now stays in systray when adapter is disabled. > I consider this issue fixed (at least on my system) . > Thank you! I've tried mono4 with bluetooth turned off but systray icon is set as "active". I guess that's not just right.. ... also, cannot "turn bluetooth off" from systray until I re-enable adapter from console / system settings. Some additional info from qdbus --system org.bluez as you've requested. When adapter is "up" : / /org /org/bluez /org/bluez/32055 /org/bluez/32055/any /org/bluez/32055/hci0 /org/bluez/32055/hci0/dev_XX_XX_XX_XX_XX_XX /org/bluez/test When adapter is "down" : / /org /org/bluez /org/bluez/32055 /org/bluez/32055/any /org/bluez/32055/hci0 /org/bluez/32055/hci0/dev_XX_XX_XX_XX_XX_XX I still have the opposite behavior with mono4. When starting with bluetooth disabled, clicking "Turn Bluetooth On" does not update the systray icon and it never reflects it actually being powered. If started with bluetooth enabled, everthing works as expected. I have the same problem as originally reported in KDE 4.12.1: Bluetooth icon disappears from systray when selecting "Turn Bluetooth Off" > qdbus --system org.bluez
/
/org
/org/bluez
/org/bluez/764
/org/bluez/764/any
/org/bluez/764/hci0
/org/bluez/test
Upgrading to bluedevil-2.0_rc1 seems to fix all the issues I experienced with bluedevil-1.3.2 when built without your latest patch. Git commit 806c978929cf27ea91b51e05b3e7d770c6fb8adb by Àlex Fiestas. Committed on 09/03/2014 at 01:35. Pushed by afiestas into branch 'master'. Show always the KStatusNotifier (Status == Active) The KDED will kill the monolithic in case there are no adapters so in that case we won't polute the systemtray with the Bluetooth icon. In the case there there are Adapters but they are not powered we want to show the systemtray so it can be powered on again. M +2 -2 src/monolithic/monolithic.cpp http://commits.kde.org/bluedevil/806c978929cf27ea91b51e05b3e7d770c6fb8adb Git commit 806c978929cf27ea91b51e05b3e7d770c6fb8adb by Àlex Fiestas. Committed on 09/03/2014 at 01:35. Pushed by afiestas into branch 'master'. Show always the KStatusNotifier (Status == Active) The KDED will kill the monolithic in case there are no adapters so in that case we won't polute the systemtray with the Bluetooth icon. In the case there there are Adapters but they are not powered we want to show the systemtray so it can be powered on again. M +2 -2 src/monolithic/monolithic.cpp http://commits.kde.org/bluedevil/806c978929cf27ea91b51e05b3e7d770c6fb8adb Works perfectly here one bluez 5.15 and (lib)bluedevil-2.0_rc1. Thanks! I use Kubuntu 14.10 and KDE Plasma 4.14.1 on HP Probook 4520s. When I click on bluetooth icon and than try to turn it off, nothing happens. And than I go on configure and the message appears "Your default Bluetooth adapter is not visible for remote devices. Fix it." And after I do "sudo /etc/init.d/bluetooth restart", the icon dissappears after "turn off bluetooth" and it comes back after I check box "Powered" in system settings |