[plasmashell] [Bug 438874] Disk & Devices applet doesn't show USB removable devices and SD cards after disconnecting and re-connecting them

2021-10-14 Thread Patrick Silva
https://bugs.kde.org/show_bug.cgi?id=438874

Patrick Silva  changed:

   What|Removed |Added

 CC||firlaevhans.fiete@protonmai
   ||l.com

--- Comment #49 from Patrick Silva  ---
*** Bug 443699 has been marked as a duplicate of this bug. ***

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

[plasmashell] [Bug 438874] Disk & Devices applet doesn't show USB removable devices and SD cards after disconnecting and re-connecting them

2021-08-09 Thread Nate Graham
https://bugs.kde.org/show_bug.cgi?id=438874

Nate Graham  changed:

   What|Removed |Added

Summary|Disk & Devices applet   |Disk & Devices applet
   |doesn't show USB removable  |doesn't show USB removable
   |devices after connecting|devices and SD cards after
   |the device for 2nd time |disconnecting and
   ||re-connecting them

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

[plasmashell] [Bug 438874] Disk & Devices applet doesn't show USB removable devices and SD cards after disconnecting and re-connecting them

2021-08-10 Thread Attila
https://bugs.kde.org/show_bug.cgi?id=438874

Attila  changed:

   What|Removed |Added

 CC||bugs.kde.att...@online.de

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

[plasmashell] [Bug 438874] Disk & Devices applet doesn't show USB removable devices and SD cards after disconnecting and re-connecting them

2021-08-14 Thread Gianluca Pettinello
https://bugs.kde.org/show_bug.cgi?id=438874

Gianluca Pettinello  changed:

   What|Removed |Added

 CC||gianluca.pettinello@gmail.c
   ||om

--- Comment #25 from Gianluca Pettinello  ---
Hello everybody, is this bug fixed?
Thanks 
Gianluca

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

[plasmashell] [Bug 438874] Disk & Devices applet doesn't show USB removable devices and SD cards after disconnecting and re-connecting them

2021-08-16 Thread Nate Graham
https://bugs.kde.org/show_bug.cgi?id=438874

--- Comment #26 from Nate Graham  ---
If it was fixed, the bug report would be marked as RESOLVED. :)

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

[plasmashell] [Bug 438874] Disk & Devices applet doesn't show USB removable devices and SD cards after disconnecting and re-connecting them

2021-08-16 Thread Francisco Cribari
https://bugs.kde.org/show_bug.cgi?id=438874

--- Comment #27 from Francisco Cribari  ---
I am still experiencing the problem (Arch Linux and an external HD with a
single ext4 partition).

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

[plasmashell] [Bug 438874] Disk & Devices applet doesn't show USB removable devices and SD cards after disconnecting and re-connecting them

2021-08-16 Thread Nate Graham
https://bugs.kde.org/show_bug.cgi?id=438874

Nate Graham  changed:

   What|Removed |Added

   Severity|normal  |major

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

[plasmashell] [Bug 438874] Disk & Devices applet doesn't show USB removable devices and SD cards after disconnecting and re-connecting them

2021-08-16 Thread Leonid
https://bugs.kde.org/show_bug.cgi?id=438874

Leonid  changed:

   What|Removed |Added

 CC|mrbelarus...@gmail.com  |

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

[plasmashell] [Bug 438874] Disk & Devices applet doesn't show USB removable devices and SD cards after disconnecting and re-connecting them

2021-08-16 Thread Domker
https://bugs.kde.org/show_bug.cgi?id=438874

--- Comment #28 from Domker  ---
The bug still exists on Arch Linux (current).

Operating System: Arch Linux
KDE Plasma Version: 5.22.4
KDE Frameworks Version: 5.85.0
Qt Version: 5.15.2
Kernel Version: 5.13.10-arch1-1 (64-bit)

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

[plasmashell] [Bug 438874] Disk & Devices applet doesn't show USB removable devices and SD cards after disconnecting and re-connecting them

2021-08-18 Thread Chris
https://bugs.kde.org/show_bug.cgi?id=438874

