https://bugs.kde.org/show_bug.cgi?id=459855

            Bug ID: 459855
           Summary: kcm: "Forget this Device" dialog swaps subject device
                    on the fly
    Classification: Plasma
           Product: Bluedevil
           Version: master
          Platform: Other
                OS: Linux
            Status: REPORTED
          Severity: normal
          Priority: NOR
         Component: general
          Assignee: now...@gmail.com
          Reporter: m...@ratijas.tk
                CC: plasma-b...@kde.org
  Target Milestone: ---

Created attachment 152517
  --> https://bugs.kde.org/attachment.cgi?id=152517&action=edit
Bluetooth - remove device by list index

SUMMARY

Changes in the list of Bluetooth devices, while the "Forget…" dialog is open,
affects which device the dialog prompts to "forget".

It seems that the dialog binds to a device by its index in the list; the code
should pass a copy of information, or some kind of persistent model index
instead.

STEPS TO REPRODUCE
0. Pair two or more devices.
1. Open Bluetooth KCM.
2. Click "Forget …" button on the right side of any device's list row.
3. Now use Bluetooth applet to connect (or disconnect if it is already
connected) this or some other device, so that overall the list of devices
changes ordering, and moves device from (2) to a different row.

OBSERVED RESULT
Text in «Are you sure you want to forget "%one% device"?» changes to  «Are you
sure you want to forget "%another% device"?»

EXPECTED RESULT
Dialog should copy and store persistent handle to a device it was invoked for.

SOFTWARE/OS VERSIONS
Operating System: Arch Linux
KDE: git-master
Qt Version: 5.15.6
Kernel Version: 5.19.9-arch1-1 (64-bit)
Graphics Platform: X11
Processors: 8 × Intel® Core™ i7-6700HQ CPU @ 2.60GHz
Memory: 31.3 GiB of RAM
Graphics Processor: NVIDIA GeForce GTX 970M/PCIe/SSE2
Manufacturer: ASUSTeK COMPUTER INC.
Product Name: G752VT
System Version: 1.0

-- 
You are receiving this mail because:
You are watching all bug changes.

Reply via email to