[prev in list] [next in list] [prev in thread] [next in thread] 

List:       kde-frameworks-devel
Subject:    Re: Review Request 127926: KNotifyConfigWidget: add disableAllSounds() method
From:       David Faure <faure () kde ! org>
Date:       2016-06-28 8:34:05
Message-ID: 20160628083405.5107.60525 () mimi ! kde ! org
[Download RAW message or body]

--===============6608987563075772738==
MIME-Version: 1.0
Content-Type: text/plain; charset="utf-8"
Content-Transfer-Encoding: 7bit


-----------------------------------------------------------
This is an automatically generated e-mail. To reply, visit:
https://git.reviewboard.kde.org/r/127926/
-----------------------------------------------------------

(Updated June 28, 2016, 2:04 p.m.)


Status
------

This change has been marked as submitted.


Review request for KDE Frameworks, David Edmundson and Olivier Goffart.


Changes
-------

Submitted with commit 9d5440c14cf9e8107f2cb270ad69cec98ab9303c by David Faure to \
branch master.


Bugs: 157272
    https://bugs.kde.org/show_bug.cgi?id=157272


Repository: knotifyconfig


Description
-------

This saves a lot of clicking compared to selecting each event
in the list and unchecking the "Play sound" checkbox, something
I have to do any time I set up a new computer (for me or around the office).

CCBUG: 157272


Diffs
-----

  src/knotifyconfigwidget.h bf122bd9e30982f0fa0d022d04aeadee4fb181dc 
  src/knotifyconfigwidget.cpp 06125ea9da565cbc14c8afa1155c723605b42da6 
  src/knotifyeventlist.h b6bd43ed40f9b2a18d41300760a6c01dca52907d 
  src/knotifyeventlist.cpp 6913148869a7be6b267668e44888f1a432b2396b 

Diff: https://git.reviewboard.kde.org/r/127926/diff/


Testing
-------

I'm calling this method from a button in the KCM: \
http://www.davidfaure.fr/2016/kcmnotify.diff

My initial idea was a "disable all sounds for all event sources" button, but the \
underlying classes don't make this easy to support (I'd have to literally set every \
item as current in the combo, leading to a strange user-visible automation \
happening). Disabling all sounds for the current event source (app) is already quite \
a time saver. Plus this way the change isn't saved yet, it can still be cancelled by \
pressing Cancel, like any other change -except- selecting another app.


Thanks,

David Faure


--===============6608987563075772738==
MIME-Version: 1.0
Content-Type: text/html; charset="utf-8"
Content-Transfer-Encoding: 7bit




<html>
 <body>
  <div style="font-family: Verdana, Arial, Helvetica, Sans-Serif;">
   <table bgcolor="#f9f3c9" width="100%" cellpadding="12" style="border: 1px #c9c399 \
solid; border-radius: 6px; -moz-border-radius: 6px; -webkit-border-radius: 6px;">  \
<tr>  <td>
      This is an automatically generated e-mail. To reply, visit:
      <a href="https://git.reviewboard.kde.org/r/127926/">https://git.reviewboard.kde.org/r/127926/</a>
  </td>
    </tr>
   </table>
   <br />



<table bgcolor="#e0e0e0" width="100%" cellpadding="12" style="border: 1px gray solid; \
border-radius: 6px; -moz-border-radius: 6px; -webkit-border-radius: 6px;">  <tr>
  <td>
   <h1 style="margin: 0; padding: 0; font-size: 10pt;">This change has been marked as \
submitted.</h1>  </td>
 </tr>
</table>
<br />


<table bgcolor="#fefadf" width="100%" cellspacing="0" cellpadding="12" style="border: \
1px #888a85 solid; border-radius: 6px; -moz-border-radius: 6px; \
-webkit-border-radius: 6px;">  <tr>
  <td>

<div>Review request for KDE Frameworks, David Edmundson and Olivier Goffart.</div>
<div>By David Faure.</div>


<p style="color: grey;"><i>Updated June 28, 2016, 2:04 p.m.</i></p>



