Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Bluetooth icon disapeared #64

Closed
junocomp opened this issue Oct 1, 2018 · 16 comments · Fixed by elementary/wingpanel#187
Closed

Bluetooth icon disapeared #64

junocomp opened this issue Oct 1, 2018 · 16 comments · Fixed by elementary/wingpanel#187

Comments

@junocomp
Copy link

junocomp commented Oct 1, 2018

Juno

Wingpanel-indicator-bluetooth is installed. Everything works fine from switchboard as well. For some reason the icon is missing.

screenshot from 2018-10-01 18 26 46

$ rfkill list
0: hci0: Bluetooth
Soft blocked: no
Hard blocked: no
1: phy0: Wireless LAN
Soft blocked: yes
Hard blocked: no

@worldofpeace
Copy link
Contributor

I noticed this also, however it was not consistently gone (after restarting wingpanel it reappeared).
Will observe if it disappears again.

Only change I see to that icon recently was elementary/icons@03df05c

@danirabbit
Copy link
Member

If you reproduce the issue, can you use Gtk Inspector to see what icon name is being requested by the panel? If it's something that's not in the icon set, then we know the issue is there, but if it's null or empty then we know the issue is here in the indicator

@rasmus91
Copy link

I'm having this same problem, occurred after coming out of suspend.

@worldofpeace
Copy link
Contributor

Haven't had time to dig with the gtk inspector but I've been able to reproduce this every time with systemctl restart bluetooth.

@peteruithoven
Copy link
Collaborator

Any change you guys all use the wingpanel-indicator-ayatana ?
Because this issue might be related: elementary/wingpanel#163

@worldofpeace
Copy link
Contributor

Any change you guys all use the wingpanel-indicator-ayatana ?
Because this issue might be related: elementary/wingpanel#163

No, and it is realized when I look in the gtk inspector.

@ggogobera
Copy link

screenshot from 2018-10-20 20-54-13

This is happening in my case... I thought if I turned battery percentage off, it would be fixed but no difference

@knorquist
Copy link

It disappears after returning from suspend for me. Sometimes the icon is completely gone, and sometimes I can still see a little like @ggogobera.

screenshot from 2018-10-20 09-57-35
screenshot from 2018-10-25 11-54-43

This is a fresh install so I'm not really sure what's going on.

@Yansen92
Copy link

Having the same issue. Clicking the blank space still pulls up Bluetooth menu.

screenshot from 2018-10-30 13 57 48

@peteruithoven
Copy link
Collaborator

I added some logging to set_icon and update_icon when starting wingpanel I get:

** (wingpanel:25230): DEBUG: 21:45:02.687: DisplayWidget.vala:54: set_icon
** (wingpanel:25230): DEBUG: 21:45:02.687: DisplayWidget.vala:58: not realized
** (wingpanel:25230): DEBUG: 21:45:02.692: DisplayWidget.vala:65: update_icon
** (wingpanel:25230): DEBUG: 21:45:02.692: DisplayWidget.vala:66:   object_manager.is_powered: false
** (wingpanel:25230): DEBUG: 21:45:02.692: DisplayWidget.vala:67:   object_manager.is_connected: false
** (wingpanel:25230): DEBUG: 21:45:02.692: DisplayWidget.vala:83:   clases:
** (wingpanel:25230): DEBUG: 21:45:02.692: DisplayWidget.vala:85:     disabled
** (wingpanel:25230): DEBUG: 21:45:02.692: DisplayWidget.vala:85:     bluetooth-icon
** (wingpanel:25230): DEBUG: 21:45:03.290: DisplayWidget.vala:54: set_icon
** (wingpanel:25230): DEBUG: 21:45:03.290: DisplayWidget.vala:65: update_icon
** (wingpanel:25230): DEBUG: 21:45:03.290: DisplayWidget.vala:66:   object_manager.is_powered: true
** (wingpanel:25230): DEBUG: 21:45:03.290: DisplayWidget.vala:67:   object_manager.is_connected: false
** (wingpanel:25230): DEBUG: 21:45:03.290: DisplayWidget.vala:83:   clases:
** (wingpanel:25230): DEBUG: 21:45:03.290: DisplayWidget.vala:85:     bluetooth-icon

after running systemctl restart bluetooth I got:

** (wingpanel:25230): DEBUG: 21:45:20.285: DisplayWidget.vala:54: set_icon
** (wingpanel:25230): DEBUG: 21:45:20.285: DisplayWidget.vala:65: update_icon
** (wingpanel:25230): DEBUG: 21:45:20.285: DisplayWidget.vala:66:   object_manager.is_powered: false
** (wingpanel:25230): DEBUG: 21:45:20.285: DisplayWidget.vala:67:   object_manager.is_connected: false
** (wingpanel:25230): DEBUG: 21:45:20.285: DisplayWidget.vala:83:   clases:
** (wingpanel:25230): DEBUG: 21:45:20.285: DisplayWidget.vala:85:     disabled
** (wingpanel:25230): DEBUG: 21:45:20.285: DisplayWidget.vala:85:     bluetooth-icon
** (wingpanel:25230): DEBUG: 21:45:20.540: DisplayWidget.vala:65: update_icon
** (wingpanel:25230): DEBUG: 21:45:20.540: DisplayWidget.vala:66:   object_manager.is_powered: false
** (wingpanel:25230): DEBUG: 21:45:20.540: DisplayWidget.vala:67:   object_manager.is_connected: false
** (wingpanel:25230): DEBUG: 21:45:20.541: DisplayWidget.vala:83:   clases:
** (wingpanel:25230): DEBUG: 21:45:20.541: DisplayWidget.vala:85:     disabled
** (wingpanel:25230): DEBUG: 21:45:20.541: DisplayWidget.vala:85:     bluetooth-icon
** (wingpanel:25230): DEBUG: 21:45:20.635: DisplayWidget.vala:65: update_icon
** (wingpanel:25230): DEBUG: 21:45:20.635: DisplayWidget.vala:66:   object_manager.is_powered: false
** (wingpanel:25230): DEBUG: 21:45:20.635: DisplayWidget.vala:67:   object_manager.is_connected: false
** (wingpanel:25230): DEBUG: 21:45:20.635: DisplayWidget.vala:83:   clases:
** (wingpanel:25230): DEBUG: 21:45:20.635: DisplayWidget.vala:85:     disabled
** (wingpanel:25230): DEBUG: 21:45:20.635: DisplayWidget.vala:85:     bluetooth-icon
** (wingpanel:25230): DEBUG: 21:45:20.685: DisplayWidget.vala:54: set_icon
** (wingpanel:25230): DEBUG: 21:45:20.685: DisplayWidget.vala:65: update_icon
** (wingpanel:25230): DEBUG: 21:45:20.685: DisplayWidget.vala:66:   object_manager.is_powered: true
** (wingpanel:25230): DEBUG: 21:45:20.685: DisplayWidget.vala:67:   object_manager.is_connected: false
** (wingpanel:25230): DEBUG: 21:45:20.685: DisplayWidget.vala:83:   clases:
** (wingpanel:25230): DEBUG: 21:45:20.685: DisplayWidget.vala:85:     bluetooth-icon

I removed all class alterations, beside the initial "bluetooth-icon" class. It still moves out of sight happens.

It's like the Gtk.Revealer doesn't re-reveal the indicator correctly.

@peteruithoven
Copy link
Collaborator

peteruithoven commented Oct 30, 2018

If I add an exception to the following list changing the Reveal transition to anything except SLIDE_LEFT or SLIDE_RIGHT there is no issue.
https://github.com/elementary/wingpanel/blob/master/src/Widgets/Panel.vala#L232-L251

If I switch the transition_type from right to left when making it visible again it also re-appears normally.

@deknusa
Copy link

deknusa commented Dec 28, 2018

bluethoot indicator missing
bluetooth-missing

@queeup
Copy link
Contributor

queeup commented Jun 21, 2019

I think it fixed on master. When are we going to have this fix on our systems?

@peteruithoven
Copy link
Collaborator

You can see that the fix was merged on jan 14:
elementary/wingpanel#187 (comment)
And that the latest release was on may 22:
https://github.com/elementary/wingpanel-indicator-bluetooth/releases

So you should definitely have the fix by now.

@queeup
Copy link
Contributor

queeup commented Jun 22, 2019

Hmmm I have that fix, you are right. But the problem persist on my system. It happens after wake from suspend.

@peteruithoven
Copy link
Collaborator

@queeup could you open a new issue?
Please include as much info as possible.
For example what happens when you restart the wingpanel (killall winganel)?
Is there an empty space where the icon should be? Maybe include a screenshot.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging a pull request may close this issue.

10 participants