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

            Bug ID: 438478
           Summary: Device notifier shows SD card being inserted only once
           Product: frameworks-solid
           Version: unspecified
          Platform: Other
                OS: Linux
            Status: REPORTED
          Severity: normal
          Priority: NOR
         Component: general
          Assignee: lu...@kde.org
          Reporter: o...@geek.co.il
                CC: kdelibs-b...@kde.org
  Target Milestone: ---

SUMMARY
When inserting an SD card to the computer, the device notifier system tray
applet pops up and allow the user to mount the SD card. After taking the SD
card out of the SD slot, if we put it in again - the device notifier does not
show.

STEPS TO REPRODUCE
1. Insert an SD card to an SD card slot.
2. After the device notifier pops up, take the SD card out of the slot
3. Insert SD card back to the SD card slot.

OBSERVED RESULT
Nothing happens.

EXPECTED RESULT
The device notifier should show the SD card again.

SOFTWARE/OS VERSIONS
Linux/KDE Plasma: 
KDE Plasma Version: 5.22.80
KDE Frameworks Version: 5.83.0
Qt Version: 5.15.3

ADDITIONAL INFORMATION
The SD card is listed correctly (when inserted) in Dolphin and can be mounted
and ejected from there. Also the kernel log shows the device correctly attached
and removed.

Here is the plasma shell log for the above reproduction:

---8<---
 SD card inserted (device notifier pops up):

Jun 11 22:03:31 vesho plasmashell[157321]: kf.solid.backends.udisks2:
"/org/freedesktop/UDisks2/drives/SC128_0x59b63c96" has new interfaces:
("org.freedesktop.UDisks2.Drive")
Jun 11 22:03:31 vesho plasmashell[157321]: kf.solid.backends.udisks2:
"/org/freedesktop/UDisks2/block_devices/mmcblk0" has new interfaces:
("org.freedesktop.UDisks2.Block", "org.freedesktop.UDisks2.PartitionTable")
Jun 11 22:03:31 vesho plasmashell[157321]: kf.solid.backends.udisks2:
"/org/freedesktop/UDisks2/block_devices/mmcblk0p1" has new interfaces:
("org.freedesktop.UDisks2.Block", "org.freedesktop.UDisks2.Filesystem",
"org.freedesktop.UDisks2.Partition")
Jun 11 22:03:31 vesho plasmashell[157321]: kf.plasma.quick: Applet "Disks &
Devices" loaded after 0 msec
Jun 11 22:03:31 vesho plasmashell[157321]: kf.plasma.quick: Increasing score
for "Disks & Devices" to 100
Jun 11 22:03:31 vesho plasmashell[157321]: kf.plasma.quick: Applet "System
Tray" loaded after 0 msec
Jun 11 22:03:31 vesho plasmashell[157321]: kf.plasma.quick: Applet "System
Tray" loaded after 0 msec
Jun 11 22:03:31 vesho plasmashell[157321]: kf.plasma.quick: Increasing score
for "System Tray" to 100
Jun 11 22:03:32 vesho plasmashell[157321]: kf.coreaddons: Overwriting existing
cached entry due to collision.
Jun 11 22:03:32 vesho plasmashell[157321]: kf.coreaddons: Overwriting existing
cached entry due to collision.
Jun 11 22:03:32 vesho plasmashell[157321]: kf.coreaddons: Overwriting existing
cached entry due to collision.
Jun 11 22:03:32 vesho plasmashell[157321]: kf.coreaddons: Overwriting existing
cached entry due to collision.
Jun 11 22:03:32 vesho plasmashell[157321]: kf.coreaddons: Overwriting existing
cached entry due to collision.
Jun 11 22:03:32 vesho plasmashell[157321]: kf.coreaddons: Overwriting existing
cached entry due to collision.
Jun 11 22:03:32 vesho plasmashell[157321]: kf.coreaddons: Overwriting existing
cached entry due to collision.
Jun 11 22:03:32 vesho plasmashell[157321]: kf.coreaddons: Overwriting existing
cached entry due to collision.

SD card removed:

Jun 11 22:03:35 vesho plasmashell[157321]: kf.solid.backends.udisks2:
"/org/freedesktop/UDisks2/block_devices/mmcblk0p1" lost interfaces:
("org.freedesktop.UDisks2.Filesystem", "org.freedesktop.UDisks2.Partition",
"org.freedesktop.UDisks2.Block")
Jun 11 22:03:35 vesho plasmashell[157321]:
file:///usr/share/plasma/plasmoids/org.kde.plasma.devicenotifier/contents/ui/DeviceItem.qml:199:
TypeError: Cannot read property 'Removable' of undefined
Jun 11 22:03:35 vesho plasmashell[157321]:
file:///usr/share/plasma/plasmoids/org.kde.plasma.devicenotifier/contents/ui/DeviceItem.qml:207:
TypeError: Cannot read property 'Removable' of undefined
Jun 11 22:03:35 vesho plasmashell[157321]:
file:///usr/share/plasma/plasmoids/org.kde.plasma.devicenotifier/contents/ui/DeviceItem.qml:47:
TypeError: Cannot read property 'File Path' of undefined
Jun 11 22:03:35 vesho plasmashell[157321]:
file:///usr/share/plasma/plasmoids/org.kde.plasma.devicenotifier/contents/ui/DeviceItem.qml:260:
TypeError: Cannot read property 'Removable' of undefined
Jun 11 22:03:35 vesho plasmashell[157321]: kf.solid.backends.udisks2:
"/org/freedesktop/UDisks2/block_devices/mmcblk0" lost interfaces:
("org.freedesktop.UDisks2.PartitionTable", "org.freedesktop.UDisks2.Block")
Jun 11 22:03:35 vesho plasmashell[157321]: kf.solid.backends.udisks2:
"/org/freedesktop/UDisks2/drives/SC128_0x59b63c96" lost interfaces:
("org.freedesktop.UDisks2.Drive")
Jun 11 22:03:36 vesho plasmashell[157321]: kf.coreaddons: Overwriting existing
cached entry due to collision.

SD card inserted again (device notifier not showing):

Jun 11 22:03:44 vesho plasmashell[157321]: kf.solid.backends.udisks2:
"/org/freedesktop/UDisks2/drives/SC128_0x59b63c96" has new interfaces:
("org.freedesktop.UDisks2.Drive")
Jun 11 22:03:44 vesho plasmashell[157321]: kf.solid.backends.udisks2:
"/org/freedesktop/UDisks2/block_devices/mmcblk0" has new interfaces:
("org.freedesktop.UDisks2.Block", "org.freedesktop.UDisks2.PartitionTable")
Jun 11 22:03:44 vesho plasmashell[157321]: kf.solid.backends.udisks2:
"/org/freedesktop/UDisks2/block_devices/mmcblk0p1" has new interfaces:
("org.freedesktop.UDisks2.Block", "org.freedesktop.UDisks2.Filesystem",
"org.freedesktop.UDisks2.Partition")
---8<---

The process can be reproduced after restarting plasmashell.

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

Reply via email to