Bug 428828 - New device connection attempt notification sometimes does not have a button to allow the connection
Summary: New device connection attempt notification sometimes does not have a button t...
Status: RESOLVED DUPLICATE of bug 449196
Alias: None
Product: Bluedevil
Classification: Plasma
Component: general (show other bugs)
Version: 5.20.3
Platform: Neon Linux
: HI normal
Target Milestone: ---
Assignee: David Rosca
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2020-11-08 09:46 UTC by Ahmed
Modified: 2022-05-10 12:02 UTC (History)
7 users (show)

See Also:
Latest Commit:
Version Fixed In:
Sentry Crash Report:


Attachments
Screenshot (18.04 KB, image/png)
2020-11-08 09:51 UTC, Ahmed
Details
dmesg_output (80.85 KB, text/plain)
2020-11-08 10:07 UTC, Ahmed
Details
Cinnamon_message (26.46 KB, image/png)
2020-11-09 19:44 UTC, Ahmed
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Ahmed 2020-11-08 09:46:02 UTC
SUMMARY
When I connect my PS3 controller on KDE neon User Edition, I get this message:
Sony PLAYSTATION(R)3 Controller is requesting access to this computer
and it stays this way. I tested to see if the same issue happens on Kubuntu 20.04.1, and I can connect my controller without any issues. I tested it also Linux Mint Cinnamon, and I didn't encounter this issue either.

STEPS TO REPRODUCE
1. Turn Bluetooth on
2. Connect PS3 controller

OBSERVED RESULT
I get this message:
Sony PLAYSTATION(R)3 Controller is requesting access to this computer 

EXPECTED RESULT
I suppose to get a message with two choices:
Authorize, and trust, or Authorize.

SOFTWARE/OS VERSIONS
Linux/KDE Plasma: KDE neon 5.20 User Edition
KDE Plasma Version: 5.20.2
KDE Frameworks Version: 5.75.0
Qt Version: 5.15.0
Comment 1 Justin Zobel 2020-11-08 09:48:04 UTC
Thanks for the report Ahmed, can you please provide a screenshot of what you are being shown when the controller is requesting access.
Comment 2 Ahmed 2020-11-08 09:51:57 UTC
Created attachment 133135 [details]
Screenshot
Comment 3 Justin Zobel 2020-11-08 09:57:58 UTC
Thanks for the info.
Comment 4 Ahmed 2020-11-08 10:07:06 UTC
Created attachment 133136 [details]
dmesg_output

Here is a log of dmesg output. There are a few errors related to Bluetooth, and USB.
Comment 5 Nate Graham 2020-11-09 19:35:58 UTC
Seems like the notification should have a button on it or something. What happens on Cinnamon instead?
Comment 6 Ahmed 2020-11-09 19:44:10 UTC
Created attachment 133181 [details]
Cinnamon_message

I get a message like the one in the picture, and on Kubuntu, I get the same message that I get on KDE neon, but with buttons.
Comment 7 Nate Graham 2020-11-09 20:30:42 UTC
Thanks. Looks an issue with the bluetooth connection request notification somehow.
Comment 8 Nicolas Fella 2020-11-10 02:19:39 UTC
this is odd, judging by the code (https://invent.kde.org/plasma/bluedevil/-/blob/master/src/kded/helpers/requestauthorization.cpp#L31) there should be actions to allow/deny the request.

I don't have a PS3 controller at hand to test it myself though
Comment 9 Ahmed 2020-11-10 07:23:31 UTC
If I remember correctly, I was able to authorize the controller before on KDE neon User Edition, and I was able to use the controller one time, but all I get now is the message box without the buttons whatever how many times I try.

How can I delete all Bluedevil configurations and all previous information about authorized devices? I do not know if that can help or not, but it is worth a shot.
Comment 10 Ahmed 2020-11-14 13:20:52 UTC
Somehow the buttons appeared when I was on a Wayland session, and I can now connect my wireless controller without any issues.

I still use KDE Plasma 5.20.2. I have not updated it yet to 5.20.3.
Comment 11 Ahmed 2020-11-15 13:28:57 UTC
The same issue happens on KDE Plasma 5.20.3. The buttons only appears after logging in to a Wayland session.
Comment 12 Ahmed 2020-11-16 23:36:54 UTC
When I log in to Wayland, the buttons appear correctly, and after I log out from Wayland, and log in to Xorg, the buttons still appear correctly, but after I restart my machine, and log in to Xorg, the buttons disappear again.

I would settle with using Wayland all the time, but it has a few issues that make it unbearable right now.
Comment 13 Ahmed 2020-11-20 11:07:40 UTC
Now, the opposite is happening. I can get the buttons to appear on Xorg, but not on Wayland. This issue does not make any sense.
Comment 14 Ahmed 2020-11-21 06:41:36 UTC
OK, I got it now. What fixes the issue is logging off, and logging in again. It does not matter if it is a wayland, or Xorg session, but I need to log in with the controller connected through USB cable.
Comment 15 Nicolas Fella 2020-12-01 00:34:44 UTC
very odd. I'll see if I can get hands on a device to try to reproduce this
Comment 16 Ahmed 2020-12-03 15:59:07 UTC
I do not encounter this issue on Kubuntu 20.04, or Kubuntu 20.10. However, I have a similar issue on Kubuntu 20.10 when I try to pair a phone, or send files from a phone to KDE Plasma. Here is a link to this issue:
https://bugs.kde.org/show_bug.cgi?id=429979
Comment 17 Nate Graham 2020-12-03 19:36:39 UTC
*** Bug 429979 has been marked as a duplicate of this bug. ***
Comment 18 Nicolas Fella 2020-12-03 20:18:05 UTC
I'm starting to think you might have a general issue with action buttons in notification since I don't see bluedevil doing anything wrong
Comment 19 Leroy G 2021-03-31 03:00:19 UTC
I also have a PS3 controller and didn't notice this particular issue with the authorize/deny buttons. And I did reconnect the controller and paired many times because I found this other issue unrelated to this: https://bugs.kde.org/show_bug.cgi?id=432715

My system:
Distro: OpenSUSE Tumbleweed
KDE Plasma Version: 5.20.3
KDE Frameworks Version: 5.80.0

I notice that you have KDE 5.20.2 with KDE Framework 5.75.0, perhaps this issue comes from the recent KDE plasma paired with an old KDE Framework?
Comment 20 Nate Graham 2021-08-05 00:43:13 UTC
*** Bug 440252 has been marked as a duplicate of this bug. ***
Comment 21 Nate Graham 2022-04-27 04:12:19 UTC
For people experiencing this, can you rproduce it on Wayland? Or only on X11

*** This bug has been marked as a duplicate of bug 449196 ***
Comment 22 Ahmed 2022-05-10 12:02:13 UTC
(In reply to Nate Graham from comment #21)
> For people experiencing this, can you rproduce it on Wayland? Or only on X11
> 
> *** This bug has been marked as a duplicate of bug 449196 ***

It mostly happens with X11. I have to sign out and login in again using Wayland.