<h1 style="color: #575012; font-size: 10pt; margin-top: 1.5em;">Changes</h1>
<table width="100%" bgcolor="#ffffff" cellspacing="0" cellpadding="10" style="border: \
1px solid #b8b5a0">  <tr>
  <td>
   <pre style="margin: 0; padding: 0; white-space: pre-wrap; white-space: \
-moz-pre-wrap; white-space: -pre-wrap; white-space: -o-pre-wrap; word-wrap: \
break-word;">Submitted with commit 9d5440c14cf9e8107f2cb270ad69cec98ab9303c by David \
Faure to branch master.</pre>  </td>
 </tr>
</table>





<div style="margin-top: 1.5em;">
 <b style="color: #575012; font-size: 10pt; margin-top: 1.5em;">Bugs: </b>


 <a href="https://bugs.kde.org/show_bug.cgi?id=157272">157272</a>


</div>



<div style="margin-top: 1.5em;">
 <b style="color: #575012; font-size: 10pt;">Repository: </b>
knotifyconfig
</div>


<h1 style="color: #575012; font-size: 10pt; margin-top: 1.5em;">Description </h1>
 <table width="100%" bgcolor="#ffffff" cellspacing="0" cellpadding="10" \
style="border: 1px solid #b8b5a0">  <tr>
  <td>
   <pre style="margin: 0; padding: 0; white-space: pre-wrap; white-space: \
-moz-pre-wrap; white-space: -pre-wrap; white-space: -o-pre-wrap; word-wrap: \
break-word;">This saves a lot of clicking compared to selecting each event in the \
list and unchecking the &quot;Play sound&quot; checkbox, something I have to do any \
time I set up a new computer (for me or around the office).

CCBUG: 157272</pre>
  </td>
 </tr>
</table>


<h1 style="color: #575012; font-size: 10pt; margin-top: 1.5em;">Testing </h1>
<table width="100%" bgcolor="#ffffff" cellspacing="0" cellpadding="10" style="border: \
1px solid #b8b5a0">  <tr>
  <td>
   <pre style="margin: 0; padding: 0; white-space: pre-wrap; white-space: \
-moz-pre-wrap; white-space: -pre-wrap; white-space: -o-pre-wrap; word-wrap: \
break-word;"><p style="padding: 0;text-rendering: inherit;margin: 0;line-height: \
inherit;white-space: inherit;">I'm calling this method from a button in the KCM: \
http://www.davidfaure.fr/2016/kcmnotify.diff</p> <p style="padding: 0;text-rendering: \
inherit;margin: 0;line-height: inherit;white-space: inherit;">My initial idea was a \
"disable all sounds for all event sources" button, but the underlying classes don't \
make this easy to support (I'd have to literally set every item as current in the \
combo, leading to a strange user-visible automation happening). Disabling all sounds \
for the current event source (app) is already quite a time saver. Plus this way the \
change isn't saved yet, it can still be cancelled by pressing Cancel, like any other \
change -except- selecting another app.</p></pre>  </td>
 </tr>
</table>


<h1 style="color: #575012; font-size: 10pt; margin-top: 1.5em;">Diffs</b> </h1>
<ul style="margin-left: 3em; padding-left: 0;">

 <li>src/knotifyconfigwidget.h <span style="color: \
grey">(bf122bd9e30982f0fa0d022d04aeadee4fb181dc)</span></li>

 <li>src/knotifyconfigwidget.cpp <span style="color: \
grey">(06125ea9da565cbc14c8afa1155c723605b42da6)</span></li>

 <li>src/knotifyeventlist.h <span style="color: \
grey">(b6bd43ed40f9b2a18d41300760a6c01dca52907d)</span></li>

 <li>src/knotifyeventlist.cpp <span style="color: \
grey">(6913148869a7be6b267668e44888f1a432b2396b)</span></li>

</ul>

<p><a href="https://git.reviewboard.kde.org/r/127926/diff/" style="margin-left: \
3em;">View Diff</a></p>






  </td>
 </tr>
</table>



  </div>
 </body>
</html>


--===============6608987563075772738==--


[Attachment #3 (text/plain)]

_______________________________________________
Kde-frameworks-devel mailing list
Kde-frameworks-devel@kde.org
https://mail.kde.org/mailman/listinfo/kde-frameworks-devel


[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic