[plasmashell] [Bug 502912] Hide "block sleep and screen locking after inactivity" UI section when both sleep and screen locking are disabled

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

--- Comment #9 from Nate Graham  ---
(In reply to FrozenIgni from comment #7)
> I guess the actual proper solution would be a power widget without these
> dialogues, just pure devices I bet that will be useful for laptop and
> handheld device users. (I have this widget on a laptop as well and its
> taking more screen space than it should on a 15 inch screen)

I think the ideal solution is to intelligently hide these features when they
don't make sense. If they do make sense, then hiding them is what doesn't make
sense. :)

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

[plasmashell] [Bug 502912] Hide "block sleep and screen locking after inactivity" UI section when both sleep and screen locking are disabled

2025-04-17 Thread FrozenIgni
https://bugs.kde.org/show_bug.cgi?id=502912

--- Comment #8 from FrozenIgni  ---
(In reply to Nate Graham from comment #6)
> P.S. making local modifications to system-installed widgets is not
> recommended since those modifications will be blown away after every system
> update.
> 
> You might also find some people elsewhere recommending working around this
> by making a local copy of the widget and putting it in
> ~/.local/share/plasma/plasmoids, but that's also a bad idea since your local
> copy will override the system version but you won't be updating it as the
> rest of the system gets updated. As a result, at some unspecified time in
> the future, the widget will break due to incompatibility between your old
> local fork of it and the new systemwide code, but you'll have forgotten
> about this and will open a new bug report about it, and it will take hours
> for all of us to figure out what's going on!
> 
> (if it sounds like this has happened before, the answer is yes :) )

hmm, is it possible to make a copy and name it something completely different ,
then it will be treated as a completely new widget?

I realize this is a niche thing, but so far this has been one of the very few
things I am mildly miffed at (for a lack of a better term) with on KDE. I am
happy with any non breaking work-arounds

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

[plasmashell] [Bug 502912] Hide "block sleep and screen locking after inactivity" UI section when both sleep and screen locking are disabled

2025-04-17 Thread FrozenIgni
https://bugs.kde.org/show_bug.cgi?id=502912

--- Comment #11 from FrozenIgni  ---
(In reply to Nate Graham from comment #9)
> (In reply to FrozenIgni from comment #7)
> > I guess the actual proper solution would be a power widget without these
> > dialogues, just pure devices I bet that will be useful for laptop and
> > handheld device users. (I have this widget on a laptop as well and its
> > taking more screen space than it should on a 15 inch screen)
> 
> I think the ideal solution is to intelligently hide these features when they
> don't make sense. If they do make sense, then hiding them is what doesn't
> make sense. :)

Cool, thanks for taking the time to discuss this.

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

[plasmashell] [Bug 502912] Hide "block sleep and screen locking after inactivity" UI section when both sleep and screen locking are disabled

2025-04-17 Thread FrozenIgni
https://bugs.kde.org/show_bug.cgi?id=502912

--- Comment #7 from FrozenIgni  ---
(In reply to Nate Graham from comment #5)
> You're requesting a feature to hide a feature? :D I don't think we are going
> to do that, sorry.
> 
> I'm also not sure your original premise is correct; you say this is
> completely useless on a desktop machine, but that's not the case because
> desktop systems sleep and lock the screen just like laptops do.
> 
> If you've configured your personal machine to never sleep, then the switch
> still controls screen locking. The only case where this UI element would be
> completely useless if if you've configured your machine to never sleep and
> also never lock the screen — irrespective of whether it's a desktop, laptop,
> or any other kind of device.
> 
> I think it's reasonable to hide the UI when it will have no effect since
> both sleep and screen locking is disabled; renaming this ticket to be about
> that. However note that this is a super niche thing so I would not expect it
> to he implemented anytime soon.

Of course I understand KDE is a big open source project with a ton of existing
things to work on,  I am definitely not expecting it to be worked on anytime
soon, but something that is not reported cannot be worked on, as to the
viability of the scenario, I agree with your comment about the scenario being
niche.

 > The only case where this UI element would be completely useless if if you've
configured your machine to never sleep and also never lock the screen 

Yes, I always configure my desktops to never sleep or lock, I manually lock
them when leaving the desk.

I guess the actual proper solution would be a power widget without these
dialogues, just pure devices I bet that will be useful for laptop and handheld
device users. (I have this widget on a laptop as well and its taking more
screen space than it should on a 15 inch screen)

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

[plasmashell] [Bug 502912] Hide "block sleep and screen locking after inactivity" UI section when both sleep and screen locking are disabled

2025-04-17 Thread Nate Graham
https://bugs.kde.org/show_bug.cgi?id=502912

--- Comment #10 from Nate Graham  ---
(In reply to FrozenIgni from comment #8)
> hmm, is it possible to make a copy and name it something completely
> different , then it will be treated as a completely new widget?

Yes, this will work. You'll have to change the name and ID in the metadata.
Then when the forked widget breaks in the future, it at least won't take any
system functionality with it.

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

[plasmashell] [Bug 502912] Hide "block sleep and screen locking after inactivity" UI section when both sleep and screen locking are disabled

2025-04-17 Thread Nate Graham
https://bugs.kde.org/show_bug.cgi?id=502912

--- Comment #6 from Nate Graham  ---
P.S. making local modifications to system-installed widgets is not recommended
since those modifications will be blown away after every system update.

You might also find some people elsewhere recommending working around this by
making a local copy of the widget and putting it in
~/.local/share/plasma/plasmoids, but that's also a bad idea since your local
copy will override the system version but you won't be updating it as the rest
of the system gets updated. As a result, at some unspecified time in the
future, the widget will break due to incompatibility between your old local
fork of it and the new systemwide code, but you'll have forgotten about this
and will open a new bug report about it, and it will take hours for all of us
to figure out what's going on!

(if it sounds like this has happened before, the answer is yes :) )

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

[plasmashell] [Bug 502912] Hide "block sleep and screen locking after inactivity" UI section when both sleep and screen locking are disabled

2025-04-17 Thread Nate Graham
https://bugs.kde.org/show_bug.cgi?id=502912

Nate Graham  changed:

   What|Removed |Added

  Alias|FrozenIgni  |
Product|kde |plasmashell
 Ever confirmed|0   |1
 Status|REPORTED|CONFIRMED
Summary|Feature request to allow|Hide "block sleep and
   |for a toggle to remove  |screen locking after
   |"Sleep and screen Locking   |inactivity" UI section when
   |after inactivity" UI|both sleep and screen
   |section in power and|locking are disabled
   |battery taskbar and widget  |
   |interface   |
  Component|general |Power and Battery  widget
 CC||[email protected],
   ||[email protected],
   ||[email protected]
   Target Milestone|--- |1.0
Version|unspecified |6.3.4
   Assignee|[email protected] |[email protected]

--- Comment #5 from Nate Graham  ---
You're requesting a feature to hide a feature? :D I don't think we are going to
do that, sorry.

I'm also not sure your original premise is correct; you say this is completely
useless on a desktop machine, but that's not the case because desktop systems
sleep and lock the screen just like laptops do.

If you've configured your personal machine to never sleep, then the switch
still controls screen locking. The only case where this UI element would be
completely useless if if you've configured your machine to never sleep and also
never lock the screen — irrespective of whether it's a desktop, laptop, or any
other kind of device.

I think it's reasonable to hide the UI when it will have no effect since both
sleep and screen locking is disabled; renaming this ticket to be about that.
However note that this is a super niche thing so I would not expect it to he
implemented anytime soon.

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