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

List:       kde-panel-devel
Subject:    Re: Review Request 112208: KMix qml applet
From:       "Christian Esken" <esken () kde ! org>
Date:       2013-11-29 21:17:49
Message-ID: 20131129211749.29283.71242 () vidsolbach ! de
[Download RAW message or body]

[Attachment #2 (multipart/alternative)]


> On Sept. 2, 2013, 10:32 p.m., Sebastian Kügler wrote:
> > I've installed the applet, and had a look in more detail. It's coming along \
> > really nicely, and already feels a lot better than the QWidget-based kmix. :) 
> > Some issues I've found:
> > - Resizing the popup dialog doesn't resize its content, this leads to unfriendly \
> >                 resizing on the one hand, and clipping of the list of channel \
> >                 items on the other
> > - The listview is draggable when it doesn't have to be, use something like \
> > interactive: height < contentsHeight in the ListView to prevent that from \
> >                 happening
> > - The vertical view needs definitely more spacing, if we really want to keep it
> > - Some spacing would do the listview good, this leads to better grouping of the \
> >                 channel items
> > - The item name isn't properly anchored and should either determine the minimum \
> >                 width, or be elided
> > - The percentage on the left hand side should not be bold
> > - The slider feels a bit jerky, this is probably the event round-tripping Xetuan \
> >                 mentions, see that part of the thread
> > - The speaker icon feels a bit weird to mute the channel, I think that's because \
> > it's used with different semantics for the applet as well: open mixer (the panel \
> > icon). Maybe it could be done with a checkbox, and possibly moved to the \
> >                 top-right, so that the layout
> > - The initial values in the config dialog are not set up correctly. Try switching \
> > to master channel only, OK, reopen config dialog: it's set to show all channels. \
> >                 Haven't checked if this is also the case for the orientation
> > - Show all mixers -> "Show all Channels" (i.e. does "mixer" make sense here, or \
> >                 is it really a channel, or a "Volume Control"?
> > - "Mixer slider orientation" -> "Orientation" ?
> > 
> > Overall, nice work. This is good stuff. =)
> 
> Sebastian Kügler wrote:
> Haven't heard about this in a long time, what's the status?
> 
> Diego Casella wrote:
> I'm in a quite busy period lately, but I didn't forget this. I'll be back on it in \
> a week or two :) 
> Christian Esken wrote:
> From the screenshots its starting to look nice. I have a question about how to \
> integrate this. Likely some people will prefer classic tray (e.g. media player \
> control) and others the QML applet (fits KDE better). I would like to see a \
> seamless integration into KMix, so the user is able to choose between classic tray \
> and QML applet, even from within KMix (1). Do you think this is feasible, Diego? Or \
> does anybody else have an opinion about it? 
> --------
> (1) I am currently redoing the configuration dialog using KConfigDialog and am \
> dedicating one Tab to Systray/Sound Menu related features, where this would fit \
> nicely: http://kmix5.wordpress.com/2013/11/26/secret-view-in-the-new-configuration-dialog/
>  
> Diego Casella wrote:
> I think Aaron or Marco have a way better answer than the one i could provide, it's \
> in the earlier comments of this rr.

Thanks for hinting this out. It's a long history, but now I found the comment "it \
would be pretty trivial to add a check in the systemtray to see if the kmix applet \
exists on the system [...]". It sound to me like this is a future (= not yet \
existing) extension to the systemtray. But once its there it could be transpararent \
to KMix. But apsects like global shortcuts (Volume ip/down/mute) and chosing the \
corresponding master control is only in the KMix GUI, so users must be made aware how \
they can change it (by starting KMix). This is probably not obvious. If the Mixer \
configuration would be available in systemsettings, it would be much more visible (as \
I do not know wheter a systemsettings module and a KConfigDialog can easily use \
common code, I will stick with KConfigDialog).


- Christian


-----------------------------------------------------------
This is an automatically generated e-mail. To reply, visit:
http://git.reviewboard.kde.org/r/112208/#review39222
-----------------------------------------------------------


On Aug. 27, 2013, 8:40 a.m., Diego Casella wrote:
> 
> -----------------------------------------------------------
> This is an automatically generated e-mail. To reply, visit:
> http://git.reviewboard.kde.org/r/112208/
> -----------------------------------------------------------
> 
> (Updated Aug. 27, 2013, 8:40 a.m.)
> 
> 
> Review request for Plasma, Aaron J. Seigo, Christian Esken, Marco Martin, and Igor \
> Poboiko. 
> 
> Repository: kmix
> 
> 
> Description
> -------
> 
> KMix qml applet.
> As you can see from the screenshot, the applet is pretty much functional: you can \
> display all the controls available, change its orientation, and decide to whether \
> show all of them or just the Master Control, and refresh its status when new \
> controls are added/removed/updated (such as Amarok current playing track). See \
> screenshots below :) Differences from the old kmix tray:
> * no media player controls ( I never investigated how to get them, but honestly \
> opening the audio applet to change/skip/pause audio track makes little sense to me \
>                 ... if anyone wants this feature back, don't be shy and step in);
> * the button used to select which Mixers are visible has been changed to open \
> Phonon kcm page: since visible mixers are already configurable from KMix app, \
> having a button to show KMix *and* a button to modify Mixers visibilty made little \
> sense here too, so I preferred to give more visibility to Phonon kcm; 
> Known issues:
> * there is still no way to get notified of mouse wheel events over the popupIcon, \
> so it is not possible to scroll over to increase/decrease the master control \
>                 volume;
> * no scroll events over the sliders too;
> * if you want to use the applet you most likely will disable KMix tray icon but, if \
> you do so, KMix will show its GUI at every login and you have to close it manually. \
> This requires KMix to be patched. Furthermore, if you click "KMix Setup" button, \
>                 KMix window will not restored anymore: this needs to be pathed as \
>                 well.
> * resize doesn't work properly.
> 
> 
> Diffs
> -----
> 
> plasma/kmix-applet-qml/contents/ui/HorizontalControl.qml PRE-CREATION 
> plasma/kmix-applet-qml/contents/ui/HorizontalMixerListDelegate.qml PRE-CREATION 
> plasma/kmix-applet-qml/contents/ui/VerticalControl.qml PRE-CREATION 
> 
> Diff: http://git.reviewboard.kde.org/r/112208/diff/
> 
> 
> Testing
> -------
> 
> Tested against master and works fine.
> 
> 
> File Attachments
> ----------------
> 
> Default look
> http://git.reviewboard.kde.org/media/uploaded/files/2013/08/22/kmix_applet.png
> Menu Actions
> http://git.reviewboard.kde.org/media/uploaded/files/2013/08/22/kmix_applet1.png
> Applet Config Options
> http://git.reviewboard.kde.org/media/uploaded/files/2013/08/22/kmix_applet2.png
> Vertical Control
> http://git.reviewboard.kde.org/media/uploaded/files/2013/08/22/kmix_applet3.png
> ToolButton label and Config page after updates
> http://git.reviewboard.kde.org/media/uploaded/files/2013/08/24/kmix_applet5.png
> Control Icon and Label left aligned
> http://git.reviewboard.kde.org/media/uploaded/files/2013/08/27/kmix_applet6.png
> 
> 
> Thanks,
> 
> Diego Casella
> 
> 


[Attachment #5 (text/html)]

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





<blockquote style="margin-left: 1em; border-left: 2px solid #d0d0d0; padding-left: \
10px;">  <p style="margin-top: 0;">On September 2nd, 2013, 10:32 p.m. UTC, \
<b>Sebastian Kügler</b> wrote:</p>  <blockquote style="margin-left: 1em; \
border-left: 2px solid #d0d0d0; padding-left: 10px;">  <pre style="white-space: \
pre-wrap; white-space: -moz-pre-wrap; white-space: -pre-wrap; white-space: \
-o-pre-wrap; word-wrap: break-word;">I&#39;ve installed the applet, and had a look in \
more detail. It&#39;s coming along really nicely, and already feels a lot better than \
the QWidget-based kmix. :)

Some issues I&#39;ve found:
- Resizing the popup dialog doesn&#39;t resize its content, this leads to unfriendly \
                resizing on the one hand, and clipping of the list of channel items \
                on the other
- The listview is draggable when it doesn&#39;t have to be, use something like \
interactive: height &lt; contentsHeight in the ListView to prevent that from \
                happening
- The vertical view needs definitely more spacing, if we really want to keep it
- Some spacing would do the listview good, this leads to better grouping of the \
                channel items
- The item name isn&#39;t properly anchored and should either determine the minimum \
                width, or be elided
- The percentage on the left hand side should not be bold
- The slider feels a bit jerky, this is probably the event round-tripping Xetuan \
                mentions, see that part of the thread
- The speaker icon feels a bit weird to mute the channel, I think that&#39;s because \
it&#39;s used with different semantics for the applet as well: open mixer (the panel \
icon). Maybe it could be done with a checkbox, and possibly moved to the top-right, \
                so that the layout
- The initial values in the config dialog are not set up correctly. Try switching to \
master channel only, OK, reopen config dialog: it&#39;s set to show all channels. \
                Haven&#39;t checked if this is also the case for the orientation
- Show all mixers -&gt; &quot;Show all Channels&quot; (i.e. does &quot;mixer&quot; \
                make sense here, or is it really a channel, or a &quot;Volume \
                Control&quot;?
- &quot;Mixer slider orientation&quot; -&gt; &quot;Orientation&quot; ?

Overall, nice work. This is good stuff. =)</pre>
 </blockquote>




 <p>On November 27th, 2013, 2:58 p.m. UTC, <b>Sebastian Kügler</b> wrote:</p>
 <blockquote style="margin-left: 1em; border-left: 2px solid #d0d0d0; padding-left: \
10px;">  <pre style="white-space: pre-wrap; white-space: -moz-pre-wrap; white-space: \
-pre-wrap; white-space: -o-pre-wrap; word-wrap: break-word;">Haven&#39;t heard about \
this in a long time, what&#39;s the status?</pre>  </blockquote>





 <p>On November 27th, 2013, 4:59 p.m. UTC, <b>Diego Casella</b> wrote:</p>
 <blockquote style="margin-left: 1em; border-left: 2px solid #d0d0d0; padding-left: \
10px;">  <pre style="white-space: pre-wrap; white-space: -moz-pre-wrap; white-space: \
-pre-wrap; white-space: -o-pre-wrap; word-wrap: break-word;">I&#39;m in a quite busy \
period lately, but I didn&#39;t forget this. I&#39;ll be back on it in a week or two \
:)</pre>  </blockquote>





 <p>On November 28th, 2013, 11:44 p.m. UTC, <b>Christian Esken</b> wrote:</p>
 <blockquote style="margin-left: 1em; border-left: 2px solid #d0d0d0; padding-left: \
10px;">  <pre style="white-space: pre-wrap; white-space: -moz-pre-wrap; white-space: \
-pre-wrap; white-space: -o-pre-wrap; word-wrap: break-word;">From the screenshots its \
starting to look nice. I have a question about how to integrate this. Likely some \
people will prefer classic tray (e.g. media player control) and others the QML applet \
(fits KDE better). I would like to see a seamless integration into KMix, so the user \
is able to choose between classic tray and QML applet, even from within KMix (1). Do \
you think this is feasible, Diego? Or does anybody else have an opinion about it?

--------
(1) I am currently redoing the configuration dialog using KConfigDialog and am \
dedicating one Tab to Systray/Sound Menu related features, where this would fit \
nicely: http://kmix5.wordpress.com/2013/11/26/secret-view-in-the-new-configuration-dialog/</pre>
  </blockquote>





 <p>On November 29th, 2013, 5:24 p.m. UTC, <b>Diego Casella</b> wrote:</p>
 <blockquote style="margin-left: 1em; border-left: 2px solid #d0d0d0; padding-left: \
10px;">  <pre style="white-space: pre-wrap; white-space: -moz-pre-wrap; white-space: \
-pre-wrap; white-space: -o-pre-wrap; word-wrap: break-word;">I think Aaron or Marco \
have a way better answer than the one i could provide, it&#39;s in the earlier \
comments of this rr.</pre>  </blockquote>








</blockquote>

<pre style="white-space: pre-wrap; white-space: -moz-pre-wrap; white-space: \
-pre-wrap; white-space: -o-pre-wrap; word-wrap: break-word;">Thanks for hinting this \
out. It&#39;s a long history, but now I found the comment &quot;it would be pretty \
trivial to add a check in the systemtray to see if the kmix applet exists on the \
system [...]&quot;. It sound to me like this is a future (= not yet existing) \
extension to the systemtray. But once its there it could be transpararent to KMix. \
But apsects like global shortcuts (Volume ip/down/mute) and chosing the corresponding \
master control is only in the KMix GUI, so users must be made aware how they can \
change it (by starting KMix). This is probably not obvious. If the Mixer \
configuration would be available in systemsettings, it would be much more visible (as \
I do not know wheter a systemsettings module and a KConfigDialog can easily use \
common code, I will stick with KConfigDialog).</pre> <br />










