[Discover] [Bug 401304] maybe inhibit suspend during updates

2022-08-24 Thread Nate Graham
https://bugs.kde.org/show_bug.cgi?id=401304

Nate Graham  changed:

   What|Removed |Added

   Version Fixed In||5.24.7

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

[Discover] [Bug 401304] maybe inhibit suspend during updates

2022-08-24 Thread Aleix Pol
https://bugs.kde.org/show_bug.cgi?id=401304

Aleix Pol  changed:

   What|Removed |Added

  Latest Commit|https://invent.kde.org/plas |https://invent.kde.org/plas
   |ma/discover/commit/70298e93 |ma/discover/commit/6a5b8622
   |11a7a336f2c0b7ee2a5c8f2bff0 |98989b66854abf05039618d629f
   |69dfd   |e7f69

--- Comment #11 from Aleix Pol  ---
Git commit 6a5b862298989b66854abf05039618d629fe7f69 by Aleix Pol Gonzalez, on
behalf of Aleix Pol i Gonzalez.
Committed on 24/08/2022 at 09:22.
Pushed by apol into branch 'Plasma/5.24'.

Request inhibiting sleep while transactions are on


(cherry picked from commit db089e0dc29cf33c0112cc2649d37da1d6cd7386)

M  +1-0discover/CMakeLists.txt
M  +2-0discover/DiscoverObject.cpp
A  +159  -0discover/PowerManagementInterface.cpp [License: LGPL(v3.0+)]
A  +76   -0discover/PowerManagementInterface.h [License: LGPL(v3.0+)]
M  +5-0discover/qml/DiscoverWindow.qml
M  +13   -0libdiscover/Transaction/TransactionModel.cpp
M  +4-0libdiscover/Transaction/TransactionModel.h

https://invent.kde.org/plasma/discover/commit/6a5b862298989b66854abf05039618d629fe7f69

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

[Discover] [Bug 401304] maybe inhibit suspend during updates

2022-08-24 Thread Aleix Pol
https://bugs.kde.org/show_bug.cgi?id=401304

Aleix Pol  changed:

   What|Removed |Added

  Latest Commit|https://invent.kde.org/plas |https://invent.kde.org/plas
   |ma/discover/commit/db089e0d |ma/discover/commit/70298e93
   |c29cf33c0112cc2649d37da1d6c |11a7a336f2c0b7ee2a5c8f2bff0
   |d7386   |69dfd

--- Comment #10 from Aleix Pol  ---
Git commit 70298e9311a7a336f2c0b7ee2a5c8f2bff069dfd by Aleix Pol Gonzalez, on
behalf of Aleix Pol i Gonzalez.
Committed on 24/08/2022 at 09:21.
Pushed by apol into branch 'Plasma/5.25'.

Request inhibiting sleep while transactions are on


(cherry picked from commit db089e0dc29cf33c0112cc2649d37da1d6cd7386)

M  +1-0discover/CMakeLists.txt
M  +2-0discover/DiscoverObject.cpp
A  +159  -0discover/PowerManagementInterface.cpp [License: LGPL(v3.0+)]
A  +76   -0discover/PowerManagementInterface.h [License: LGPL(v3.0+)]
M  +5-0discover/qml/DiscoverWindow.qml
M  +13   -0libdiscover/Transaction/TransactionModel.cpp
M  +4-0libdiscover/Transaction/TransactionModel.h

https://invent.kde.org/plasma/discover/commit/70298e9311a7a336f2c0b7ee2a5c8f2bff069dfd

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

[Discover] [Bug 401304] maybe inhibit suspend during updates

2022-08-24 Thread Aleix Pol
https://bugs.kde.org/show_bug.cgi?id=401304

Aleix Pol  changed:

   What|Removed |Added

 Resolution|--- |FIXED
 Status|ASSIGNED|RESOLVED
  Latest Commit||https://invent.kde.org/plas
   ||ma/discover/commit/db089e0d
   ||c29cf33c0112cc2649d37da1d6c
   ||d7386

