[frameworks-solid] [Bug 270808] External hard disks should be spun down when 'safely removed'

2019-10-25 Thread Gordon Lack
https://bugs.kde.org/show_bug.cgi?id=270808

Gordon Lack  changed:

   What|Removed |Added

 CC||gordon.l...@dsl.pipex.com

--- Comment #69 from Gordon Lack  ---
And powering off an external drive can be a real pain, as I then need to
physically unplug and re-insert as device if I want to use it again.

I may well want to unmount a device (as I don;t need it "now"), but leave it
plugged in as I may need it later.

So I've opened https://bugs.launchpad.net/ubuntu/+source/dolphin/+bug/1827778
to re-add the option to *just* unmount a device.

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

[frameworks-solid] [Bug 270808] External hard disks should be spun down when 'safely removed'

2019-06-28 Thread bugzilla_noreply
https://bugs.kde.org/show_bug.cgi?id=270808

mikz...@gmail.com changed:

   What|Removed |Added

 CC||mikz...@gmail.com

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

[frameworks-solid] [Bug 270808] External hard disks should be spun down when 'safely removed'

2019-01-27 Thread Vincas Dargis
https://bugs.kde.org/show_bug.cgi?id=270808

--- Comment #68 from Vincas Dargis  ---
External HDD now spins down in Debian Buster! Thanks!

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

[frameworks-solid] [Bug 270808] External hard disks should be spun down when 'safely removed'

2018-10-14 Thread Bonne Eggleston
https://bugs.kde.org/show_bug.cgi?id=270808

Bonne Eggleston  changed:

   What|Removed |Added

 CC|bo...@ixum.net  |

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

[frameworks-solid] [Bug 270808] External hard disks should be spun down when 'safely removed'

2018-10-14 Thread Nate Graham
https://bugs.kde.org/show_bug.cgi?id=270808

Nate Graham  changed:

   What|Removed |Added

 CC||prote...@hotmail.it

--- Comment #67 from Nate Graham  ---
*** Bug 399792 has been marked as a duplicate of this bug. ***

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

[frameworks-solid] [Bug 270808] External hard disks should be spun down when 'safely removed'

2018-10-08 Thread Stefan Brüns
https://bugs.kde.org/show_bug.cgi?id=270808

Stefan Brüns  changed:

   What|Removed |Added

  Latest Commit||https://commits.kde.org/sol
   ||id/867f53608d3a5145e3380e8c
   ||1686f40be8f06c31
 Resolution|--- |FIXED
 Status|REOPENED|RESOLVED

--- Comment #66 from Stefan Brüns  ---
Git commit 867f53608d3a5145e3380e8c1686f40be8f06c31 by Stefan Brüns.
Committed on 08/10/2018 at 19:42.
Pushed by bruns into branch 'master'.

[UDisks2] Power down drive on remove if supported

Summary:
It is preferable to to do a controlled shutdown prior to disconnecting
and eventually cutting of power to the drive.
Closes T9730

Test Plan:
Connect external drive, select "Savely Remove" from context menu
1. if drive has only on partition, fs is unmounted and drive spins down
2. if drive has multiple partitions:
 a) first (not last) partition can be unmounted and remounted
 b) "Remove"ing last partition spins down drive

Reviewers: #frameworks, ngraham, broulik

Reviewed By: ngraham, broulik

Subscribers: broulik, kde-frameworks-devel, ngraham

Tags: #frameworks

Maniphest Tasks: T9730

Differential Revision: https://phabricator.kde.org/D15932

M  +10   -1src/solid/devices/backends/udisks2/udisksstorageaccess.cpp

https://commits.kde.org/solid/867f53608d3a5145e3380e8c1686f40be8f06c31

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

[frameworks-solid] [Bug 270808] External hard disks should be spun down when 'safely removed'

2018-09-23 Thread Stefan Brüns
https://bugs.kde.org/show_bug.cgi?id=270808

Stefan Brüns  changed:

   What|Removed |Added

 CC||stefan.bruens@rwth-aachen.d
   ||e

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

[frameworks-solid] [Bug 270808] External hard disks should be spun down when 'safely removed'

2018-07-08 Thread bugzilla_noreply
https://bugs.kde.org/show_bug.cgi?id=270808