<p>- Christian</p>


<br />
<p>On August 27th, 2013, 8:40 a.m. UTC, Diego Casella wrote:</p>








<table bgcolor="#fefadf" width="100%" cellspacing="0" cellpadding="8" \
style="background-image: \
url('http://git.reviewboard.kde.org/static/rb/images/review_request_box_top_bg.ab6f3b1072c9.png'); \
background-position: left top; background-repeat: repeat-x; border: 1px black \
solid;">  <tr>
  <td>

<div>Review request for Plasma, Aaron J. Seigo, Christian Esken, Marco Martin, and \
Igor Poboiko.</div> <div>By Diego Casella.</div>


<p style="color: grey;"><i>Updated Aug. 27, 2013, 8:40 a.m.</i></p>









<div style="margin-top: 1.5em;">
 <b style="color: #575012; font-size: 10pt;">Repository: </b>
kmix
</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;">KMix qml applet. As you can see from the screenshot, the applet is \
pretty much functional: you can display all the controls available, change its \
orientation, and decide to whether show all of them or just the Master Control, and \
refresh its status when new controls are added/removed/updated (such as Amarok \
current playing track). See screenshots below :) Differences from the old kmix tray:
* no media player controls ( I never investigated how to get them, but honestly \
opening the audio applet to change/skip/pause audio track makes little sense to me \
                ... if anyone wants this feature back, don&#39;t be shy and step in);
* the button used to select which Mixers are visible has been changed to open Phonon \
kcm page: since visible mixers are already configurable from KMix app, having a \
button to show KMix *and* a button to modify Mixers visibilty made little sense here \
too, so I preferred to give more visibility to Phonon kcm;

Known issues:
* there is still no way to get notified of mouse wheel events over the popupIcon, so \
                it is not possible to scroll over to increase/decrease the master \
                control volume;
* no scroll events over the sliders too;
* if you want to use the applet you most likely will disable KMix tray icon but, if \
you do so, KMix will show its GUI at every login and you have to close it manually. \
This requires KMix to be patched. Furthermore, if you click &quot;KMix Setup&quot; \
                button, KMix window will not restored anymore: this needs to be \
                pathed as well.
* resize doesn&#39;t work properly.</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;">Tested against master and works fine.</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>plasma/kmix-applet-qml/contents/ui/HorizontalControl.qml <span style="color: \
grey">(PRE-CREATION)</span></li>

 <li>plasma/kmix-applet-qml/contents/ui/HorizontalMixerListDelegate.qml <span \
style="color: grey">(PRE-CREATION)</span></li>

 <li>plasma/kmix-applet-qml/contents/ui/VerticalControl.qml <span style="color: \
grey">(PRE-CREATION)</span></li>

</ul>

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



<h1 style="color: #575012; font-size: 10pt; margin-top: 1.5em;">File Attachments \
</h1>

<ul>

 <li><a href="http://git.reviewboard.kde.org/media/uploaded/files/2013/08/22/kmix_applet.png">Default \
look</a></li>

 <li><a href="http://git.reviewboard.kde.org/media/uploaded/files/2013/08/22/kmix_applet1.png">Menu \
Actions</a></li>

 <li><a href="http://git.reviewboard.kde.org/media/uploaded/files/2013/08/22/kmix_applet2.png">Applet \
Config Options</a></li>

 <li><a href="http://git.reviewboard.kde.org/media/uploaded/files/2013/08/22/kmix_applet3.png">Vertical \
Control</a></li>

 <li><a href="http://git.reviewboard.kde.org/media/uploaded/files/2013/08/24/kmix_applet5.png">ToolButton \
label and Config page after updates</a></li>

 <li><a href="http://git.reviewboard.kde.org/media/uploaded/files/2013/08/27/kmix_applet6.png">Control \
Icon and Label left aligned</a></li>

</ul>





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








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



_______________________________________________
Plasma-devel mailing list
Plasma-devel@kde.org
https://mail.kde.org/mailman/listinfo/plasma-devel


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

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