<?xml version="1.0" encoding="UTF-8" standalone="yes" ?>
<!DOCTYPE bugzilla SYSTEM "https://bugs.kde.org/page.cgi?id=bugzilla.dtd">

<bugzilla version="5.0.6"
          urlbase="https://bugs.kde.org/"
          
          maintainer="sysadmin@kde.org"
>

    <bug>
          <bug_id>424283</bug_id>
          
          <creation_ts>2020-07-16 11:38:25 +0000</creation_ts>
          <short_desc>Split applet into two: &quot;Power Management&quot; and &quot;Brightness&quot;</short_desc>
          <delta_ts>2023-11-24 23:38:37 +0000</delta_ts>
          <reporter_accessible>1</reporter_accessible>
          <cclist_accessible>1</cclist_accessible>
          <classification_id>4</classification_id>
          <classification>Plasma</classification>
          <product>plasmashell</product>
          <component>Power and Battery  widget</component>
          <version>master</version>
          <rep_platform>Other</rep_platform>
          <op_sys>Linux</op_sys>
          <bug_status>RESOLVED</bug_status>
          <resolution>FIXED</resolution>
          
          <see_also>https://bugs.kde.org/show_bug.cgi?id=415073</see_also>
          <bug_file_loc></bug_file_loc>
          <status_whiteboard></status_whiteboard>
          <keywords>usability</keywords>
          <priority>NOR</priority>
          <bug_severity>wishlist</bug_severity>
          <target_milestone>1.0</target_milestone>
          
          <blocked>448271</blocked>
          <everconfirmed>1</everconfirmed>
          <reporter name="medin">med.medin.2014</reporter>
          <assigned_to name="Kai Uwe Broulik">kde</assigned_to>
          <cc>bugseforuns</cc>
    
    <cc>kde</cc>
    
    <cc>natalie_clarius</cc>
    
    <cc>nate</cc>
    
    <cc>ncqm3qdz</cc>
    
    <cc>now.im.627</cc>
    
    <cc>plasma-bugs-null</cc>
    
    <cc>postix</cc>
          
          <cf_commitlink>https://invent.kde.org/plasma/plasma-workspace/-/commit/0f0975d8c1ded2a65844c5c998a5ae4612fb260b</cf_commitlink>
          <cf_versionfixedin>6.0</cf_versionfixedin>
          <cf_sentryurl></cf_sentryurl>
          <votes>0</votes>

      

      

      

          <comment_sort_order>oldest_to_newest</comment_sort_order>  
          <long_desc isprivate="0" >
    <commentid>1944230</commentid>
    <comment_count>0</comment_count>
    <who name="medin">med.medin.2014</who>
    <bug_when>2020-07-16 11:38:25 +0000</bug_when>
    <thetext>It&apos;s not logical/intuitive to click on icon with battery symbol to change the brightness ! The icon should be changed to &quot;sun&quot; symbol and be like what we see on sound icon, and the battery settings can stay embedded inside the widget.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>1944233</commentid>
    <comment_count>1</comment_count>
    <who name="David Edmundson">kde</who>
    <bug_when>2020-07-16 11:50:03 +0000</bug_when>
    <thetext>Whilst I agree with your comment about it being un-intuitive the proposal has severe drawbacks.

&gt;The icon should be changed to &quot;sun&quot; symbol