haps...@mail.com changed:

   What|Removed |Added

 CC||haps...@mail.com

--- Comment #65 from haps...@mail.com ---
Adding to this request. Every other distro I have used powers off the spinning
HDDs when "ejecting" or "safely removing". This is a fundamental behavior and
can cause damage to drives when people are on KDE but muscle memory from other
distros takes over. Please either build in the power off to "safely remove
drive" as other distros do, or add another option that does include powering
down like "eject and poweroff" etc. Users shouldnt need to take multiple steps
in disk utilities or the terminal to do this simple task.

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

[frameworks-solid] [Bug 270808] External hard disks should be spun down when 'safely removed'

2018-06-17 Thread Rooty
https://bugs.kde.org/show_bug.cgi?id=270808

Rooty  changed:

   What|Removed |Added

 CC||zy...@gmx.us

--- Comment #64 from Rooty  ---
(In reply to Filip from comment #63)
> I did not have success with the .desktop file that was attached in this
> thread, but I did with this other one found on Reddit so I'm copy pasting it:
> 
> "I think I've found a workaround (at least for me). Create a file called
> poweroff.desktop at ~/.local/share/solid/actions/ with the following content:
> 
> [Desktop Action open]
> Exec=solid-hardware unmount %i   udisksctl power-off -b %d
> Icon=kt-stop
> Name=Power off device
> 
> [Desktop Entry]
> Actions=open;
> Type=Service
> X-KDE-Action-Custom=true
> X-KDE-Solid-Predicate=[ IS StorageVolume AND StorageVolume.ignored == false ]
> 
> Then log out and in again. The file creates a new entry for the device
> notifier in the control panel to power off the device. The command first
> unmounts the drive and then powers it off. In contrast to OP's experience my
> external HDD stays off and doesn't restart again." - by a user who's now
> deleted his post or even account

i had to modify this a little bit to make it work with the latest edition of
plasma:


[Desktop Action open]
Exec=udisksctl unmount -b %d;  udisksctl power-off -b %d
Icon=kt-stop
Name=Power off device

[Desktop Entry]
Actions=open;
Type=Service
X-KDE-Action-Custom=true
X-KDE-Solid-Predicate=[ IS StorageVolume AND StorageVolume.ignored == false 

(changed solid-hardware unmount to udisksctl unmount)

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

[frameworks-solid] [Bug 270808] External hard disks should be spun down when 'safely removed'

2018-06-17 Thread Filip
https://bugs.kde.org/show_bug.cgi?id=270808

--- Comment #63 from Filip  ---
I did not have success with the .desktop file that was attached in this thread,
but I did with this other one found on Reddit so I'm copy pasting it:

"I think I've found a workaround (at least for me). Create a file called
poweroff.desktop at ~/.local/share/solid/actions/ with the following content:

[Desktop Action open]
Exec=solid-hardware unmount %i   udisksctl power-off -b %d
Icon=kt-stop
Name=Power off device

[Desktop Entry]
Actions=open;
Type=Service
X-KDE-Action-Custom=true
X-KDE-Solid-Predicate=[ IS StorageVolume AND StorageVolume.ignored == false ]

Then log out and in again. The file creates a new entry for the device notifier
in the control panel to power off the device. The command first unmounts the
drive and then powers it off. In contrast to OP's experience my external HDD
stays off and doesn't restart again." - by a user who's now deleted his post or
even account

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

[frameworks-solid] [Bug 270808] External hard disks should be spun down when 'safely removed'

2018-06-17 Thread David
https://bugs.kde.org/show_bug.cgi?id=270808

David  changed:

   What|Removed |Added

 CC||medzern...@gmail.com

--- Comment #62 from David  ---
(In reply to Nate Graham from comment #58)
> We don't need more information; what we need is for someone who has
> familiarity with the code involved to fix it. In FOSS, the general
> limitation is manpower.

Can't we implement the script someone provided here as the solution for the
bug? This should get fixed immediately and this could work somehow?

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

[frameworks-solid] [Bug 270808] External hard disks should be spun down when 'safely removed'

2018-05-25 Thread Francesco Turco
https://bugs.kde.org/show_bug.cgi?id=270808

Francesco Turco  changed:

   What|Removed |Added

 CC||ftu...@fastmail.fm

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

[frameworks-solid] [Bug 270808] External hard disks should be spun down when 'safely removed'

2018-04-29 Thread Christoph Feck
https://bugs.kde.org/show_bug.cgi?id=270808

Christoph Feck  changed:

   What|Removed |Added

 CC||fadem...@gmail.com

--- Comment #61 from Christoph Feck  ---
*** Bug 393632 has been marked as a duplicate of this bug. ***

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

[frameworks-solid] [Bug 270808] External hard disks should be spun down when 'safely removed'

2018-04-19 Thread Nate Graham
https://bugs.kde.org/show_bug.cgi?id=270808

--- Comment #60 from Nate Graham  ---
I do too! :)

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

[frameworks-solid] [Bug 270808] External hard disks should be spun down when 'safely removed'

2018-04-19 Thread Glut
https://bugs.kde.org/show_bug.cgi?id=270808

--- Comment #59 from Glut  ---
@Michael Heidelbach:

Thanks a lot for the custom eject action! I've just set it up and it seems like
it's working perfectly so far.

@Nate:

I understand. I'm sorry if my last comment came off as antagonistic. I
appreciate all the time and effort you and all the other KDE contributors put
into these projects. It's just that issues with the core system like these can
be very frustrating sometimes – especially if they've been open for so long and
you feel like there's nothing you can do to help move things along.

I really do hope that somebody picks this up eventually.

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

[frameworks-solid] [Bug 270808] External hard disks should be spun down when 'safely removed'

2018-04-18 Thread Nate Graham
https://bugs.kde.org/show_bug.cgi?id=270808

--- Comment #58 from Nate Graham  ---
We don't need more information; what we need is for someone who has familiarity
with the code involved to fix it. In FOSS, the general limitation is manpower.

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

[frameworks-solid] [Bug 270808] External hard disks should be spun down when 'safely removed'

2018-04-16 Thread bugzilla_noreply
https://bugs.kde.org/show_bug.cgi?id=270808

--- Comment #57 from yst...@posteo.net ---
Can Framework's specific method of ejecting a harddrive be invoked from the
command line, for debugging purposes?

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

[frameworks-solid] [Bug 270808] External hard disks should be spun down when 'safely removed'

2018-04-16 Thread bugzilla_noreply
https://bugs.kde.org/show_bug.cgi?id=270808

yst...@posteo.net changed:

   What|Removed |Added

Version|5.4.0   |5.44.0

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

[frameworks-solid] [Bug 270808] External hard disks should be spun down when 'safely removed'

2018-04-16 Thread Glut
https://bugs.kde.org/show_bug.cgi?id=270808

Glut  changed:

   What|Removed |Added

 CC||glutbugrepo...@gmail.com

--- Comment #56 from Glut  ---
I can confirm this on Kubuntu 18.04, KDE frameworks v. 5.44.0.

Cutting the connection manually after "safely removing" a drive makes an awful
noise and leaves me wondering each time how many days I've shaved off of the
drive's life time.

Seriously though, this seems like such an important issue that I really do need
to ask why this has yet to be addressed after 5 years? I would absolutely
understand if this were an incredibly complex and novel problem that nobody in
the Linux world has been able to fix yet, but it seems like all distros outside
of KDE have found a solution for it. So what gives?

If there is any additional information you need us to provide to help with
tracking this down, please let us now. I'm sure that everyone subscribed to
this bug report is annoyed enough by this issue to invest as much time as they
can to help with fixing it.

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

[frameworks-solid] [Bug 270808] External hard disks should be spun down when 'safely removed'

2018-02-26 Thread bugzilla_noreply
https://bugs.kde.org/show_bug.cgi?id=270808

jeremy9...@gmail.com changed:

   What|Removed |Added

 CC||jeremy9...@gmail.com

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

[frameworks-solid] [Bug 270808] External hard disks should be spun down when 'safely removed'

2018-02-25 Thread Nate Graham
https://bugs.kde.org/show_bug.cgi?id=270808

Nate Graham  changed:

   What|Removed |Added

Summary|KDE should spin-down|External hard disks should
   |external hard disks when|be spun down when 'safely
   |'safely removed'|removed'

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