--- Comment #9 from Aleix Pol  ---
Git commit db089e0dc29cf33c0112cc2649d37da1d6cd7386 by Aleix Pol i Gonzalez.
Committed on 24/08/2022 at 00:07.
Pushed by apol into branch 'master'.

Request inhibiting sleep while transactions are on

M  +1-0discover/CMakeLists.txt
M  +2-0discover/DiscoverObject.cpp
A  +159  -0discover/PowerManagementInterface.cpp [License: LGPL(v3.0+)]
A  +76   -0discover/PowerManagementInterface.h [License: LGPL(v3.0+)]
M  +5-0discover/qml/DiscoverWindow.qml
M  +13   -0libdiscover/Transaction/TransactionModel.cpp
M  +4-0libdiscover/Transaction/TransactionModel.h

https://invent.kde.org/plasma/discover/commit/db089e0dc29cf33c0112cc2649d37da1d6cd7386

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

[Discover] [Bug 401304] maybe inhibit suspend during updates

2022-08-23 Thread Bug Janitor Service
https://bugs.kde.org/show_bug.cgi?id=401304

Bug Janitor Service  changed:

   What|Removed |Added

 Status|CONFIRMED   |ASSIGNED

--- Comment #8 from Bug Janitor Service  ---
A possibly relevant merge request was started @
https://invent.kde.org/plasma/discover/-/merge_requests/352

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

[Discover] [Bug 401304] maybe inhibit suspend during updates

2022-08-22 Thread Nate Graham
https://bugs.kde.org/show_bug.cgi?id=401304

--- Comment #7 from Nate Graham  ---
When we're inhibiting suspend, it only inhibits *automatic* suspend; you can
still suspend manually by clicking "Sleep" in Kickoff etc. or closing your
laptop's lid. So if we implement this, it wont hurt anything if you for example
absent-mindedly start an update and then close your laptop lid to take it
somewhere.

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

[Discover] [Bug 401304] maybe inhibit suspend during updates

2022-07-23 Thread Reziac
https://bugs.kde.org/show_bug.cgi?id=401304

Reziac  changed:

   What|Removed |Added

 CC||r...@doomgold.com

--- Comment #6 from Reziac  ---
Geez yes. I stopped using Discover for updates, because suspend halts the
download in midstream (almost every time given how slow my connection is),
sometimes halts installation, and then I have to use the CLI to make it finish
anyway. Please, give us an option to NOT SUSPEND AT ALL until the whole update
process is finished.

[To be fair, I have the same issue with Synaptic. Is there any way to intercept
"software installation" and make it NOT SUSPEND regardless of which software
manager is in use?]

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

[Discover] [Bug 401304] maybe inhibit suspend during updates

2022-07-22 Thread Nate Graham
https://bugs.kde.org/show_bug.cgi?id=401304

Nate Graham  changed:

   What|Removed |Added

   Assignee|aleix...@kde.org|plasma-b...@kde.org
 CC||aleix...@kde.org

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

[Discover] [Bug 401304] maybe inhibit suspend during updates

2022-06-29 Thread Gurenko Alex
https://bugs.kde.org/show_bug.cgi?id=401304

Gurenko Alex  changed:

   What|Removed |Added

 CC||agure...@protonmail.com

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

[Discover] [Bug 401304] maybe inhibit suspend during updates

2022-04-24 Thread Raphaël Jakse
https://bugs.kde.org/show_bug.cgi?id=401304

Raphaël Jakse  changed:

   What|Removed |Added

 CC||raphael@jakse.fr

--- Comment #5 from Raphaël Jakse  ---
Zypper on openSUSE indeed does this: it blocks the computer from going to
suspend during updates.

> Concerns raised: what if the user closes the lid and puts the laptop in a bag?