--- Comment #29 from Chris  ---
Operating System: Slackware64-current
KDE Plasma Version: 5.22.4
KDE Frameworks Version: 5.85.0
Qt Version: 5.15.2
Kernel Version: 5.13.11 (64-bit)
Graphics Platform: X11

This still exits. Applies for any USB I've tried, one shot only thru Disk &
Devices, subsequent plug-ins of same USB device results in nothing from Disk &
Devices. Device does appear in Dolphin and in System settings Removable Storage
> Removable Devices, Attached Devices. This also applies to cell phones plugged
in to USB ports.

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

[plasmashell] [Bug 438874] Disk & Devices applet doesn't show USB removable devices and SD cards after disconnecting and re-connecting them

2021-08-18 Thread Chris
https://bugs.kde.org/show_bug.cgi?id=438874

--- Comment #30 from Chris  ---
Forgot to add. As reported earlier devices can be mounted via Dolphin.

I also noticed in System settings Removable Storage > Removable Devices if a
device shown as " Removable Media", other media with the same type
"Removable Media" do not show up in Disk & Devices; e.g., 28.8 GiB Removable
Media, 1.0 GiB Removable Media, 14.6 GiB Removable Media are not picked up by
Disk & Devices after the first of these is plugged in.

This device is never picked up by Disk & Devices:
Model: Kingmax Kingmax (scsi)
Disk /dev/sdc: 15.8GB
Sector size (logical/physical): 512B/512B
Partition Table: msdos
Disk Flags: 

Number  Start   End SizeType File system  Flags
 1  1049kB  15.8GB  15.8GB  primary  fat32boot, lba


Another thing I have noticed is the device is not showing in System settings
Removable Storage > Removable Devices, Attached Devices after showing up in
Disk & Devices after using Mount or one of the other available options.

Regarding the cell phone, on first plug in, it is detected by Disk & Devices,
when the connection is allowed by the phone, the notification disappears. Phone
is accessible using Dolphin. Phone connection never shows in System settings
Removable Storage > Removable Devices. Note the the phone does appear in System
settings Removable Storage > Removable Devices, Digital Camera.

Maybe related or not. On my laptop when a device is detected (first mount) by
Disk & Devices, Safely Remove sometimes results in a Plasma crash and it
reloads. "Details: Executable: PID: 3275 Siganl: Segmentation fault (11). This
has never happened on my desktop. The "not useful crash information follows:

Application: Plasma (plasmashell), signal: Segmentation fault

[KCrash Handler]
#4  0x7fa8df158250 in  () at /usr/lib64/libQt5Qml.so.5
#5  0x7fa8df102030 in  () at /usr/lib64/libQt5Qml.so.5
#6  0x7fa8df103796 in QQmlVMEMetaObject::metaCall(QObject*,
QMetaObject::Call, int, void**) () at /usr/lib64/libQt5Qml.so.5
#7  0x7fa8df03ac7d in  () at /usr/lib64/libQt5Qml.so.5
#8  0x7fa8817f3c53 in  ()
#9  0x in  ()
[Inferior 1 (process 3275) detached]

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

[plasmashell] [Bug 438874] Disk & Devices applet doesn't show USB removable devices and SD cards after disconnecting and re-connecting them

2021-08-18 Thread Chris
https://bugs.kde.org/show_bug.cgi?id=438874

--- Comment #31 from Chris  ---
(In reply to Chris from comment #30)
> Maybe related or not. On my laptop when a device is detected (first mount)
> by Disk & Devices, Safely Remove sometimes results in a Plasma crash and it
> reloads. "Details: Executable: PID: 3275 Siganl: Segmentation fault (11).
> This has never happened on my desktop. The "not useful crash information
> follows:
> 
> Application: Plasma (plasmashell), signal: Segmentation fault
> 
> [KCrash Handler]
> #4  0x7fa8df158250 in  () at /usr/lib64/libQt5Qml.so.5
> #5  0x7fa8df102030 in  () at /usr/lib64/libQt5Qml.so.5
> #6  0x7fa8df103796 in QQmlVMEMetaObject::metaCall(QObject*,
> QMetaObject::Call, int, void**) () at /usr/lib64/libQt5Qml.so.5
> #7  0x7fa8df03ac7d in  () at /usr/lib64/libQt5Qml.so.5
> #8  0x7fa8817f3c53 in  ()
> #9  0x in  ()
> [Inferior 1 (process 3275) detached]
There is a reason I dislike the word never. "This has never happened on my
desktop."; well it just did.

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

[plasmashell] [Bug 438874] Disk & Devices applet doesn't show USB removable devices and SD cards after disconnecting and re-connecting them

2021-08-19 Thread Thiago Macieira
https://bugs.kde.org/show_bug.cgi?id=438874

Thiago Macieira  changed:

   What|Removed |Added

 CC||thi...@kde.org

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

[plasmashell] [Bug 438874] Disk & Devices applet doesn't show USB removable devices and SD cards after disconnecting and re-connecting them

2021-08-23 Thread antdev66
https://bugs.kde.org/show_bug.cgi?id=438874

antde...@gmail.com  changed:

   What|Removed |Added

 CC||antde...@gmail.com

--- Comment #32 from antde...@gmail.com  ---
same problem (plasma 5.22.4)

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

[plasmashell] [Bug 438874] Disk & Devices applet doesn't show USB removable devices and SD cards after disconnecting and re-connecting them

2021-08-23 Thread MikeC
https://bugs.kde.org/show_bug.cgi?id=438874

--- Comment #33 from MikeC  ---
This has been running a couple of months - it would be nice if this could now
be worked towards a patch to fix it. It seems not to be taken by a developer
yet.

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

[plasmashell] [Bug 438874] Disk & Devices applet doesn't show USB removable devices and SD cards after disconnecting and re-connecting them

2021-08-24 Thread Saurav Sengupta
https://bugs.kde.org/show_bug.cgi?id=438874

Saurav Sengupta  changed:

   What|Removed |Added

 CC||saurav1@gmail.com

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

[plasmashell] [Bug 438874] Disk & Devices applet doesn't show USB removable devices and SD cards after disconnecting and re-connecting them

2021-08-24 Thread Attila
https://bugs.kde.org/show_bug.cgi?id=438874

--- Comment #34 from Attila  ---
Here is my workaround until this bug has been fixed.
You need two USB devices. Let's call the first one "a dummy USB device".

1. Just Plug in the dummy USB device.
2. You don't need to mount it. No access is needed. Don't remove the dummy
device.
3. Plug in the USB device which you want to access.
4. The device notifier should come up.
5. You can mount it, access it and unmout it.
6. Unplug the USB device.
7. You can pluin the same USB device or another one and the device notifier
should always come up.

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

[plasmashell] [Bug 438874] Disk & Devices applet doesn't show USB removable devices and SD cards after disconnecting and re-connecting them

2021-08-24 Thread bugzilla_noreply
https://bugs.kde.org/show_bug.cgi?id=438874

m...@gmx.net changed:

   What|Removed |Added

 CC||m...@gmx.net

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

[plasmashell] [Bug 438874] Disk & Devices applet doesn't show USB removable devices and SD cards after disconnecting and re-connecting them

2021-08-27 Thread Laurent RINEAU
https://bugs.kde.org/show_bug.cgi?id=438874

Laurent RINEAU  changed:

   What|Removed |Added

 CC||Laurent.Rineau__kde@normale
   ||sup.org

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

[plasmashell] [Bug 438874] Disk & Devices applet doesn't show USB removable devices and SD cards after disconnecting and re-connecting them

2021-08-27 Thread bugzilla_noreply
https://bugs.kde.org/show_bug.cgi?id=438874

dth...@gmx.net changed:

   What|Removed |Added

 CC||dth...@gmx.net

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

[plasmashell] [Bug 438874] Disk & Devices applet doesn't show USB removable devices and SD cards after disconnecting and re-connecting them

2021-08-29 Thread Adam Batkin
https://bugs.kde.org/show_bug.cgi?id=438874

Adam Batkin  changed:

   What|Removed |Added

 CC||a...@batkin.net

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

[plasmashell] [Bug 438874] Disk & Devices applet doesn't show USB removable devices and SD cards after disconnecting and re-connecting them