Then we&apos;re not showing the battery information in an easily visible place. 
This is important information to surface visually.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>1944235</commentid>
    <comment_count>2</comment_count>
    <who name="medin">med.medin.2014</who>
    <bug_when>2020-07-16 11:57:42 +0000</bug_when>
    <thetext>(In reply to David Edmundson from comment #1)
&gt; Whilst I agree with your comment about it being un-intuitive the proposal
&gt; has severe drawbacks.
&gt; 
&gt; &gt;The icon should be changed to &quot;sun&quot; symbol
&gt; 
&gt; Then we&apos;re not showing the battery information in an easily visible place. 
&gt; This is important information to surface visually.

For me, It&apos;s not logical to always link brightness control with power settings. I can have max brightness with battery mode enabled, and I can have min brightness with AC mode. The only link is the impact of &quot;Save mode&quot; on brightness level which is valid only when battery is used but for desktops or laptops using always AC mode it&apos;s not valid at all.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>1944236</commentid>
    <comment_count>3</comment_count>
    <who name="medin">med.medin.2014</who>
    <bug_when>2020-07-16 12:02:28 +0000</bug_when>
    <thetext>(In reply to David Edmundson from comment #1)
&gt; Whilst I agree with your comment about it being un-intuitive the proposal
&gt; has severe drawbacks.
&gt; 
&gt; &gt;The icon should be changed to &quot;sun&quot; symbol
&gt; 
&gt; Then we&apos;re not showing the battery information in an easily visible place. 
&gt; This is important information to surface visually.

The brightness icon should be separated from battery settings, so the brightness icon is always visible with or without battery used, but the battery icon should be enable only when a battery is detected and shows only battery level status.

The power settings/save mode can always be accessed via global settings.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>1944430</commentid>
    <comment_count>4</comment_count>
    <who name="Nate Graham">nate</who>
    <bug_when>2020-07-17 03:04:34 +0000</bug_when>
    <thetext>There&apos;s some logic to the idea of separating brightness settings from battery settings. All systems will have brightness control, while not all have any batteries or battery-powered devices connected.

We need a place for laptop users to be able to easily see their battery status, and there are plans afoot to add power profiles to that applet too. So we can&apos;t just delete the battery applet and make all of its settings only accessible in System settings.

Thus, we would need two applets: one for screen/keyboard brightness, and another one for battery and power management stuff. Doing this would result in people with laptops and battery-powered connected devices gaining an additional System Tray icon. I guess that&apos;s not a serious problem, but some people really don&apos;t like having tons and tons of items in their System Tray. Also, when you want to save power, reducing the brightness is one of the best ways to do it, so it makes a bit of sense to have brightness be in the power management applet.

Undecided. Perhaps the icon itself could somehow be changed to visually incorporate brightness as well?</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>1976736</commentid>
    <comment_count>5</comment_count>
    <who name="Nowshed H. Imran">now.im.627</who>
    <bug_when>2020-11-19 16:36:42 +0000</bug_when>
    <thetext>I would like to propose a solution. It is ok not separating the icons. 
However, as soon as the AC power is connected, the battery icon gets hidden in status and notification menu. 
So, if I need to change the brightness, I can&apos;t do it with a single tap.
Solution: Battery icon is always visible in taskbar.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>2090101</commentid>
    <comment_count>6</comment_count>
    <who name="Nate Graham">nate</who>
    <bug_when>2022-01-04 17:45:44 +0000</bug_when>
    <thetext>Now that Bug 415073 is fixed, this is now only relevant for machines with batteries.

The only real fix I can think of is to split the applet&apos;s content into two new ones:

Power Management
- Battery information
- Sleep &amp; Screen locking blocking checkbox
- Power profiles

Brightness
- Screen brightness
- Keyboard brightness


Not sure how desirable that would be though. Would need more discussion. Lowering priority.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>2090702</commentid>
    <comment_count>7</comment_count>
    <who name="Nowshed H. Imran">now.im.627</who>
    <bug_when>2022-01-07 11:16:02 +0000</bug_when>
    <thetext>That would be the perfect solution. Splitting these two would make these two options more modular.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>2091591</commentid>
    <comment_count>8</comment_count>
    <who name="Photon">ncqm3qdz</who>
    <bug_when>2022-01-10 06:31:32 +0000</bug_when>
    <thetext>Hey, what about adding nightlight controls (warmer, cooler) in the brightness applet? Just like this concept: https://www.reddit.com/r/kde/comments/rzvw1u/redesign_concepts_and_ideas_for_plasma_yay_or_nay/</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>2091689</commentid>
    <comment_count>9</comment_count>
    <who name="Nowshed H. Imran">now.im.627</who>
    <bug_when>2022-01-10 11:54:45 +0000</bug_when>
    <thetext>This might work.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>2091739</commentid>
    <comment_count>10</comment_count>
    <who name="Nate Graham">nate</who>
    <bug_when>2022-01-10 15:11:33 +0000</bug_when>
    <thetext>That&apos;s a good idea IMO, but unrelated to this bug report; can you file a new one requesting that?</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>2092156</commentid>
    <comment_count>11</comment_count>
    <who name="Nowshed H. Imran">now.im.627</who>
    <bug_when>2022-01-11 17:05:54 +0000</bug_when>
    <thetext>Repoted here:

https://bugs.kde.org/show_bug.cgi?id=448271</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>2264249</commentid>
    <comment_count>12</comment_count>
    <who name="Bug Janitor Service">bug-janitor</who>
    <bug_when>2023-11-08 21:32:18 +0000</bug_when>
    <thetext>A possibly relevant merge request was started @ https://invent.kde.org/plasma/plasma-workspace/-/merge_requests/3504</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>2266868</commentid>
    <comment_count>13</comment_count>
    <who name="Natalie Clarius">natalie_clarius</who>
    <bug_when>2023-11-18 18:12:26 +0000</bug_when>
    <thetext>Git commit 0f0975d8c1ded2a65844c5c998a5ae4612fb260b by Natalie Clarius.
Committed on 18/11/2023 at 18:49.
Pushed by nclarius into branch &apos;master&apos;.

applets: split battery and brightness

Closes: #93

FIXED-IN: 6.0

M  +1    -0    applets/CMakeLists.txt
M  +1    -74   applets/batterymonitor/package/contents/ui/PopupDialog.qml
M  +3    -0    applets/batterymonitor/package/contents/ui/PowerProfileItem.qml
M  +0    -20   applets/batterymonitor/package/contents/ui/logic.js
M  +11   -84   applets/batterymonitor/package/contents/ui/main.qml
M  +2    -106  applets/batterymonitor/package/metadata.json
A  +3    -0    applets/brightness/CMakeLists.txt
A  +2    -0    applets/brightness/Messages.sh
R  +0    -0    applets/brightness/package/contents/ui/BrightnessItem.qml [from: applets/batterymonitor/package/contents/ui/BrightnessItem.qml - 100% similarity]
A  +42   -0    applets/brightness/package/contents/ui/CompactRepresentation.qml     [License: LGPL(v2.0+)]
A  +128  -0    applets/brightness/package/contents/ui/PopupDialog.qml     [License: LGPL(v2.0+)]
A  +27   -0    applets/brightness/package/contents/ui/logic.js
A  +186  -0    applets/brightness/package/contents/ui/main.qml     [License: LGPL(v2.0+)]
A  +127  -0    applets/brightness/package/metadata.json

https://invent.kde.org/plasma/plasma-workspace/-/commit/0f0975d8c1ded2a65844c5c998a5ae4612fb260b</thetext>
  </long_desc>
      
      

    </bug>

</bugzilla>