It indeed happened to me several times that the system refuses to go on suspend
without me noticing because of an update. I'm often not putting the computer in
my bag at those times. When I put the computer in my bag, I'm extra careful
that it did go to suspend.

I have two imperfect ideas:
 - produce some sort of signal when the system refuses to suspend (for whatever
reason). But the screen is not visible and the sound might be muted (or
undesirable)
 - make sure to put the laptop on suspend after the updates are done. That
would be a neat solution for my case: closing the lead would mean: go to sleep
as soon as possible, after finishing whatever task that needs to be finished
before.

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

[Discover] [Bug 401304] maybe inhibit suspend during updates

2022-01-25 Thread bugzilla_noreply
https://bugs.kde.org/show_bug.cgi?id=401304

kortra...@gmail.com changed:

   What|Removed |Added

 CC||kortra...@gmail.com

--- Comment #4 from kortra...@gmail.com ---
Please implement this. I’ve had instances where a computer would not wake from
suspend (black screen) if suspended during an update. Force shutting it down
resulted in system damage even after waiting 30 mins in hopes that the update
would complete. You are lucky if you get the [Screen locker is broken] message
as opposed to this!

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

[Discover] [Bug 401304] maybe inhibit suspend during updates

2021-03-02 Thread soredake
https://bugs.kde.org/show_bug.cgi?id=401304

soredake  changed:

   What|Removed |Added

 CC||ndrzj1...@relay.firefox.com

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

[Discover] [Bug 401304] maybe inhibit suspend during updates

2021-01-04 Thread Nate Graham
https://bugs.kde.org/show_bug.cgi?id=401304

Nate Graham  changed:

   What|Removed |Added

 Ever confirmed|0   |1
 Status|REPORTED|CONFIRMED

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

[Discover] [Bug 401304] maybe inhibit suspend during updates

2021-01-04 Thread Nate Graham
https://bugs.kde.org/show_bug.cgi?id=401304

Nate Graham  changed:

   What|Removed |Added

 CC||piotr.mierzwin...@gmail.com

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

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

[Discover] [Bug 401304] maybe inhibit suspend during updates

2020-02-21 Thread Aleix Pol
https://bugs.kde.org/show_bug.cgi?id=401304

Aleix Pol  changed:

   What|Removed |Added

Version|5.14.3  |unspecified
   Priority|VHI |HI

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

[Discover] [Bug 401304] maybe inhibit suspend during updates

2020-02-20 Thread David Edmundson
https://bugs.kde.org/show_bug.cgi?id=401304

David Edmundson  changed:

   What|Removed |Added

 CC||k...@davidedmundson.co.uk

--- Comment #2 from David Edmundson  ---
There's also no point inhibiting during the download phase, only the
transaction. I'm not sure if we have access to that.

My gut reaction is this is the job of the underlying package system and any
patches should be submitted there.

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

[Discover] [Bug 401304] maybe inhibit suspend during updates

2019-06-10 Thread Nate Graham
https://bugs.kde.org/show_bug.cgi?id=401304

Nate Graham  changed:

   What|Removed |Added

   Priority|NOR |VHI

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

[Discover] [Bug 401304] maybe inhibit suspend during updates

2019-05-21 Thread Alexander Potashev
https://bugs.kde.org/show_bug.cgi?id=401304

Alexander Potashev  changed:

   What|Removed |Added

 CC||aspotas...@gmail.com

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

[Discover] [Bug 401304] maybe inhibit suspend during updates

2018-11-28 Thread Patrick Silva
https://bugs.kde.org/show_bug.cgi?id=401304

Patrick Silva  changed:

   What|Removed |Added

 CC||bugsefor...@gmx.com

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

[Discover] [Bug 401304] maybe inhibit suspend during updates

2018-11-26 Thread Nate Graham
https://bugs.kde.org/show_bug.cgi?id=401304

Nate Graham  changed:

   What|Removed |Added

 CC||n...@kde.org

--- Comment #1 from Nate Graham  ---
Yes please!

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