2021-09-02 Thread Antonio Orefice
https://bugs.kde.org/show_bug.cgi?id=438874

--- Comment #35 from Antonio Orefice  ---
(In reply to Attila from comment #34)
> Here is my workaround until this bug has been fixed.
> You need two USB devices. Let's call the first one "a dummy USB device".
> 
> 1. Just Plug in the dummy USB device.
> 2. You don't need to mount it. No access is needed. Don't remove the dummy
> device.
> 3. Plug in the USB device which you want to access.
> 4. The device notifier should come up.
> 5. You can mount it, access it and unmout it.
> 6. Unplug the USB device.
> 7. You can pluin the same USB device or another one and the device notifier
> should always come up.

It doesn't work for me,
but what works for me is:
plug usb-device1,unplug it.
plug usb-device2,unplug it,
replug usb-device1

It seems that unplug something doesn't trigger something, which is triggered by
the plug of something else; just speculating ofc.

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

[plasmashell] [Bug 438874] Disk & Devices applet doesn't show USB removable devices and SD cards after disconnecting and re-connecting them

2021-09-02 Thread Gabriele Avi
https://bugs.kde.org/show_bug.cgi?id=438874

Gabriele Avi  changed:

   What|Removed |Added

 CC||gabry@gmail.com

--- Comment #36 from Gabriele Avi  ---
Same problem with a clean installation of Arch with kde plasma 5.22.5. The fix
suggested by Attila in comment no. 34 works for me. Let's hope this bug will be
fixed soon.

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

[plasmashell] [Bug 438874] Disk & Devices applet doesn't show USB removable devices and SD cards after disconnecting and re-connecting them

2021-09-03 Thread Fabio
https://bugs.kde.org/show_bug.cgi?id=438874

Fabio  changed:

   What|Removed |Added

 CC||ctrlal...@gmail.com

--- Comment #37 from Fabio  ---
I just created a merge request that fixes this bug for me.
It would be nice if someone could confirm if this is working.

https://invent.kde.org/plasma/plasma-workspace/-/merge_requests/1039

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

[plasmashell] [Bug 438874] Disk & Devices applet doesn't show USB removable devices and SD cards after disconnecting and re-connecting them

2021-09-03 Thread Fabio Bas
https://bugs.kde.org/show_bug.cgi?id=438874

Fabio Bas  changed:

   What|Removed |Added

  Latest Commit||https://invent.kde.org/plas
   ||ma/plasma-workspace/commit/
   ||61e2ea2323ae63c5805c8735370
   ||1ba6fb722205a
 Resolution|--- |FIXED
 Status|CONFIRMED   |RESOLVED

--- Comment #38 from Fabio Bas  ---
Git commit 61e2ea2323ae63c5805c87353701ba6fb722205a by Fabio Bas.
Committed on 03/09/2021 at 17:23.
Pushed by ngraham into branch 'master'.

Update solid connectedSources when a new source gets added by hotplug

M  +1-1applets/devicenotifier/package/contents/ui/devicenotifier.qml

https://invent.kde.org/plasma/plasma-workspace/commit/61e2ea2323ae63c5805c87353701ba6fb722205a

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

[plasmashell] [Bug 438874] Disk & Devices applet doesn't show USB removable devices and SD cards after disconnecting and re-connecting them

2021-09-03 Thread Nate Graham
https://bugs.kde.org/show_bug.cgi?id=438874

Nate Graham  changed:

   What|Removed |Added

   Version Fixed In||5.23

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

[plasmashell] [Bug 438874] Disk & Devices applet doesn't show USB removable devices and SD cards after disconnecting and re-connecting them

2021-09-03 Thread nucleo
https://bugs.kde.org/show_bug.cgi?id=438874

--- Comment #39 from nucleo  ---
Commit from Comment 38 works for me.

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

[plasmashell] [Bug 438874] Disk & Devices applet doesn't show USB removable devices and SD cards after disconnecting and re-connecting them

2021-09-03 Thread Nate Graham
https://bugs.kde.org/show_bug.cgi?id=438874

Nate Graham  changed:

   What|Removed |Added

 Status|RESOLVED|VERIFIED

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

[plasmashell] [Bug 438874] Disk & Devices applet doesn't show USB removable devices and SD cards after disconnecting and re-connecting them

2021-09-04 Thread Patrick Silva
https://bugs.kde.org/show_bug.cgi?id=438874

Patrick Silva  changed:

   What|Removed |Added

 CC||bugsefor...@gmx.com

--- Comment #40 from Patrick Silva  ---
*** Bug 439412 has been marked as a duplicate of this bug. ***

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

[plasmashell] [Bug 438874] Disk & Devices applet doesn't show USB removable devices and SD cards after disconnecting and re-connecting them

2021-09-07 Thread bugzilla_noreply
https://bugs.kde.org/show_bug.cgi?id=438874

t...@gmx.com changed:

   What|Removed |Added

 CC||t...@gmx.com

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

[plasmashell] [Bug 438874] Disk & Devices applet doesn't show USB removable devices and SD cards after disconnecting and re-connecting them

2021-09-08 Thread Xwang
https://bugs.kde.org/show_bug.cgi?id=438874

Xwang  changed:

   What|Removed |Added

 CC||xwaang1...@gmail.com

--- Comment #41 from Xwang  ---
(In reply to Fabio from comment #37)
> I just created a merge request that fixes this bug for me.
> It would be nice if someone could confirm if this is working.
> 
> https://invent.kde.org/plasma/plasma-workspace/-/merge_requests/1039

Is there any howto which explains how I can test your merge?
I'm using archlinux.

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

[plasmashell] [Bug 438874] Disk & Devices applet doesn't show USB removable devices and SD cards after disconnecting and re-connecting them

2021-09-09 Thread Fabio
https://bugs.kde.org/show_bug.cgi?id=438874

--- Comment #42 from Fabio  ---
> Is there any howto which explains how I can test your merge?
> I'm using archlinux.

I have no idea about the correct way to do this kind of testing on Arch, but as
a dirty hack you can just grab the three updated files from
https://invent.kde.org/plasma/plasma-workspace/-/tree/master/applets/devicenotifier/package/contents/ui
and replace the ones in your current installation; in my case they are in the
/usr/share/plasma/plasmoids/org.kde.plasma.devicenotifier/contents/ui folder.
Once the files are replaced, you need to restart plasma for it to pick up the
new version.

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

[plasmashell] [Bug 438874] Disk & Devices applet doesn't show USB removable devices and SD cards after disconnecting and re-connecting them

2021-09-09 Thread Domker
https://bugs.kde.org/show_bug.cgi?id=438874

--- Comment #43 from Domker  ---
(In reply to Xwang from comment #41)
> (In reply to Fabio from comment #37)
> > I just created a merge request that fixes this bug for me.
> > It would be nice if someone could confirm if this is working.
> > 
> > https://invent.kde.org/plasma/plasma-workspace/-/merge_requests/1039
> 
> Is there any howto which explains how I can test your merge?
> I'm using archlinux.

Live swapping files is the worst possible way to patch something!!


$patch -d "plasma-workspace-5.22.5" -p1 < 1039.patch

(plasma-workspace-5.22.5 - direcotry with source code of plasma-workspace)

patching file applets/devicenotifier/package/contents/ui/DeviceItem.qml
Hunk #1 FAILED at 31.
Hunk #2 succeeded at 123 (offset 4 lines).
Hunk #3 succeeded at 140 (offset 4 lines).
Hunk #4 FAILED at 189.
Hunk #5 succeeded at 233 (offset 4 lines).
Hunk #6 FAILED at 250.
3 out of 6 hunks FAILED -- saving rejects to file
applets/devicenotifier/package/contents/ui/DeviceItem.qml.rej
patching file applets/devicenotifier/package/contents/ui/devicenotifier.qml
Hunk #1 succeeded at 88 (offset 13 lines).
Hunk #2 succeeded at 112 (offset 13 lines).

!! It FAILED becouse patch is for plasma-workspace v5.23, not v5.22.5 !!

>>> You need make own patch file based on differences in "ui" direcotry:

1. Make new directory:
$ mkdir test_build && cd "$_"

2. Clone source package master repo where patch is merged:
$ git clone https://invent.kde.org/plasma/plasma-workspace.git

3. Rename it to "b":
$ mv plasma-workspace b

4. Download (and extract) source code plasma-workspace (current version)
present in Arch Linux, rename directory to "a":
$ wget
"https://download.kde.org/stable/plasma/5.22.5/plasma-workspace-5.22.5.tar.xz";
-qO - | tar xvJ
$ mv plasma-workspace-5.22.5 a

5. Now you have directory "a" with current source code (plasma-workspace in
Arch Linux) and direcotry "b" with merged patch. Make own custom.patch with
differences in "ui" directories:

$ diff -ur a/applets/devicenotifier/package/contents/ui
b/applets/devicenotifier/package/contents/ui > custom.patch

If You have now "custom.patch" file, remove "a" and "b" directories:
$ rm -rf a b

>>> Now you need build own patched package "plasma-workspace-5.22.5":

1. Go to:
https://github.com/archlinux/svntogit-packages/tree/packages/plasma-workspace/trunk
and download "PKGBUILD", "kde.pam" files, for quick download use this:

$ wget
"https://raw.githubusercontent.com/archlinux/svntogit-packages/packages/plasma-workspace/trunk/PKGBUILD";
&& wget
"https://raw.githubusercontent.com/archlinux/svntogit-packages/packages/plasma-workspace/trunk/kde.pam";

2. Edit "PKGBUILD" file:
source=(https://download.kde.org/stable/plasma/$pkgver/$pkgbase-$pkgver.tar.xz{,.sig}
kde.pam
https://invent.kde.org/plasma/plasma-workspace/-/commit/6379d1ec.patch)

REPLACE WITH:

source=(https://download.kde.org/stable/plasma/$pkgver/$pkgbase-$pkgver.tar.xz{,.sig}
kde.pam
https://invent.kde.org/plasma/plasma-workspace/-/commit/6379d1ec.patch
custom.patch)

AND:
prepare() {
  patch -d $pkgbase-$pkgver -p1 < 6379d1ec.patch # Fix power management
inhibition
}

REPLACE WITH:
prepare() {
  patch -d $pkgbase-$pkgver -p1 < 6379d1ec.patch # Fix power management
inhibition
  patch -d $pkgbase-$pkgver -p1 < custom.patch
}



SAVE CHANGES in PKGBUILD FILE!

3. Update checksums in PKGBUILD:
$ updpkgsums PKGBUILD


3. Now build and install patched "plasma-workspace" package:
$ makepkg -sri --skippgpcheck PKGBUILD

#option -s (download and install dependencies)
#option -r (remove dependency after successful package build, in this case:
pps-tools-1.0.2-1  gpsd-3.23-1  plasma-wayland-protocols-1.4.0-1)
#option -i (install the package if it has been built)

After installing the package restart your PC. For me, a patch made in this way
works.

If something doesn't work, just force reinstall plasma-workspace from the
repository.
( sudo rm
/var/cache/pacman/pkg/plasma-workspace-5.22.5-2-x86_64.pkg.tar.zst{,.sig} &&
sudo pacman -S plasma-workspace )

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

[plasmashell] [Bug 438874] Disk & Devices applet doesn't show USB removable devices and SD cards after disconnecting and re-connecting them

2021-09-09 Thread Xwang
https://bugs.kde.org/show_bug.cgi?id=438874

--- Comment #44 from Xwang  ---
(In reply to Domker from comment #43)
> (In reply to Xwang from comment #41)
> > (In reply to Fabio from comment #37)
> > > I just created a merge request that fixes this bug for me.
> > > It would be nice if someone could confirm if this is working.
> > > 
> > > https://invent.kde.org/plasma/plasma-workspace/-/merge_requests/1039
> > 
> > Is there any howto which explains how I can test your merge?
> > I'm using archlinux.
> 
> Live swapping files is the worst possible way to patch something!!
> 
> 
> $patch -d "plasma-workspace-5.22.5" -p1 < 1039.patch
> 
> (plasma-workspace-5.22.5 - direcotry with source code of plasma-workspace)
> 
> patching file applets/devicenotifier/package/contents/ui/DeviceItem.qml
> Hunk #1 FAILED at 31.
> Hunk #2 succeeded at 123 (offset 4 lines).
> Hunk #3 succeeded at 140 (offset 4 lines).
> Hunk #4 FAILED at 189.
> Hunk #5 succeeded at 233 (offset 4 lines).
> Hunk #6 FAILED at 250.
> 3 out of 6 hunks FAILED -- saving rejects to file
> applets/devicenotifier/package/contents/ui/DeviceItem.qml.rej
> patching file applets/devicenotifier/package/contents/ui/devicenotifier.qml
> Hunk #1 succeeded at 88 (offset 13 lines).
> Hunk #2 succeeded at 112 (offset 13 lines).
> 
> !! It FAILED becouse patch is for plasma-workspace v5.23, not v5.22.5 !!
> 
> >>> You need make own patch file based on differences in "ui" direcotry:
> 
> 1. Make new directory:
> $ mkdir test_build && cd "$_"
> 
> 2. Clone source package master repo where patch is merged:
> $ git clone https://invent.kde.org/plasma/plasma-workspace.git
> 
> 3. Rename it to "b":
> $ mv plasma-workspace b
> 
> 4. Download (and extract) source code plasma-workspace (current version)
> present in Arch Linux, rename directory to "a":
> $ wget
> "https://download.kde.org/stable/plasma/5.22.5/plasma-workspace-5.22.5.tar.
> xz" -qO - | tar xvJ
> $ mv plasma-workspace-5.22.5 a
> 
> 5. Now you have directory "a" with current source code (plasma-workspace in
> Arch Linux) and direcotry "b" with merged patch. Make own custom.patch with
> differences in "ui" directories:
> 
> $ diff -ur a/applets/devicenotifier/package/contents/ui
> b/applets/devicenotifier/package/contents/ui > custom.patch
> 
> If You have now "custom.patch" file, remove "a" and "b" directories:
> $ rm -rf a b
> 
> >>> Now you need build own patched package "plasma-workspace-5.22.5":
> 
> 1. Go to:
> https://github.com/archlinux/svntogit-packages/tree/packages/plasma-
> workspace/trunk and download "PKGBUILD", "kde.pam" files, for quick download
> use this:
> 
> $ wget
> "https://raw.githubusercontent.com/archlinux/svntogit-packages/packages/
> plasma-workspace/trunk/PKGBUILD" && wget
> "https://raw.githubusercontent.com/archlinux/svntogit-packages/packages/
> plasma-workspace/trunk/kde.pam"
> 
> 2. Edit "PKGBUILD" file:
> source=(https://download.kde.org/stable/plasma/$pkgver/$pkgbase-$pkgver.tar.
> xz{,.sig} kde.pam
>
> https://invent.kde.org/plasma/plasma-workspace/-/commit/6379d1ec.patch)
> 
> REPLACE WITH:
> 
> source=(https://download.kde.org/stable/plasma/$pkgver/$pkgbase-$pkgver.tar.
> xz{,.sig} kde.pam
>
> https://invent.kde.org/plasma/plasma-workspace/-/commit/6379d1ec.patch
> custom.patch)
> 
> AND:
> prepare() {
>   patch -d $pkgbase-$pkgver -p1 < 6379d1ec.patch # Fix power management
> inhibition
> }
> 
> REPLACE WITH:
> prepare() {
>   patch -d $pkgbase-$pkgver -p1 < 6379d1ec.patch # Fix power management
> inhibition
>   patch -d $pkgbase-$pkgver -p1 < custom.patch
> }
> 
> 
> 
> SAVE CHANGES in PKGBUILD FILE!
> 
> 3. Update checksums in PKGBUILD:
> $ updpkgsums PKGBUILD
> 
> 
> 3. Now build and install patched "plasma-workspace" package:
> $ makepkg -sri --skippgpcheck PKGBUILD
> 
> #option -s (download and install dependencies)
> #option -r (remove dependency after successful package build, in this case:
> pps-tools-1.0.2-1  gpsd-3.23-1  plasma-wayland-protocols-1.4.0-1)
> #option -i (install the package if it has been built)
> 
> After installing the package restart your PC. For me, a patch made in this
> way works.
> 
> If something doesn't work, just force reinstall plasma-workspace from the
> repository.
> ( sudo rm
> /var/cache/pacman/pkg/plasma-workspace-5.22.5-2-x86_64.pkg.tar.zst{,.sig} &&
> sudo pacman -S plasma-workspace )

Thank you!
I'll try do that next weekend.
Anyway the bug will be in any case fixed when plasma-workspace-5.23 will be
available. Is it correct?

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

[plasmashell] [Bug 438874] Disk & Devices applet doesn't show USB removable devices and SD cards after disconnecting and re-connecting them

2021-09-12 Thread Chris
https://bugs.kde.org/show_bug.cgi?id=438874

--- Comment #45 from Chris  ---
(In reply to Fabio from comment #42)
> > Is there any howto which explains how I can test your merge?
> > I'm using archlinux.
> 
> I have no idea about the correct way to do this kind of testing on Arch, but
> as a dirty hack you can just grab the three updated files from
> https://invent.kde.org/plasma/plasma-workspace/-/tree/master/applets/
> devicenotifier/package/contents/ui and replace the ones in your current
> installation; in my case they are in the
> /usr/share/plasma/plasmoids/org.kde.plasma.devicenotifier/contents/ui folder.
> Once the files are replaced, you need to restart plasma for it to pick up
> the new version.
Thanks for this. Works for me. 

FYI, I did not do a "Live swapping of files". I dropped out of Plasma to the
CLI and the replaced the files. Ran startx to get back in to Plasma.

May not be related. I still occasionally see a Plasma restart when "Safely
Removing" the device. Very rare of this desktop, more often on my laptop. Since
replacing the files on Sept 4 (Your post over at the Slackware Forum), I've
only seen this once on my laptop. Using a USB device is a daily thing.

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

[plasmashell] [Bug 438874] Disk & Devices applet doesn't show USB removable devices and SD cards after disconnecting and re-connecting them

2021-09-12 Thread Domker
https://bugs.kde.org/show_bug.cgi?id=438874

--- Comment #46 from Domker  ---
> Thank you!
> I'll try do that next weekend.
> Anyway the bug will be in any case fixed when plasma-workspace-5.23 will be
> available. Is it correct?
Yes fixed version is 5.23. As you have it marked in the header.

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

[plasmashell] [Bug 438874] Disk & Devices applet doesn't show USB removable devices and SD cards after disconnecting and re-connecting them

2021-09-19 Thread Patrick Silva
https://bugs.kde.org/show_bug.cgi?id=438874

Patrick Silva  changed:

   What|Removed |Added

 CC||axel.br...@gmx.de

--- Comment #47 from Patrick Silva  ---
*** Bug 442690 has been marked as a duplicate of this bug. ***

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

[plasmashell] [Bug 438874] Disk & Devices applet doesn't show USB removable devices and SD cards after disconnecting and re-connecting them

2021-09-19 Thread Patrick Silva
https://bugs.kde.org/show_bug.cgi?id=438874

Patrick Silva  changed:

   What|Removed |Added

 CC||david.cortes.rivera@gmail.c
   ||om

--- Comment #48 from Patrick Silva  ---
*** Bug 442718 has been marked as a duplicate of this bug. ***

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

[plasmashell] [Bug 438874] Disk & Devices applet doesn't show USB removable devices and SD cards after disconnecting and re-connecting them

2021-09-22 Thread Michael
https://bugs.kde.org/show_bug.cgi?id=438874

Michael  changed:

   What|Removed |Added

 CC||vor...@gmail.com

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

[plasmashell] [Bug 438874] Disk & Devices applet doesn't show USB removable devices and SD cards after disconnecting and re-connecting them

2021-10-06 Thread Dashon
https://bugs.kde.org/show_bug.cgi?id=438874

Dashon  changed:

   What|Removed |Added

 CC||dashonww...@pm.me

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