Your message dated Mon, 17 Apr 2023 01:55:46 +0200
with message-id <[email protected]>
and subject line kde-workspace has been superseded by Plasma 5
has caused the Debian Bug report #784807,
regarding plasma-widgets-workspace: devicenotifier is not aware the the device 
un mounted
to be marked as done.

This means that you claim that the problem has been dealt with.
If this is not the case it is now your responsibility to reopen the
Bug report if necessary, and/or fix the problem forthwith.

(NB: If you are a system administrator and have no idea what this
message is talking about, this may indicate a serious mail system
misconfiguration somewhere. Please contact [email protected]
immediately.)


-- 
784807: https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=784807
Debian Bug Tracking System
Contact [email protected] with problems
--- Begin Message ---
Package: plasma-widgets-workspace
Version: 4:4.11.13-2
Severity: normal

Dear maintainer,

When a removable device (USB pen drive, DVD, etc.) is mounted with
devicenotifier, devicenotifier does not seem to be aware that the
device is mounted: it does not provide the option to unmount it
("eject" icon) as in [1].

[1] https://userbase.kde.org/images.userbase/0/0f/Device_Notifier_Widget.png

It is possible to unmount the device with dolphin or in nautilus.

I tried to:

 * uninstall nautilus;
 
 * try with a newly created user;

 * pkill plasma-desktop && plasma-desktop &;

but neither of these solutions seem to fix the issue.

Here is the relevant excerpt of `udisks dump` when the filesystem is
mounted:

~~~
/org/freedesktop/UDisks2/block_devices/sdh1:
  org.freedesktop.UDisks2.Block:
    Configuration:              []
    CryptoBackingDevice:        '/'
    Device:                     /dev/sdh1
    DeviceNumber:               2161
    Drive:                      
'/org/freedesktop/UDisks2/drives/SWISSBIT_Victorinox_2_xxx_xxxxxxxxxxxxx'
    HintAuto:                   true
    HintIconName:               
    HintIgnore:                 false
    HintName:                   
    HintPartitionable:          true
    HintSymbolicIconName:       
    HintSystem:                 false
    Id:                         by-uuid-xxxx-xxxx
    IdLabel:                    
    IdType:                     vfat
    IdUUID:                     xxxx-xxxx
    IdUsage:                    filesystem
    IdVersion:                  FAT32
    MDRaid:                     '/'
    MDRaidMember:               '/'
    PreferredDevice:            /dev/sdh1
    ReadOnly:                   false
    Size:                       130268672
    Symlinks:                   
/dev/disk/by-id/usb-SWISSBIT_Victorinox_2.0_xxxxxxxxxxxxx-0:0-part1
                                
/dev/disk/by-path/pci-0000:00:1d.7-usb-0:3:1.0-scsi-0:0:0:0-part1
                                /dev/disk/by-uuid/xxxx-xxxx
  org.freedesktop.UDisks2.Filesystem:
    MountPoints:        /media/xxxxx/xxxx-xxxx
  org.freedesktop.UDisks2.Partition:
    Flags:              128
    IsContained:        false
    IsContainer:        false
    Name:               
    Number:             1
    Offset:             16384
    Size:               130268672
    Table:              '/org/freedesktop/UDisks2/block_devices/sdh'
    Type:               0x0b
    UUID:               xxxxxxxx-xx
~~~

This probably happens on Jessie as well.


This simplified version of devicenotifier shows that the device is
seen as Non-Accessible (run with `qmlviewer -I /usr/lib/kde4/imports/
test.qml`):

~~~test.qml
// Heavily extracted from the devicenotifier source code
import QtQuick 1.0
import org.kde.plasma.core 0.1 as PlasmaCore
import org.kde.plasma.components 0.1 as PlasmaComponents
import org.kde.plasma.extras 0.1 as PlasmaExtras

Rectangle {

    id: page
    width: 500; height: 200

    PlasmaCore.DataSource {
        id: hpSource
        engine: "hotplug"
        connectedSources: sources
        interval: 0
    }

    PlasmaCore.DataSource {
        id: sdSource
        engine: "soliddevice"
        connectedSources: hpSource.sources
        interval: 0
        property string last
    }

    ListView {
        width: 180; height: 200
        model: PlasmaCore.SortFilterModel {
            id: filterModel
            sourceModel: PlasmaCore.DataModel {
                dataSource: sdSource
            }
            filterRole: "Removable"
            filterRegExp: "true"
            sortRole: "Timestamp"
            sortOrder: Qt.DescendingOrder
        }
        delegate: Text {
            text: model["Description"]
              + " - " + model["Device"]
              + ":" + (model["Accessible"] ? "Accessible" : "Non-Accessible")
        }
    }
}
~~~

As far as I understand, Solid::StorageAccess::isAccessible() returns
false, because StorageAccess::isAccessible() returns false because
Device::isMounted() returns false which probably means that for some
reason it is not finding/recognising the `MountPoints` property.

-- System Information:
Debian Release: stretch/sid
  APT prefers testing
  APT policy: (500, 'testing'), (500, 'stable'), (90, 'unstable'), (1, 
'experimental')
Architecture: amd64 (x86_64)
Foreign Architectures: i386

Kernel: Linux 3.16.0-4-amd64 (SMP w/2 CPU cores)
Locale: LANG=fr_FR.UTF-8, LC_CTYPE=fr_FR.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/dash
Init: systemd (via /run/systemd/system)

Versions of packages plasma-widgets-workspace depends on:
ii  libc6                         2.19-18
ii  libkdecore5                   4:4.14.2-5
ii  libkdeui5                     4:4.14.2-5
ii  libkdewebkit5                 4:4.14.2-5
ii  libkio5                       4:4.14.2-5
ii  libkunitconversion4           4:4.14.2-5
ii  libplasma3                    4:4.14.2-5
ii  libplasmaclock4abi4           4:4.11.13-2
ii  libqt4-declarative            4:4.8.6+git155-g716fbae+dfsg-2
ii  libqt4-network                4:4.8.6+git155-g716fbae+dfsg-2
ii  libqt4-xml                    4:4.8.6+git155-g716fbae+dfsg-2
ii  libqtcore4                    4:4.8.6+git155-g716fbae+dfsg-2
ii  libqtgui4                     4:4.8.6+git155-g716fbae+dfsg-2
ii  libqtwebkit4                  2.3.4.dfsg-3
ii  libstdc++6                    4.9.2-10
ii  libx11-6                      2:1.6.3-1
ii  libxcomposite1                1:0.4.4-1
ii  libxdamage1                   1:1.1.4-2+b1
ii  libxfixes3                    1:5.0.1-2+b2
ii  libxrender1                   1:0.9.8-1+b1
ii  plasma-dataengines-workspace  4:4.11.13-2

plasma-widgets-workspace recommends no packages.

plasma-widgets-workspace suggests no packages.

-- no debconf information

--- End Message ---
--- Begin Message ---
Version: 4:4.11.22-3+rm

src:kde-workspace was last released with Debian 8 (jessie) in April 2015
and was removed from the Debian archive afterwards.
It has been superseded by Plasma 5.
See https://bugs.debian.org/803635 for details on the removal.
I'm closing the remaining bug reports now.

Andreas

--- End Message ---

Reply via email to