Re: Review Request 112208: KMix qml applet
--- This is an automatically generated e-mail. To reply, visit: https://git.reviewboard.kde.org/r/112208/ --- (Updated Sept. 22, 2016, 8:41 p.m.) Status -- This change has been discarded. 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/ButtonBar.qml 1467957 plasma/kmix-applet-qml/contents/ui/kmixapplet.qml 6c09359 Diff: https://git.reviewboard.kde.org/r/112208/diff/ Testing --- Tested against master and works fine. File Attachments Default look https://git.reviewboard.kde.org/media/uploaded/files/2013/08/22/kmix_applet.png Menu Actions https://git.reviewboard.kde.org/media/uploaded/files/2013/08/22/kmix_applet1.png Applet Config Options https://git.reviewboard.kde.org/media/uploaded/files/2013/08/22/kmix_applet2.png Vertical Control https://git.reviewboard.kde.org/media/uploaded/files/2013/08/22/kmix_applet3.png ToolButton label and Config page after updates https://git.reviewboard.kde.org/media/uploaded/files/2013/08/24/kmix_applet5.png Control Icon and Label left aligned https://git.reviewboard.kde.org/media/uploaded/files/2013/08/27/kmix_applet6.png Kmix, horizontal view https://git.reviewboard.kde.org/media/uploaded/files/2014/05/04/9d6b0ca4-5a75-45cc-ab8e-61b13d4079e6__kmix_horizontal_new.png Kmix applet, vertical view https://git.reviewboard.kde.org/media/uploaded/files/2014/05/04/7efb308a-c306-47c2-883f-64d1f32db5b5__kmix_vertical_new.png Thanks, Diego Casella
Re: Review Request 112208: KMix qml applet
--- This is an automatically generated e-mail. To reply, visit: https://git.reviewboard.kde.org/r/112208/#review99472 --- Closing as this review request is more than 2 years old. If it still applies to current Plasma please reopen this review request. Thanks - David Edmundson On Aug. 22, 2014, 8:26 a.m., Diego Casella wrote: > > --- > This is an automatically generated e-mail. To reply, visit: > https://git.reviewboard.kde.org/r/112208/ > --- > > (Updated Aug. 22, 2014, 8:26 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/ButtonBar.qml 1467957 > plasma/kmix-applet-qml/contents/ui/kmixapplet.qml 6c09359 > > Diff: https://git.reviewboard.kde.org/r/112208/diff/ > > > Testing > --- > > Tested against master and works fine. > > > File Attachments > > > Default look > > https://git.reviewboard.kde.org/media/uploaded/files/2013/08/22/kmix_applet.png > Menu Actions > > https://git.reviewboard.kde.org/media/uploaded/files/2013/08/22/kmix_applet1.png > Applet Config Options > > https://git.reviewboard.kde.org/media/uploaded/files/2013/08/22/kmix_applet2.png > Vertical Control > > https://git.reviewboard.kde.org/media/uploaded/files/2013/08/22/kmix_applet3.png > ToolButton label and Config page after updates > > https://git.reviewboard.kde.org/media/uploaded/files/2013/08/24/kmix_applet5.png > Control Icon and Label left aligned > > https://git.reviewboard.kde.org/media/uploaded/files/2013/08/27/kmix_applet6.png > Kmix, horizontal view > > https://git.reviewboard.kde.org/media/uploaded/files/2014/05/04/9d6b0ca4-5a75-45cc-ab8e-61b13d4079e6__kmix_horizontal_new.png > Kmix applet, vertical view > > https://git.reviewboard.kde.org/media/uploaded/files/2014/05/04/7efb308a-c306-47c2-883f-64d1f32db5b5__kmix_vertical_new.png > > > Thanks, > > Diego Casella > >
Re: Review Request 112208: KMix qml applet
--- This is an automatically generated e-mail. To reply, visit: https://git.reviewboard.kde.org/r/112208/#review65100 --- My suggestion: just push this if there are no major objections since doing that now will have some benefits: - It is in time for plasma 5.1 - You get some more exposure of users/devs testing it besides just you and the few that run your diff. Sure, it might not be fully done right now, but it leaves enough time to iron out the issues for 5.1 and makes it a lot easier for other developers to jump in. It can always be reverted (or disabled) if it's too unstable for a plasma 5.1 release. - Mark Gaiser On Aug. 22, 2014, 8:26 a.m., Diego Casella wrote: --- This is an automatically generated e-mail. To reply, visit: https://git.reviewboard.kde.org/r/112208/ --- (Updated Aug. 22, 2014, 8:26 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/ButtonBar.qml 1467957 plasma/kmix-applet-qml/contents/ui/kmixapplet.qml 6c09359 Diff: https://git.reviewboard.kde.org/r/112208/diff/ Testing --- Tested against master and works fine. File Attachments Default look https://git.reviewboard.kde.org/media/uploaded/files/2013/08/22/kmix_applet.png Menu Actions https://git.reviewboard.kde.org/media/uploaded/files/2013/08/22/kmix_applet1.png Applet Config Options https://git.reviewboard.kde.org/media/uploaded/files/2013/08/22/kmix_applet2.png Vertical Control https://git.reviewboard.kde.org/media/uploaded/files/2013/08/22/kmix_applet3.png ToolButton label and Config page after updates https://git.reviewboard.kde.org/media/uploaded/files/2013/08/24/kmix_applet5.png Control Icon and Label left aligned https://git.reviewboard.kde.org/media/uploaded/files/2013/08/27/kmix_applet6.png Kmix, horizontal view https://git.reviewboard.kde.org/media/uploaded/files/2014/05/04/9d6b0ca4-5a75-45cc-ab8e-61b13d4079e6__kmix_horizontal_new.png Kmix applet, vertical view https://git.reviewboard.kde.org/media/uploaded/files/2014/05/04/7efb308a-c306-47c2-883f-64d1f32db5b5__kmix_vertical_new.png Thanks, Diego Casella ___ Plasma-devel mailing list Plasma-devel@kde.org https://mail.kde.org/mailman/listinfo/plasma-devel
Re: Review Request 112208: KMix qml applet
On Ago. 23, 2014, 5:58 p.m., Mark Gaiser wrote: My suggestion: just push this if there are no major objections since doing that now will have some benefits: - It is in time for plasma 5.1 - You get some more exposure of users/devs testing it besides just you and the few that run your diff. Sure, it might not be fully done right now, but it leaves enough time to iron out the issues for 5.1 and makes it a lot easier for other developers to jump in. It can always be reverted (or disabled) if it's too unstable for a plasma 5.1 release. hmm, this one is kde4, so no. but I would suggest getting an independent extragear release for the kde4 version of this applet. - Marco --- This is an automatically generated e-mail. To reply, visit: https://git.reviewboard.kde.org/r/112208/#review65100 --- On Ago. 22, 2014, 8:26 a.m., Diego Casella wrote: --- This is an automatically generated e-mail. To reply, visit: https://git.reviewboard.kde.org/r/112208/ --- (Updated Ago. 22, 2014, 8:26 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/ButtonBar.qml 1467957 plasma/kmix-applet-qml/contents/ui/kmixapplet.qml 6c09359 Diff: https://git.reviewboard.kde.org/r/112208/diff/ Testing --- Tested against master and works fine. File Attachments Default look https://git.reviewboard.kde.org/media/uploaded/files/2013/08/22/kmix_applet.png Menu Actions https://git.reviewboard.kde.org/media/uploaded/files/2013/08/22/kmix_applet1.png Applet Config Options https://git.reviewboard.kde.org/media/uploaded/files/2013/08/22/kmix_applet2.png Vertical Control https://git.reviewboard.kde.org/media/uploaded/files/2013/08/22/kmix_applet3.png ToolButton label and Config page after updates https://git.reviewboard.kde.org/media/uploaded/files/2013/08/24/kmix_applet5.png Control Icon and Label left aligned https://git.reviewboard.kde.org/media/uploaded/files/2013/08/27/kmix_applet6.png Kmix, horizontal view https://git.reviewboard.kde.org/media/uploaded/files/2014/05/04/9d6b0ca4-5a75-45cc-ab8e-61b13d4079e6__kmix_horizontal_new.png Kmix applet, vertical view https://git.reviewboard.kde.org/media/uploaded/files/2014/05/04/7efb308a-c306-47c2-883f-64d1f32db5b5__kmix_vertical_new.png Thanks, Diego Casella ___ Plasma-devel mailing list Plasma-devel@kde.org https://mail.kde.org/mailman/listinfo/plasma-devel
Re: Review Request 112208: KMix qml applet
On Aug. 23, 2014, 5:58 p.m., Mark Gaiser wrote: My suggestion: just push this if there are no major objections since doing that now will have some benefits: - It is in time for plasma 5.1 - You get some more exposure of users/devs testing it besides just you and the few that run your diff. Sure, it might not be fully done right now, but it leaves enough time to iron out the issues for 5.1 and makes it a lot easier for other developers to jump in. It can always be reverted (or disabled) if it's too unstable for a plasma 5.1 release. Marco Martin wrote: hmm, this one is kde4, so no. but I would suggest getting an independent extragear release for the kde4 version of this applet. I also suggested Extragear. But I am starting to wonder whether this approach makes sense. I mean, it is not active by default. So there should be no harm in activating it. Hmmm, I wish we could discuss this face to face. Ot at least on IRC, Jabber, ... - Christian --- This is an automatically generated e-mail. To reply, visit: https://git.reviewboard.kde.org/r/112208/#review65100 --- On Aug. 22, 2014, 8:26 a.m., Diego Casella wrote: --- This is an automatically generated e-mail. To reply, visit: https://git.reviewboard.kde.org/r/112208/ --- (Updated Aug. 22, 2014, 8:26 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/ButtonBar.qml 1467957 plasma/kmix-applet-qml/contents/ui/kmixapplet.qml 6c09359 Diff: https://git.reviewboard.kde.org/r/112208/diff/ Testing --- Tested against master and works fine. File Attachments Default look https://git.reviewboard.kde.org/media/uploaded/files/2013/08/22/kmix_applet.png Menu Actions https://git.reviewboard.kde.org/media/uploaded/files/2013/08/22/kmix_applet1.png Applet Config Options https://git.reviewboard.kde.org/media/uploaded/files/2013/08/22/kmix_applet2.png Vertical Control https://git.reviewboard.kde.org/media/uploaded/files/2013/08/22/kmix_applet3.png ToolButton label and Config page after updates https://git.reviewboard.kde.org/media/uploaded/files/2013/08/24/kmix_applet5.png Control Icon and Label left aligned https://git.reviewboard.kde.org/media/uploaded/files/2013/08/27/kmix_applet6.png Kmix, horizontal view https://git.reviewboard.kde.org/media/uploaded/files/2014/05/04/9d6b0ca4-5a75-45cc-ab8e-61b13d4079e6__kmix_horizontal_new.png Kmix applet, vertical view https://git.reviewboard.kde.org/media/uploaded/files/2014/05/04/7efb308a-c306-47c2-883f-64d1f32db5b5__kmix_vertical_new.png Thanks, Diego Casella ___ Plasma-devel mailing list Plasma-devel@kde.org https://mail.kde.org/mailman/listinfo/plasma-devel
Re: Review Request 112208: KMix qml applet
--- This is an automatically generated e-mail. To reply, visit: https://git.reviewboard.kde.org/r/112208/ --- (Updated Aug. 22, 2014, 8:26 a.m.) Review request for Plasma, Aaron J. Seigo, Christian Esken, Marco Martin, and Igor Poboiko. Changes --- Explicitly call DBus to show KMix user interface. Repository: kmix Description (updated) --- 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 (updated) - plasma/kmix-applet-qml/contents/ui/ButtonBar.qml 1467957 plasma/kmix-applet-qml/contents/ui/kmixapplet.qml 6c09359 Diff: https://git.reviewboard.kde.org/r/112208/diff/ Testing --- Tested against master and works fine. File Attachments Default look https://git.reviewboard.kde.org/media/uploaded/files/2013/08/22/kmix_applet.png Menu Actions https://git.reviewboard.kde.org/media/uploaded/files/2013/08/22/kmix_applet1.png Applet Config Options https://git.reviewboard.kde.org/media/uploaded/files/2013/08/22/kmix_applet2.png Vertical Control https://git.reviewboard.kde.org/media/uploaded/files/2013/08/22/kmix_applet3.png ToolButton label and Config page after updates https://git.reviewboard.kde.org/media/uploaded/files/2013/08/24/kmix_applet5.png Control Icon and Label left aligned https://git.reviewboard.kde.org/media/uploaded/files/2013/08/27/kmix_applet6.png Kmix, horizontal view https://git.reviewboard.kde.org/media/uploaded/files/2014/05/04/9d6b0ca4-5a75-45cc-ab8e-61b13d4079e6__kmix_horizontal_new.png Kmix applet, vertical view https://git.reviewboard.kde.org/media/uploaded/files/2014/05/04/7efb308a-c306-47c2-883f-64d1f32db5b5__kmix_vertical_new.png Thanks, Diego Casella ___ Plasma-devel mailing list Plasma-devel@kde.org https://mail.kde.org/mailman/listinfo/plasma-devel
Re: Review Request 112208: KMix qml applet
On Aug. 12, 2014, 11:19 a.m., Christian Esken wrote: For me it looks fine, with some questions: 1) Is this completely decoupled from KMix? I do not see a open mixer to open the main application. 2) Is it supposed to be integrated in KMix 3) In general, the question is how to progress from here. Diego, do you want KMix integration, or a standalone app? Have any ideas or plans to get it in KDE? Martin Klapetek wrote: Note that new work on QML based KMix has started, however this will be Plasma5 only -- http://apachelog.wordpress.com/2014/08/11/volume/ Diego Casella wrote: I'll recap everything, hopefully once for all.. This applet is meant to show the availabe mixers (with the option to show all of them, or just the Master one), and modify/mute/unmute them. That's all. If you need to change Master channel or in general configure KMix, you need to run the old KMix application. That's why, in the QML applet, I added a button named Mixer setup: you click it, and the old KMix should appear (in my opinion QML applets have be minimal and simple, so everything else must be done in a regular QtWidget based application). Anyway back on the topic: I said should because at the moment KMix does not appear, complaining that: QDBusConnection: session D-Bus connection created before QCoreApplication. Application may misbehave. This is the reason why I mentioned, in the very first description of this review request, that KMix needs to be patched :) As about how to progess from here, I've mentioned some ideas in the beginning: * patch Plasma QML bindings to provide mouse wheel events, so I can intercept scroll events in the panel and update volume levels accordingly, providing the same functionality the current KMix tray icon does; * patch Plasma QML slider to provide mouse wheel support (don't know if this has been already fixed in Plasma5); * patch KMix itself. It should run somewhat daemonized and, when QML applet calls kmix the regular, QtWidget-based application, will pop up. Since in the sourcecode I've seen references to kmixd, which i think it stands for KMix daemon, this may be simple to implement: the daemon provides the low-level connection to the hardware, and this applet and KMix itself connect to the daemon (via DataEngine/DBus mechanism) to communicate with it. That being said: * I've been trying to update this applet in the last couple of years, but * since KDE4/Plasma is now in maintenance mode (aka no new featured will be added), those patches won't happen anymore; * and since someone is already on the process to reinvent the wheel; I'm kinda sad/tired of how things went so far. The applet is pretty functional (I use it on a daily basis), and it could work fine in Plasma5 too. As far as I'm concerned, at this point I don't see any reason to keep this review open. If Harald wants to use any portion of this code, I'm 100% OK with that. Christian Esken wrote: Diego, I am not sure what went so wrong here. I am defintely also not happy how things went on. What makes me most sad is, that you have a working QML applet that just needs really minor integration work. All these minimal issues like scrollwheel not supported (1) should really not stop us from giving the users the option. If they must have scrollwheel or media buttons, then they can use classic KMix dock. If they want a nicer integrated applet, they can use your applet (2). It can be a simple option in KMix's configuration dialog (Dock: Classic, Plasma, Off) instaed of (Dock: On, Off). Sigh :-| Whatever your decision is, I can understand you Diego. If you want to integrate it would make me happy (see some technical tips below). If you do not want it or you cannot (essential missing plasma features that you do not want to add yourselves), then it is possibly better to close this review request. --- Technical notes --- About daemonizing KMix: That exists since forever: Simply disable dock into systray and close window, and KMix will vanish forever. The KMix will show its GUI at every login behavior/issue is gone since the support of hotplugging. To show (I cannot remember that you ever mentioned problems with that before) just do a DBUS call show on the Window (a standard for all Qt windows). If you want to try that, please head along. If Side note (as you mentioned it): There is also a real daemon (technically a kded module), but KMixD daemon has no GUI, and proviees just a Mixer DBUS interface. (1) Some ramblings about QML/Plasma: Things seem to progress sometimes slowly or not at all in QML/Plasma. Though much has happened Plasma/QML seems to still lack features. Initially there were no sliders at all in Plasma, and I knew it
Re: Review Request 112208: KMix qml applet
On Aug. 12, 2014, 11:19 a.m., Christian Esken wrote: For me it looks fine, with some questions: 1) Is this completely decoupled from KMix? I do not see a open mixer to open the main application. 2) Is it supposed to be integrated in KMix 3) In general, the question is how to progress from here. Diego, do you want KMix integration, or a standalone app? Have any ideas or plans to get it in KDE? Martin Klapetek wrote: Note that new work on QML based KMix has started, however this will be Plasma5 only -- http://apachelog.wordpress.com/2014/08/11/volume/ Diego Casella wrote: I'll recap everything, hopefully once for all.. This applet is meant to show the availabe mixers (with the option to show all of them, or just the Master one), and modify/mute/unmute them. That's all. If you need to change Master channel or in general configure KMix, you need to run the old KMix application. That's why, in the QML applet, I added a button named Mixer setup: you click it, and the old KMix should appear (in my opinion QML applets have be minimal and simple, so everything else must be done in a regular QtWidget based application). Anyway back on the topic: I said should because at the moment KMix does not appear, complaining that: QDBusConnection: session D-Bus connection created before QCoreApplication. Application may misbehave. This is the reason why I mentioned, in the very first description of this review request, that KMix needs to be patched :) As about how to progess from here, I've mentioned some ideas in the beginning: * patch Plasma QML bindings to provide mouse wheel events, so I can intercept scroll events in the panel and update volume levels accordingly, providing the same functionality the current KMix tray icon does; * patch Plasma QML slider to provide mouse wheel support (don't know if this has been already fixed in Plasma5); * patch KMix itself. It should run somewhat daemonized and, when QML applet calls kmix the regular, QtWidget-based application, will pop up. Since in the sourcecode I've seen references to kmixd, which i think it stands for KMix daemon, this may be simple to implement: the daemon provides the low-level connection to the hardware, and this applet and KMix itself connect to the daemon (via DataEngine/DBus mechanism) to communicate with it. That being said: * I've been trying to update this applet in the last couple of years, but * since KDE4/Plasma is now in maintenance mode (aka no new featured will be added), those patches won't happen anymore; * and since someone is already on the process to reinvent the wheel; I'm kinda sad/tired of how things went so far. The applet is pretty functional (I use it on a daily basis), and it could work fine in Plasma5 too. As far as I'm concerned, at this point I don't see any reason to keep this review open. If Harald wants to use any portion of this code, I'm 100% OK with that. Christian Esken wrote: Diego, I am not sure what went so wrong here. I am defintely also not happy how things went on. What makes me most sad is, that you have a working QML applet that just needs really minor integration work. All these minimal issues like scrollwheel not supported (1) should really not stop us from giving the users the option. If they must have scrollwheel or media buttons, then they can use classic KMix dock. If they want a nicer integrated applet, they can use your applet (2). It can be a simple option in KMix's configuration dialog (Dock: Classic, Plasma, Off) instaed of (Dock: On, Off). Sigh :-| Whatever your decision is, I can understand you Diego. If you want to integrate it would make me happy (see some technical tips below). If you do not want it or you cannot (essential missing plasma features that you do not want to add yourselves), then it is possibly better to close this review request. --- Technical notes --- About daemonizing KMix: That exists since forever: Simply disable dock into systray and close window, and KMix will vanish forever. The KMix will show its GUI at every login behavior/issue is gone since the support of hotplugging. To show (I cannot remember that you ever mentioned problems with that before) just do a DBUS call show on the Window (a standard for all Qt windows). If you want to try that, please head along. If Side note (as you mentioned it): There is also a real daemon (technically a kded module), but KMixD daemon has no GUI, and proviees just a Mixer DBUS interface. (1) Some ramblings about QML/Plasma: Things seem to progress sometimes slowly or not at all in QML/Plasma. Though much has happened Plasma/QML seems to still lack features. Initially there were no sliders at all in Plasma, and I knew it
Re: Review Request 112208: KMix qml applet
On Ago. 12, 2014, 11:19 a.m., Christian Esken wrote: For me it looks fine, with some questions: 1) Is this completely decoupled from KMix? I do not see a open mixer to open the main application. 2) Is it supposed to be integrated in KMix 3) In general, the question is how to progress from here. Diego, do you want KMix integration, or a standalone app? Have any ideas or plans to get it in KDE? Martin Klapetek wrote: Note that new work on QML based KMix has started, however this will be Plasma5 only -- http://apachelog.wordpress.com/2014/08/11/volume/ Diego Casella wrote: I'll recap everything, hopefully once for all.. This applet is meant to show the availabe mixers (with the option to show all of them, or just the Master one), and modify/mute/unmute them. That's all. If you need to change Master channel or in general configure KMix, you need to run the old KMix application. That's why, in the QML applet, I added a button named Mixer setup: you click it, and the old KMix should appear (in my opinion QML applets have be minimal and simple, so everything else must be done in a regular QtWidget based application). Anyway back on the topic: I said should because at the moment KMix does not appear, complaining that: QDBusConnection: session D-Bus connection created before QCoreApplication. Application may misbehave. This is the reason why I mentioned, in the very first description of this review request, that KMix needs to be patched :) As about how to progess from here, I've mentioned some ideas in the beginning: * patch Plasma QML bindings to provide mouse wheel events, so I can intercept scroll events in the panel and update volume levels accordingly, providing the same functionality the current KMix tray icon does; * patch Plasma QML slider to provide mouse wheel support (don't know if this has been already fixed in Plasma5); * patch KMix itself. It should run somewhat daemonized and, when QML applet calls kmix the regular, QtWidget-based application, will pop up. Since in the sourcecode I've seen references to kmixd, which i think it stands for KMix daemon, this may be simple to implement: the daemon provides the low-level connection to the hardware, and this applet and KMix itself connect to the daemon (via DataEngine/DBus mechanism) to communicate with it. That being said: * I've been trying to update this applet in the last couple of years, but * since KDE4/Plasma is now in maintenance mode (aka no new featured will be added), those patches won't happen anymore; * and since someone is already on the process to reinvent the wheel; I'm kinda sad/tired of how things went so far. The applet is pretty functional (I use it on a daily basis), and it could work fine in Plasma5 too. As far as I'm concerned, at this point I don't see any reason to keep this review open. If Harald wants to use any portion of this code, I'm 100% OK with that. Christian Esken wrote: Diego, I am not sure what went so wrong here. I am defintely also not happy how things went on. What makes me most sad is, that you have a working QML applet that just needs really minor integration work. All these minimal issues like scrollwheel not supported (1) should really not stop us from giving the users the option. If they must have scrollwheel or media buttons, then they can use classic KMix dock. If they want a nicer integrated applet, they can use your applet (2). It can be a simple option in KMix's configuration dialog (Dock: Classic, Plasma, Off) instaed of (Dock: On, Off). Sigh :-| Whatever your decision is, I can understand you Diego. If you want to integrate it would make me happy (see some technical tips below). If you do not want it or you cannot (essential missing plasma features that you do not want to add yourselves), then it is possibly better to close this review request. --- Technical notes --- About daemonizing KMix: That exists since forever: Simply disable dock into systray and close window, and KMix will vanish forever. The KMix will show its GUI at every login behavior/issue is gone since the support of hotplugging. To show (I cannot remember that you ever mentioned problems with that before) just do a DBUS call show on the Window (a standard for all Qt windows). If you want to try that, please head along. If Side note (as you mentioned it): There is also a real daemon (technically a kded module), but KMixD daemon has no GUI, and proviees just a Mixer DBUS interface. (1) Some ramblings about QML/Plasma: Things seem to progress sometimes slowly or not at all in QML/Plasma. Though much has happened Plasma/QML seems to still lack features. Initially there were no sliders at all in Plasma, and I knew it
Re: Review Request 112208: KMix qml applet
On Aug. 12, 2014, 11:19 a.m., Christian Esken wrote: For me it looks fine, with some questions: 1) Is this completely decoupled from KMix? I do not see a open mixer to open the main application. 2) Is it supposed to be integrated in KMix 3) In general, the question is how to progress from here. Diego, do you want KMix integration, or a standalone app? Have any ideas or plans to get it in KDE? Martin Klapetek wrote: Note that new work on QML based KMix has started, however this will be Plasma5 only -- http://apachelog.wordpress.com/2014/08/11/volume/ Diego Casella wrote: I'll recap everything, hopefully once for all.. This applet is meant to show the availabe mixers (with the option to show all of them, or just the Master one), and modify/mute/unmute them. That's all. If you need to change Master channel or in general configure KMix, you need to run the old KMix application. That's why, in the QML applet, I added a button named Mixer setup: you click it, and the old KMix should appear (in my opinion QML applets have be minimal and simple, so everything else must be done in a regular QtWidget based application). Anyway back on the topic: I said should because at the moment KMix does not appear, complaining that: QDBusConnection: session D-Bus connection created before QCoreApplication. Application may misbehave. This is the reason why I mentioned, in the very first description of this review request, that KMix needs to be patched :) As about how to progess from here, I've mentioned some ideas in the beginning: * patch Plasma QML bindings to provide mouse wheel events, so I can intercept scroll events in the panel and update volume levels accordingly, providing the same functionality the current KMix tray icon does; * patch Plasma QML slider to provide mouse wheel support (don't know if this has been already fixed in Plasma5); * patch KMix itself. It should run somewhat daemonized and, when QML applet calls kmix the regular, QtWidget-based application, will pop up. Since in the sourcecode I've seen references to kmixd, which i think it stands for KMix daemon, this may be simple to implement: the daemon provides the low-level connection to the hardware, and this applet and KMix itself connect to the daemon (via DataEngine/DBus mechanism) to communicate with it. That being said: * I've been trying to update this applet in the last couple of years, but * since KDE4/Plasma is now in maintenance mode (aka no new featured will be added), those patches won't happen anymore; * and since someone is already on the process to reinvent the wheel; I'm kinda sad/tired of how things went so far. The applet is pretty functional (I use it on a daily basis), and it could work fine in Plasma5 too. As far as I'm concerned, at this point I don't see any reason to keep this review open. If Harald wants to use any portion of this code, I'm 100% OK with that. Christian Esken wrote: Diego, I am not sure what went so wrong here. I am defintely also not happy how things went on. What makes me most sad is, that you have a working QML applet that just needs really minor integration work. All these minimal issues like scrollwheel not supported (1) should really not stop us from giving the users the option. If they must have scrollwheel or media buttons, then they can use classic KMix dock. If they want a nicer integrated applet, they can use your applet (2). It can be a simple option in KMix's configuration dialog (Dock: Classic, Plasma, Off) instaed of (Dock: On, Off). Sigh :-| Whatever your decision is, I can understand you Diego. If you want to integrate it would make me happy (see some technical tips below). If you do not want it or you cannot (essential missing plasma features that you do not want to add yourselves), then it is possibly better to close this review request. --- Technical notes --- About daemonizing KMix: That exists since forever: Simply disable dock into systray and close window, and KMix will vanish forever. The KMix will show its GUI at every login behavior/issue is gone since the support of hotplugging. To show (I cannot remember that you ever mentioned problems with that before) just do a DBUS call show on the Window (a standard for all Qt windows). If you want to try that, please head along. If Side note (as you mentioned it): There is also a real daemon (technically a kded module), but KMixD daemon has no GUI, and proviees just a Mixer DBUS interface. (1) Some ramblings about QML/Plasma: Things seem to progress sometimes slowly or not at all in QML/Plasma. Though much has happened Plasma/QML seems to still lack features. Initially there were no sliders at all in Plasma, and I knew it
Re: Review Request 112208: KMix qml applet
On Aug. 12, 2014, 11:19 a.m., Christian Esken wrote: For me it looks fine, with some questions: 1) Is this completely decoupled from KMix? I do not see a open mixer to open the main application. 2) Is it supposed to be integrated in KMix 3) In general, the question is how to progress from here. Diego, do you want KMix integration, or a standalone app? Have any ideas or plans to get it in KDE? Martin Klapetek wrote: Note that new work on QML based KMix has started, however this will be Plasma5 only -- http://apachelog.wordpress.com/2014/08/11/volume/ Diego Casella wrote: I'll recap everything, hopefully once for all.. This applet is meant to show the availabe mixers (with the option to show all of them, or just the Master one), and modify/mute/unmute them. That's all. If you need to change Master channel or in general configure KMix, you need to run the old KMix application. That's why, in the QML applet, I added a button named Mixer setup: you click it, and the old KMix should appear (in my opinion QML applets have be minimal and simple, so everything else must be done in a regular QtWidget based application). Anyway back on the topic: I said should because at the moment KMix does not appear, complaining that: QDBusConnection: session D-Bus connection created before QCoreApplication. Application may misbehave. This is the reason why I mentioned, in the very first description of this review request, that KMix needs to be patched :) As about how to progess from here, I've mentioned some ideas in the beginning: * patch Plasma QML bindings to provide mouse wheel events, so I can intercept scroll events in the panel and update volume levels accordingly, providing the same functionality the current KMix tray icon does; * patch Plasma QML slider to provide mouse wheel support (don't know if this has been already fixed in Plasma5); * patch KMix itself. It should run somewhat daemonized and, when QML applet calls kmix the regular, QtWidget-based application, will pop up. Since in the sourcecode I've seen references to kmixd, which i think it stands for KMix daemon, this may be simple to implement: the daemon provides the low-level connection to the hardware, and this applet and KMix itself connect to the daemon (via DataEngine/DBus mechanism) to communicate with it. That being said: * I've been trying to update this applet in the last couple of years, but * since KDE4/Plasma is now in maintenance mode (aka no new featured will be added), those patches won't happen anymore; * and since someone is already on the process to reinvent the wheel; I'm kinda sad/tired of how things went so far. The applet is pretty functional (I use it on a daily basis), and it could work fine in Plasma5 too. As far as I'm concerned, at this point I don't see any reason to keep this review open. If Harald wants to use any portion of this code, I'm 100% OK with that. Diego, I am not sure what went so wrong here. I am defintely also not happy how things went on. What makes me most sad is, that you have a working QML applet that just needs really minor integration work. All these minimal issues like scrollwheel not supported (1) should really not stop us from giving the users the option. If they must have scrollwheel or media buttons, then they can use classic KMix dock. If they want a nicer integrated applet, they can use your applet (2). It can be a simple option in KMix's configuration dialog (Dock: Classic, Plasma, Off) instaed of (Dock: On, Off). Sigh :-| Whatever your decision is, I can understand you Diego. If you want to integrate it would make me happy (see some technical tips below). If you do not want it or you cannot (essential missing plasma features that you do not want to add yourselves), then it is possibly better to close this review request. --- Technical notes --- About daemonizing KMix: That exists since forever: Simply disable dock into systray and close window, and KMix will vanish forever. The KMix will show its GUI at every login behavior/issue is gone since the support of hotplugging. To show (I cannot remember that you ever mentioned problems with that before) just do a DBUS call show on the Window (a standard for all Qt windows). If you want to try that, please head along. If Side note (as you mentioned it): There is also a real daemon (technically a kded module), but KMixD daemon has no GUI, and proviees just a Mixer DBUS interface. (1) Some ramblings about QML/Plasma: Things seem to progress sometimes slowly or not at all in QML/Plasma. Though much has happened Plasma/QML seems to still lack features. Initially there were no sliders at all in Plasma, and I knew it would be a very rocky way to get all the features in, like to add missing stuff like mousewheel over slider. Then I made a
Re: Review Request 112208: KMix qml applet
On Aug. 12, 2014, 11:19 a.m., Christian Esken wrote: For me it looks fine, with some questions: 1) Is this completely decoupled from KMix? I do not see a open mixer to open the main application. 2) Is it supposed to be integrated in KMix 3) In general, the question is how to progress from here. Diego, do you want KMix integration, or a standalone app? Have any ideas or plans to get it in KDE? Martin Klapetek wrote: Note that new work on QML based KMix has started, however this will be Plasma5 only -- http://apachelog.wordpress.com/2014/08/11/volume/ I'll recap everything, hopefully once for all.. This applet is meant to show the availabe mixers (with the option to show all of them, or just the Master one), and modify/mute/unmute them. That's all. If you need to change Master channel or in general configure KMix, you need to run the old KMix application. That's why, in the QML applet, I added a button named Mixer setup: you click it, and the old KMix should appear (in my opinion QML applets have be minimal and simple, so everything else must be done in a regular QtWidget based application). Anyway back on the topic: I said should because at the moment KMix does not appear, complaining that: QDBusConnection: session D-Bus connection created before QCoreApplication. Application may misbehave. This is the reason why I mentioned, in the very first description of this review request, that KMix needs to be patched :) As about how to progess from here, I've mentioned some ideas in the beginning: * patch Plasma QML bindings to provide mouse wheel events, so I can intercept scroll events in the panel and update volume levels accordingly, providing the same functionality the current KMix tray icon does; * patch Plasma QML slider to provide mouse wheel support (don't know if this has been already fixed in Plasma5); * patch KMix itself. It should run somewhat daemonized and, when QML applet calls kmix the regular, QtWidget-based application, will pop up. Since in the sourcecode I've seen references to kmixd, which i think it stands for KMix daemon, this may be simple to implement: the daemon provides the low-level connection to the hardware, and this applet and KMix itself connect to the daemon (via DataEngine/DBus mechanism) to communicate with it. That being said: * I've been trying to update this applet in the last couple of years, but * since KDE4/Plasma is now in maintenance mode (aka no new featured will be added), those patches won't happen anymore; * and since someone is already on the process to reinvent the wheel; I'm kinda sad/tired of how things went so far. The applet is pretty functional (I use it on a daily basis), and it could work fine in Plasma5 too. As far as I'm concerned, at this point I don't see any reason to keep this review open. If Harald wants to use any portion of this code, I'm 100% OK with that. - Diego --- This is an automatically generated e-mail. To reply, visit: https://git.reviewboard.kde.org/r/112208/#review64369 --- On May 4, 2014, 9:46 p.m., Diego Casella wrote: --- This is an automatically generated e-mail. To reply, visit: https://git.reviewboard.kde.org/r/112208/ --- (Updated May 4, 2014, 9:46 p.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
Re: Review Request 112208: KMix qml applet
--- This is an automatically generated e-mail. To reply, visit: https://git.reviewboard.kde.org/r/112208/#review64369 --- For me it looks fine, with some questions: 1) Is this completely decoupled from KMix? I do not see a open mixer to open the main application. 2) Is it supposed to be integrated in KMix 3) In general, the question is how to progress from here. Diego, do you want KMix integration, or a standalone app? Have any ideas or plans to get it in KDE? - Christian Esken On May 4, 2014, 9:46 p.m., Diego Casella wrote: --- This is an automatically generated e-mail. To reply, visit: https://git.reviewboard.kde.org/r/112208/ --- (Updated May 4, 2014, 9:46 p.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 7e87c8e plasma/kmix-applet-qml/contents/ui/HorizontalMixerListDelegate.qml 26f2968 plasma/kmix-applet-qml/contents/ui/MixersList.qml 66bda73 plasma/kmix-applet-qml/contents/ui/VerticalControl.qml 1702be7 plasma/kmix-applet-qml/contents/ui/VerticalMixerListDelegate.qml bab9ac6 plasma/kmix-applet-qml/contents/ui/kmixapplet.qml eecb91c Diff: https://git.reviewboard.kde.org/r/112208/diff/ Testing --- Tested against master and works fine. File Attachments Default look https://git.reviewboard.kde.org/media/uploaded/files/2013/08/22/kmix_applet.png Menu Actions https://git.reviewboard.kde.org/media/uploaded/files/2013/08/22/kmix_applet1.png Applet Config Options https://git.reviewboard.kde.org/media/uploaded/files/2013/08/22/kmix_applet2.png Vertical Control https://git.reviewboard.kde.org/media/uploaded/files/2013/08/22/kmix_applet3.png ToolButton label and Config page after updates https://git.reviewboard.kde.org/media/uploaded/files/2013/08/24/kmix_applet5.png Control Icon and Label left aligned https://git.reviewboard.kde.org/media/uploaded/files/2013/08/27/kmix_applet6.png Kmix, horizontal view https://git.reviewboard.kde.org/media/uploaded/files/2014/05/04/9d6b0ca4-5a75-45cc-ab8e-61b13d4079e6__kmix_horizontal_new.png Kmix applet, vertical view https://git.reviewboard.kde.org/media/uploaded/files/2014/05/04/7efb308a-c306-47c2-883f-64d1f32db5b5__kmix_vertical_new.png Thanks, Diego Casella ___ Plasma-devel mailing list Plasma-devel@kde.org https://mail.kde.org/mailman/listinfo/plasma-devel
Re: Review Request 112208: KMix qml applet
On Aug. 12, 2014, 1:19 p.m., Christian Esken wrote: For me it looks fine, with some questions: 1) Is this completely decoupled from KMix? I do not see a open mixer to open the main application. 2) Is it supposed to be integrated in KMix 3) In general, the question is how to progress from here. Diego, do you want KMix integration, or a standalone app? Have any ideas or plans to get it in KDE? Note that new work on QML based KMix has started, however this will be Plasma5 only -- http://apachelog.wordpress.com/2014/08/11/volume/ - Martin --- This is an automatically generated e-mail. To reply, visit: https://git.reviewboard.kde.org/r/112208/#review64369 --- On May 4, 2014, 11:46 p.m., Diego Casella wrote: --- This is an automatically generated e-mail. To reply, visit: https://git.reviewboard.kde.org/r/112208/ --- (Updated May 4, 2014, 11:46 p.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 7e87c8e plasma/kmix-applet-qml/contents/ui/HorizontalMixerListDelegate.qml 26f2968 plasma/kmix-applet-qml/contents/ui/MixersList.qml 66bda73 plasma/kmix-applet-qml/contents/ui/VerticalControl.qml 1702be7 plasma/kmix-applet-qml/contents/ui/VerticalMixerListDelegate.qml bab9ac6 plasma/kmix-applet-qml/contents/ui/kmixapplet.qml eecb91c Diff: https://git.reviewboard.kde.org/r/112208/diff/ Testing --- Tested against master and works fine. File Attachments Default look https://git.reviewboard.kde.org/media/uploaded/files/2013/08/22/kmix_applet.png Menu Actions https://git.reviewboard.kde.org/media/uploaded/files/2013/08/22/kmix_applet1.png Applet Config Options https://git.reviewboard.kde.org/media/uploaded/files/2013/08/22/kmix_applet2.png Vertical Control https://git.reviewboard.kde.org/media/uploaded/files/2013/08/22/kmix_applet3.png ToolButton label and Config page after updates https://git.reviewboard.kde.org/media/uploaded/files/2013/08/24/kmix_applet5.png Control Icon and Label left aligned https://git.reviewboard.kde.org/media/uploaded/files/2013/08/27/kmix_applet6.png Kmix, horizontal view https://git.reviewboard.kde.org/media/uploaded/files/2014/05/04/9d6b0ca4-5a75-45cc-ab8e-61b13d4079e6__kmix_horizontal_new.png Kmix applet, vertical view https://git.reviewboard.kde.org/media/uploaded/files/2014/05/04/7efb308a-c306-47c2-883f-64d1f32db5b5__kmix_vertical_new.png Thanks, Diego Casella ___ Plasma-devel mailing list Plasma-devel@kde.org https://mail.kde.org/mailman/listinfo/plasma-devel
Re: Review Request 112208: KMix qml applet
On March 22, 2014, 11:09 p.m., Mark Gaiser wrote: Is there still an intention on getting this in KDE 4.xx? Just wondering since it seems to be much better then the current kmix popup. Christian Esken wrote: I also haven't heard about further development here. Diego as original submitter or somebody else would have to push this. I added this as a topic for the KDE Multimedia Sprint. It takes place in about 4 months (August 2014): https://sprints.kde.org/sprint/212 Diego Casella wrote: My bad, sorry guys but I'm still in a busy period of my life :/ I'll try to fix the remaining issues pointed out in this review request, and then submit the changes here. There is still an ongoing (and BIG imho) issue anyway: we really really really need a Plasma QML callback to capture mouse scroll events. AFAIK there still isn't in both Plasma 4.13 and also Plasma Next. And talking about kmix applet, one feature everyone is using is the ability to adjust volume level with just few mouse scrolls over the applet icon. I think we need to fix this problem as well, what do you think? Christian Esken wrote: Yes, most definitely we should have mouse scroll events. I guess everybody is using it on the tray icon and in the main window, and so it should also be there for the applet. But if users can choose the plasmoid as an optional, then this is not a showstopper. It is probably better to get it started as is. We could mark it early-access, so interested people can start playing around with it and using it. Mark Gaiser wrote: Quote: There is still an ongoing (and BIG imho) issue anyway: we really really really need a Plasma QML callback to capture mouse scroll events Seriously? I never ever used the scrolling on the tray icon itself. I didn't even know it was possible till you said it in this post. But please don't let such a minor issue block your progress :) Clicking the icon or using the media keys on most keyboards is probably enough possibilities for people change the volume. Scrolling on the icon is imho just bonus stuff. Martin Klapetek wrote: Clicking the icon or using the media keys on most keyboards is probably enough possibilities for people change the volume. Scrolling on the icon is imho just bonus stuff. I use it extensively and every new user I put on Plasma, that's one of the first things I teach them. It's much more convenient because ~80% of the time you're holding your mouse in your hand and ~95% of the time you have your eyes on the screen. Going for keyboard button means in many cases taking your eyes off the screen and looking at the exact button position, often you even have to let the mouse go and move your hand to keyboard (for example YouTube video/any other media being too loud). Mark Gaiser wrote: But you can do it all with your mouse. 1. Click the icon 2. move your cursor to the stream (or master channel). 3. scroll... Just to be sure, scrolling (as i described in the steps above) works in this proposed component, right? All that's not working is scrolling on the tray icon, correct? Note: I happen to have a keyboard without media keys. I always click the icon and scroll on the stream where i want to change the sound level. Martin Klapetek wrote: Sure you can, it's just way easier to simply scroll on an icon than opening this - http://i.imgur.com/LcyFzq6.png and identifying the channel you need to change (the assumption being that you want to change only the main volume, not per stream controls). That way you're doing the visual identification twice - first locating the systray icon, click, now locating the proper handle. So doing it that way is mentally harder task than simply scroll the icon, which also saves you a click ;) Diego Casella wrote: @Mark Gaiser: volume change on scroll is a very, very, handy and smart feature (Martin's answer sums up everything nicely): it would be a pity if we lose it because of a lack in the Plasma QML bindings. By the way, an other plasma applet which uses such feature is, for example, the clock applet: it uses mouse scrolls to loop between timezones (if selected by the user), which is handy for example to check the UTC time before an IRC meeting ;) Besides, you're the first person who _wasn't_ aware of that feature :P As last resort, if we can't come up with a proper solution to whether add this feature back or not, I could blog about it and open a poll to planetkde readers, in order to collect as much feedbacks as possible, what do you think? Mark Gaiser wrote: Quote: By the way, an other plasma applet which uses such feature is, for example, the clock applet: it uses mouse scrolls to loop between timezones (if selected by the user), which is handy for example to check the UTC time before
Re: Review Request 112208: KMix qml applet
On March 22, 2014, 11:09 p.m., Mark Gaiser wrote: Is there still an intention on getting this in KDE 4.xx? Just wondering since it seems to be much better then the current kmix popup. Christian Esken wrote: I also haven't heard about further development here. Diego as original submitter or somebody else would have to push this. I added this as a topic for the KDE Multimedia Sprint. It takes place in about 4 months (August 2014): https://sprints.kde.org/sprint/212 Diego Casella wrote: My bad, sorry guys but I'm still in a busy period of my life :/ I'll try to fix the remaining issues pointed out in this review request, and then submit the changes here. There is still an ongoing (and BIG imho) issue anyway: we really really really need a Plasma QML callback to capture mouse scroll events. AFAIK there still isn't in both Plasma 4.13 and also Plasma Next. And talking about kmix applet, one feature everyone is using is the ability to adjust volume level with just few mouse scrolls over the applet icon. I think we need to fix this problem as well, what do you think? Christian Esken wrote: Yes, most definitely we should have mouse scroll events. I guess everybody is using it on the tray icon and in the main window, and so it should also be there for the applet. But if users can choose the plasmoid as an optional, then this is not a showstopper. It is probably better to get it started as is. We could mark it early-access, so interested people can start playing around with it and using it. Mark Gaiser wrote: Quote: There is still an ongoing (and BIG imho) issue anyway: we really really really need a Plasma QML callback to capture mouse scroll events Seriously? I never ever used the scrolling on the tray icon itself. I didn't even know it was possible till you said it in this post. But please don't let such a minor issue block your progress :) Clicking the icon or using the media keys on most keyboards is probably enough possibilities for people change the volume. Scrolling on the icon is imho just bonus stuff. Martin Klapetek wrote: Clicking the icon or using the media keys on most keyboards is probably enough possibilities for people change the volume. Scrolling on the icon is imho just bonus stuff. I use it extensively and every new user I put on Plasma, that's one of the first things I teach them. It's much more convenient because ~80% of the time you're holding your mouse in your hand and ~95% of the time you have your eyes on the screen. Going for keyboard button means in many cases taking your eyes off the screen and looking at the exact button position, often you even have to let the mouse go and move your hand to keyboard (for example YouTube video/any other media being too loud). Mark Gaiser wrote: But you can do it all with your mouse. 1. Click the icon 2. move your cursor to the stream (or master channel). 3. scroll... Just to be sure, scrolling (as i described in the steps above) works in this proposed component, right? All that's not working is scrolling on the tray icon, correct? Note: I happen to have a keyboard without media keys. I always click the icon and scroll on the stream where i want to change the sound level. Martin Klapetek wrote: Sure you can, it's just way easier to simply scroll on an icon than opening this - http://i.imgur.com/LcyFzq6.png and identifying the channel you need to change (the assumption being that you want to change only the main volume, not per stream controls). That way you're doing the visual identification twice - first locating the systray icon, click, now locating the proper handle. So doing it that way is mentally harder task than simply scroll the icon, which also saves you a click ;) Diego Casella wrote: @Mark Gaiser: volume change on scroll is a very, very, handy and smart feature (Martin's answer sums up everything nicely): it would be a pity if we lose it because of a lack in the Plasma QML bindings. By the way, an other plasma applet which uses such feature is, for example, the clock applet: it uses mouse scrolls to loop between timezones (if selected by the user), which is handy for example to check the UTC time before an IRC meeting ;) Besides, you're the first person who _wasn't_ aware of that feature :P As last resort, if we can't come up with a proper solution to whether add this feature back or not, I could blog about it and open a poll to planetkde readers, in order to collect as much feedbacks as possible, what do you think? Mark Gaiser wrote: Quote: By the way, an other plasma applet which uses such feature is, for example, the clock applet: it uses mouse scrolls to loop between timezones (if selected by the user), which is handy for example to check the UTC time before
Re: Review Request 112208: KMix qml applet
--- This is an automatically generated e-mail. To reply, visit: https://git.reviewboard.kde.org/r/112208/ --- (Updated May 4, 2014, 9:46 p.m.) Review request for Plasma, Aaron J. Seigo, Christian Esken, Marco Martin, and Igor Poboiko. Changes --- Here you go, an other update with the following changes: * fixed the resizing issues: now resizing the applet will also update its content to fit/shrink to the new applet dimensions; * added the boolean check to avoid flickering on the slider when updating volume level; * improved icon positioning and padding; * added a background frame to better distinguish volume controls; I've also attached two new screenshots to show you how the applet now looks like, hope you like it :) 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 (updated) - plasma/kmix-applet-qml/contents/ui/HorizontalControl.qml 7e87c8e plasma/kmix-applet-qml/contents/ui/HorizontalMixerListDelegate.qml 26f2968 plasma/kmix-applet-qml/contents/ui/MixersList.qml 66bda73 plasma/kmix-applet-qml/contents/ui/VerticalControl.qml 1702be7 plasma/kmix-applet-qml/contents/ui/VerticalMixerListDelegate.qml bab9ac6 plasma/kmix-applet-qml/contents/ui/kmixapplet.qml eecb91c Diff: https://git.reviewboard.kde.org/r/112208/diff/ Testing --- Tested against master and works fine. File Attachments (updated) Default look https://git.reviewboard.kde.org/media/uploaded/files/2013/08/22/kmix_applet.png Menu Actions https://git.reviewboard.kde.org/media/uploaded/files/2013/08/22/kmix_applet1.png Applet Config Options https://git.reviewboard.kde.org/media/uploaded/files/2013/08/22/kmix_applet2.png Vertical Control https://git.reviewboard.kde.org/media/uploaded/files/2013/08/22/kmix_applet3.png ToolButton label and Config page after updates https://git.reviewboard.kde.org/media/uploaded/files/2013/08/24/kmix_applet5.png Control Icon and Label left aligned https://git.reviewboard.kde.org/media/uploaded/files/2013/08/27/kmix_applet6.png Kmix, horizontal view https://git.reviewboard.kde.org/media/uploaded/files/2014/05/04/9d6b0ca4-5a75-45cc-ab8e-61b13d4079e6__kmix_horizontal_new.png Kmix applet, vertical view https://git.reviewboard.kde.org/media/uploaded/files/2014/05/04/7efb308a-c306-47c2-883f-64d1f32db5b5__kmix_vertical_new.png Thanks, Diego Casella ___ Plasma-devel mailing list Plasma-devel@kde.org https://mail.kde.org/mailman/listinfo/plasma-devel
Re: Review Request 112208: KMix qml applet
On March 22, 2014, 11:09 p.m., Mark Gaiser wrote: Is there still an intention on getting this in KDE 4.xx? Just wondering since it seems to be much better then the current kmix popup. Christian Esken wrote: I also haven't heard about further development here. Diego as original submitter or somebody else would have to push this. I added this as a topic for the KDE Multimedia Sprint. It takes place in about 4 months (August 2014): https://sprints.kde.org/sprint/212 Diego Casella wrote: My bad, sorry guys but I'm still in a busy period of my life :/ I'll try to fix the remaining issues pointed out in this review request, and then submit the changes here. There is still an ongoing (and BIG imho) issue anyway: we really really really need a Plasma QML callback to capture mouse scroll events. AFAIK there still isn't in both Plasma 4.13 and also Plasma Next. And talking about kmix applet, one feature everyone is using is the ability to adjust volume level with just few mouse scrolls over the applet icon. I think we need to fix this problem as well, what do you think? Christian Esken wrote: Yes, most definitely we should have mouse scroll events. I guess everybody is using it on the tray icon and in the main window, and so it should also be there for the applet. But if users can choose the plasmoid as an optional, then this is not a showstopper. It is probably better to get it started as is. We could mark it early-access, so interested people can start playing around with it and using it. Mark Gaiser wrote: Quote: There is still an ongoing (and BIG imho) issue anyway: we really really really need a Plasma QML callback to capture mouse scroll events Seriously? I never ever used the scrolling on the tray icon itself. I didn't even know it was possible till you said it in this post. But please don't let such a minor issue block your progress :) Clicking the icon or using the media keys on most keyboards is probably enough possibilities for people change the volume. Scrolling on the icon is imho just bonus stuff. Martin Klapetek wrote: Clicking the icon or using the media keys on most keyboards is probably enough possibilities for people change the volume. Scrolling on the icon is imho just bonus stuff. I use it extensively and every new user I put on Plasma, that's one of the first things I teach them. It's much more convenient because ~80% of the time you're holding your mouse in your hand and ~95% of the time you have your eyes on the screen. Going for keyboard button means in many cases taking your eyes off the screen and looking at the exact button position, often you even have to let the mouse go and move your hand to keyboard (for example YouTube video/any other media being too loud). Mark Gaiser wrote: But you can do it all with your mouse. 1. Click the icon 2. move your cursor to the stream (or master channel). 3. scroll... Just to be sure, scrolling (as i described in the steps above) works in this proposed component, right? All that's not working is scrolling on the tray icon, correct? Note: I happen to have a keyboard without media keys. I always click the icon and scroll on the stream where i want to change the sound level. Martin Klapetek wrote: Sure you can, it's just way easier to simply scroll on an icon than opening this - http://i.imgur.com/LcyFzq6.png and identifying the channel you need to change (the assumption being that you want to change only the main volume, not per stream controls). That way you're doing the visual identification twice - first locating the systray icon, click, now locating the proper handle. So doing it that way is mentally harder task than simply scroll the icon, which also saves you a click ;) @Mark Gaiser: volume change on scroll is a very, very, handy and smart feature (Martin's answer sums up everything nicely): it would be a pity if we lose it because of a lack in the Plasma QML bindings. By the way, an other plasma applet which uses such feature is, for example, the clock applet: it uses mouse scrolls to loop between timezones (if selected by the user), which is handy for example to check the UTC time before an IRC meeting ;) Besides, you're the first person who _wasn't_ aware of that feature :P As last resort, if we can't come up with a proper solution to whether add this feature back or not, I could blog about it and open a poll to planetkde readers, in order to collect as much feedbacks as possible, what do you think? - Diego --- This is an automatically generated e-mail. To reply, visit: https://git.reviewboard.kde.org/r/112208/#review53775 --- On May 4, 2014, 9:46 p.m., Diego Casella wrote:
Re: Review Request 112208: KMix qml applet
On March 22, 2014, 11:09 p.m., Mark Gaiser wrote: Is there still an intention on getting this in KDE 4.xx? Just wondering since it seems to be much better then the current kmix popup. Christian Esken wrote: I also haven't heard about further development here. Diego as original submitter or somebody else would have to push this. I added this as a topic for the KDE Multimedia Sprint. It takes place in about 4 months (August 2014): https://sprints.kde.org/sprint/212 Diego Casella wrote: My bad, sorry guys but I'm still in a busy period of my life :/ I'll try to fix the remaining issues pointed out in this review request, and then submit the changes here. There is still an ongoing (and BIG imho) issue anyway: we really really really need a Plasma QML callback to capture mouse scroll events. AFAIK there still isn't in both Plasma 4.13 and also Plasma Next. And talking about kmix applet, one feature everyone is using is the ability to adjust volume level with just few mouse scrolls over the applet icon. I think we need to fix this problem as well, what do you think? Christian Esken wrote: Yes, most definitely we should have mouse scroll events. I guess everybody is using it on the tray icon and in the main window, and so it should also be there for the applet. But if users can choose the plasmoid as an optional, then this is not a showstopper. It is probably better to get it started as is. We could mark it early-access, so interested people can start playing around with it and using it. Mark Gaiser wrote: Quote: There is still an ongoing (and BIG imho) issue anyway: we really really really need a Plasma QML callback to capture mouse scroll events Seriously? I never ever used the scrolling on the tray icon itself. I didn't even know it was possible till you said it in this post. But please don't let such a minor issue block your progress :) Clicking the icon or using the media keys on most keyboards is probably enough possibilities for people change the volume. Scrolling on the icon is imho just bonus stuff. Martin Klapetek wrote: Clicking the icon or using the media keys on most keyboards is probably enough possibilities for people change the volume. Scrolling on the icon is imho just bonus stuff. I use it extensively and every new user I put on Plasma, that's one of the first things I teach them. It's much more convenient because ~80% of the time you're holding your mouse in your hand and ~95% of the time you have your eyes on the screen. Going for keyboard button means in many cases taking your eyes off the screen and looking at the exact button position, often you even have to let the mouse go and move your hand to keyboard (for example YouTube video/any other media being too loud). Mark Gaiser wrote: But you can do it all with your mouse. 1. Click the icon 2. move your cursor to the stream (or master channel). 3. scroll... Just to be sure, scrolling (as i described in the steps above) works in this proposed component, right? All that's not working is scrolling on the tray icon, correct? Note: I happen to have a keyboard without media keys. I always click the icon and scroll on the stream where i want to change the sound level. Martin Klapetek wrote: Sure you can, it's just way easier to simply scroll on an icon than opening this - http://i.imgur.com/LcyFzq6.png and identifying the channel you need to change (the assumption being that you want to change only the main volume, not per stream controls). That way you're doing the visual identification twice - first locating the systray icon, click, now locating the proper handle. So doing it that way is mentally harder task than simply scroll the icon, which also saves you a click ;) Diego Casella wrote: @Mark Gaiser: volume change on scroll is a very, very, handy and smart feature (Martin's answer sums up everything nicely): it would be a pity if we lose it because of a lack in the Plasma QML bindings. By the way, an other plasma applet which uses such feature is, for example, the clock applet: it uses mouse scrolls to loop between timezones (if selected by the user), which is handy for example to check the UTC time before an IRC meeting ;) Besides, you're the first person who _wasn't_ aware of that feature :P As last resort, if we can't come up with a proper solution to whether add this feature back or not, I could blog about it and open a poll to planetkde readers, in order to collect as much feedbacks as possible, what do you think? Quote: By the way, an other plasma applet which uses such feature is, for example, the clock applet: it uses mouse scrolls to loop between timezones (if selected by the user), which is handy for example to check the UTC time before an IRC meeting ;) Sorry,
Re: Review Request 112208: KMix qml applet
On March 22, 2014, 11:09 p.m., Mark Gaiser wrote: Is there still an intention on getting this in KDE 4.xx? Just wondering since it seems to be much better then the current kmix popup. I also haven't heard about further development here. Diego as original submitter or somebody else would have to push this. I added this as a topic for the KDE Multimedia Sprint. It takes place in about 4 months (August 2014): https://sprints.kde.org/sprint/212 - Christian --- This is an automatically generated e-mail. To reply, visit: https://git.reviewboard.kde.org/r/112208/#review53775 --- On Aug. 27, 2013, 8:40 a.m., Diego Casella wrote: --- This is an automatically generated e-mail. To reply, visit: https://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: https://git.reviewboard.kde.org/r/112208/diff/ Testing --- Tested against master and works fine. File Attachments Default look https://git.reviewboard.kde.org/media/uploaded/files/2013/08/22/kmix_applet.png Menu Actions https://git.reviewboard.kde.org/media/uploaded/files/2013/08/22/kmix_applet1.png Applet Config Options https://git.reviewboard.kde.org/media/uploaded/files/2013/08/22/kmix_applet2.png Vertical Control https://git.reviewboard.kde.org/media/uploaded/files/2013/08/22/kmix_applet3.png ToolButton label and Config page after updates https://git.reviewboard.kde.org/media/uploaded/files/2013/08/24/kmix_applet5.png Control Icon and Label left aligned https://git.reviewboard.kde.org/media/uploaded/files/2013/08/27/kmix_applet6.png Thanks, Diego Casella ___ Plasma-devel mailing list Plasma-devel@kde.org https://mail.kde.org/mailman/listinfo/plasma-devel
Re: Review Request 112208: KMix qml applet
On March 22, 2014, 11:09 p.m., Mark Gaiser wrote: Is there still an intention on getting this in KDE 4.xx? Just wondering since it seems to be much better then the current kmix popup. Christian Esken wrote: I also haven't heard about further development here. Diego as original submitter or somebody else would have to push this. I added this as a topic for the KDE Multimedia Sprint. It takes place in about 4 months (August 2014): https://sprints.kde.org/sprint/212 My bad, sorry guys but I'm still in a busy period of my life :/ I'll try to fix the remaining issues pointed out in this review request, and then submit the changes here. There is still an ongoing (and BIG imho) issue anyway: we really really really need a Plasma QML callback to capture mouse scroll events. AFAIK there still isn't in both Plasma 4.13 and also Plasma Next. And talking about kmix applet, one feature everyone is using is the ability to adjust volume level with just few mouse scrolls over the applet icon. I think we need to fix this problem as well, what do you think? - Diego --- This is an automatically generated e-mail. To reply, visit: https://git.reviewboard.kde.org/r/112208/#review53775 --- On Aug. 27, 2013, 8:40 a.m., Diego Casella wrote: --- This is an automatically generated e-mail. To reply, visit: https://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: https://git.reviewboard.kde.org/r/112208/diff/ Testing --- Tested against master and works fine. File Attachments Default look https://git.reviewboard.kde.org/media/uploaded/files/2013/08/22/kmix_applet.png Menu Actions https://git.reviewboard.kde.org/media/uploaded/files/2013/08/22/kmix_applet1.png Applet Config Options https://git.reviewboard.kde.org/media/uploaded/files/2013/08/22/kmix_applet2.png Vertical Control https://git.reviewboard.kde.org/media/uploaded/files/2013/08/22/kmix_applet3.png ToolButton label and Config page after updates https://git.reviewboard.kde.org/media/uploaded/files/2013/08/24/kmix_applet5.png Control Icon and Label left aligned https://git.reviewboard.kde.org/media/uploaded/files/2013/08/27/kmix_applet6.png Thanks, Diego Casella ___ Plasma-devel mailing list Plasma-devel@kde.org https://mail.kde.org/mailman/listinfo/plasma-devel
Re: Review Request 112208: KMix qml applet
On March 22, 2014, 11:09 p.m., Mark Gaiser wrote: Is there still an intention on getting this in KDE 4.xx? Just wondering since it seems to be much better then the current kmix popup. Christian Esken wrote: I also haven't heard about further development here. Diego as original submitter or somebody else would have to push this. I added this as a topic for the KDE Multimedia Sprint. It takes place in about 4 months (August 2014): https://sprints.kde.org/sprint/212 Diego Casella wrote: My bad, sorry guys but I'm still in a busy period of my life :/ I'll try to fix the remaining issues pointed out in this review request, and then submit the changes here. There is still an ongoing (and BIG imho) issue anyway: we really really really need a Plasma QML callback to capture mouse scroll events. AFAIK there still isn't in both Plasma 4.13 and also Plasma Next. And talking about kmix applet, one feature everyone is using is the ability to adjust volume level with just few mouse scrolls over the applet icon. I think we need to fix this problem as well, what do you think? Yes, most definitely we should have mouse scroll events. I guess everybody is using it on the tray icon and in the main window, and so it should also be there for the applet. But if users can choose the plasmoid as an optional, then this is not a showstopper. It is probably better to get it started as is. We could mark it early-access, so interested people can start playing around with it and using it. - Christian --- This is an automatically generated e-mail. To reply, visit: https://git.reviewboard.kde.org/r/112208/#review53775 --- On Aug. 27, 2013, 8:40 a.m., Diego Casella wrote: --- This is an automatically generated e-mail. To reply, visit: https://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: https://git.reviewboard.kde.org/r/112208/diff/ Testing --- Tested against master and works fine. File Attachments Default look https://git.reviewboard.kde.org/media/uploaded/files/2013/08/22/kmix_applet.png Menu Actions https://git.reviewboard.kde.org/media/uploaded/files/2013/08/22/kmix_applet1.png Applet Config Options https://git.reviewboard.kde.org/media/uploaded/files/2013/08/22/kmix_applet2.png Vertical Control https://git.reviewboard.kde.org/media/uploaded/files/2013/08/22/kmix_applet3.png ToolButton label and Config page after updates https://git.reviewboard.kde.org/media/uploaded/files/2013/08/24/kmix_applet5.png Control Icon and Label left aligned https://git.reviewboard.kde.org/media/uploaded/files/2013/08/27/kmix_applet6.png Thanks, Diego Casella ___ Plasma-devel mailing list
Re: Review Request 112208: KMix qml applet
On March 22, 2014, 11:09 p.m., Mark Gaiser wrote: Is there still an intention on getting this in KDE 4.xx? Just wondering since it seems to be much better then the current kmix popup. Christian Esken wrote: I also haven't heard about further development here. Diego as original submitter or somebody else would have to push this. I added this as a topic for the KDE Multimedia Sprint. It takes place in about 4 months (August 2014): https://sprints.kde.org/sprint/212 Diego Casella wrote: My bad, sorry guys but I'm still in a busy period of my life :/ I'll try to fix the remaining issues pointed out in this review request, and then submit the changes here. There is still an ongoing (and BIG imho) issue anyway: we really really really need a Plasma QML callback to capture mouse scroll events. AFAIK there still isn't in both Plasma 4.13 and also Plasma Next. And talking about kmix applet, one feature everyone is using is the ability to adjust volume level with just few mouse scrolls over the applet icon. I think we need to fix this problem as well, what do you think? Christian Esken wrote: Yes, most definitely we should have mouse scroll events. I guess everybody is using it on the tray icon and in the main window, and so it should also be there for the applet. But if users can choose the plasmoid as an optional, then this is not a showstopper. It is probably better to get it started as is. We could mark it early-access, so interested people can start playing around with it and using it. Quote: There is still an ongoing (and BIG imho) issue anyway: we really really really need a Plasma QML callback to capture mouse scroll events Seriously? I never ever used the scrolling on the tray icon itself. I didn't even know it was possible till you said it in this post. But please don't let such a minor issue block your progress :) Clicking the icon or using the media keys on most keyboards is probably enough possibilities for people change the volume. Scrolling on the icon is imho just bonus stuff. - Mark --- This is an automatically generated e-mail. To reply, visit: https://git.reviewboard.kde.org/r/112208/#review53775 --- On Aug. 27, 2013, 8:40 a.m., Diego Casella wrote: --- This is an automatically generated e-mail. To reply, visit: https://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: https://git.reviewboard.kde.org/r/112208/diff/ Testing --- Tested against master and works fine. File Attachments Default look https://git.reviewboard.kde.org/media/uploaded/files/2013/08/22/kmix_applet.png Menu Actions https://git.reviewboard.kde.org/media/uploaded/files/2013/08/22/kmix_applet1.png Applet Config
Re: Review Request 112208: KMix qml applet
On March 23, 2014, 12:09 a.m., Mark Gaiser wrote: Is there still an intention on getting this in KDE 4.xx? Just wondering since it seems to be much better then the current kmix popup. Christian Esken wrote: I also haven't heard about further development here. Diego as original submitter or somebody else would have to push this. I added this as a topic for the KDE Multimedia Sprint. It takes place in about 4 months (August 2014): https://sprints.kde.org/sprint/212 Diego Casella wrote: My bad, sorry guys but I'm still in a busy period of my life :/ I'll try to fix the remaining issues pointed out in this review request, and then submit the changes here. There is still an ongoing (and BIG imho) issue anyway: we really really really need a Plasma QML callback to capture mouse scroll events. AFAIK there still isn't in both Plasma 4.13 and also Plasma Next. And talking about kmix applet, one feature everyone is using is the ability to adjust volume level with just few mouse scrolls over the applet icon. I think we need to fix this problem as well, what do you think? Christian Esken wrote: Yes, most definitely we should have mouse scroll events. I guess everybody is using it on the tray icon and in the main window, and so it should also be there for the applet. But if users can choose the plasmoid as an optional, then this is not a showstopper. It is probably better to get it started as is. We could mark it early-access, so interested people can start playing around with it and using it. Mark Gaiser wrote: Quote: There is still an ongoing (and BIG imho) issue anyway: we really really really need a Plasma QML callback to capture mouse scroll events Seriously? I never ever used the scrolling on the tray icon itself. I didn't even know it was possible till you said it in this post. But please don't let such a minor issue block your progress :) Clicking the icon or using the media keys on most keyboards is probably enough possibilities for people change the volume. Scrolling on the icon is imho just bonus stuff. Clicking the icon or using the media keys on most keyboards is probably enough possibilities for people change the volume. Scrolling on the icon is imho just bonus stuff. I use it extensively and every new user I put on Plasma, that's one of the first things I teach them. It's much more convenient because ~80% of the time you're holding your mouse in your hand and ~95% of the time you have your eyes on the screen. Going for keyboard button means in many cases taking your eyes off the screen and looking at the exact button position, often you even have to let the mouse go and move your hand to keyboard (for example YouTube video/any other media being too loud). - Martin --- This is an automatically generated e-mail. To reply, visit: https://git.reviewboard.kde.org/r/112208/#review53775 --- On Aug. 27, 2013, 10:40 a.m., Diego Casella wrote: --- This is an automatically generated e-mail. To reply, visit: https://git.reviewboard.kde.org/r/112208/ --- (Updated Aug. 27, 2013, 10: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
Re: Review Request 112208: KMix qml applet
On March 22, 2014, 11:09 p.m., Mark Gaiser wrote: Is there still an intention on getting this in KDE 4.xx? Just wondering since it seems to be much better then the current kmix popup. Christian Esken wrote: I also haven't heard about further development here. Diego as original submitter or somebody else would have to push this. I added this as a topic for the KDE Multimedia Sprint. It takes place in about 4 months (August 2014): https://sprints.kde.org/sprint/212 Diego Casella wrote: My bad, sorry guys but I'm still in a busy period of my life :/ I'll try to fix the remaining issues pointed out in this review request, and then submit the changes here. There is still an ongoing (and BIG imho) issue anyway: we really really really need a Plasma QML callback to capture mouse scroll events. AFAIK there still isn't in both Plasma 4.13 and also Plasma Next. And talking about kmix applet, one feature everyone is using is the ability to adjust volume level with just few mouse scrolls over the applet icon. I think we need to fix this problem as well, what do you think? Christian Esken wrote: Yes, most definitely we should have mouse scroll events. I guess everybody is using it on the tray icon and in the main window, and so it should also be there for the applet. But if users can choose the plasmoid as an optional, then this is not a showstopper. It is probably better to get it started as is. We could mark it early-access, so interested people can start playing around with it and using it. Mark Gaiser wrote: Quote: There is still an ongoing (and BIG imho) issue anyway: we really really really need a Plasma QML callback to capture mouse scroll events Seriously? I never ever used the scrolling on the tray icon itself. I didn't even know it was possible till you said it in this post. But please don't let such a minor issue block your progress :) Clicking the icon or using the media keys on most keyboards is probably enough possibilities for people change the volume. Scrolling on the icon is imho just bonus stuff. Martin Klapetek wrote: Clicking the icon or using the media keys on most keyboards is probably enough possibilities for people change the volume. Scrolling on the icon is imho just bonus stuff. I use it extensively and every new user I put on Plasma, that's one of the first things I teach them. It's much more convenient because ~80% of the time you're holding your mouse in your hand and ~95% of the time you have your eyes on the screen. Going for keyboard button means in many cases taking your eyes off the screen and looking at the exact button position, often you even have to let the mouse go and move your hand to keyboard (for example YouTube video/any other media being too loud). But you can do it all with your mouse. 1. Click the icon 2. move your cursor to the stream (or master channel). 3. scroll... Just to be sure, scrolling (as i described in the steps above) works in this proposed component, right? All that's not working is scrolling on the tray icon, correct? Note: I happen to have a keyboard without media keys. I always click the icon and scroll on the stream where i want to change the sound level. - Mark --- This is an automatically generated e-mail. To reply, visit: https://git.reviewboard.kde.org/r/112208/#review53775 --- On Aug. 27, 2013, 8:40 a.m., Diego Casella wrote: --- This is an automatically generated e-mail. To reply, visit: https://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
Re: Review Request 112208: KMix qml applet
On March 23, 2014, 12:09 a.m., Mark Gaiser wrote: Is there still an intention on getting this in KDE 4.xx? Just wondering since it seems to be much better then the current kmix popup. Christian Esken wrote: I also haven't heard about further development here. Diego as original submitter or somebody else would have to push this. I added this as a topic for the KDE Multimedia Sprint. It takes place in about 4 months (August 2014): https://sprints.kde.org/sprint/212 Diego Casella wrote: My bad, sorry guys but I'm still in a busy period of my life :/ I'll try to fix the remaining issues pointed out in this review request, and then submit the changes here. There is still an ongoing (and BIG imho) issue anyway: we really really really need a Plasma QML callback to capture mouse scroll events. AFAIK there still isn't in both Plasma 4.13 and also Plasma Next. And talking about kmix applet, one feature everyone is using is the ability to adjust volume level with just few mouse scrolls over the applet icon. I think we need to fix this problem as well, what do you think? Christian Esken wrote: Yes, most definitely we should have mouse scroll events. I guess everybody is using it on the tray icon and in the main window, and so it should also be there for the applet. But if users can choose the plasmoid as an optional, then this is not a showstopper. It is probably better to get it started as is. We could mark it early-access, so interested people can start playing around with it and using it. Mark Gaiser wrote: Quote: There is still an ongoing (and BIG imho) issue anyway: we really really really need a Plasma QML callback to capture mouse scroll events Seriously? I never ever used the scrolling on the tray icon itself. I didn't even know it was possible till you said it in this post. But please don't let such a minor issue block your progress :) Clicking the icon or using the media keys on most keyboards is probably enough possibilities for people change the volume. Scrolling on the icon is imho just bonus stuff. Martin Klapetek wrote: Clicking the icon or using the media keys on most keyboards is probably enough possibilities for people change the volume. Scrolling on the icon is imho just bonus stuff. I use it extensively and every new user I put on Plasma, that's one of the first things I teach them. It's much more convenient because ~80% of the time you're holding your mouse in your hand and ~95% of the time you have your eyes on the screen. Going for keyboard button means in many cases taking your eyes off the screen and looking at the exact button position, often you even have to let the mouse go and move your hand to keyboard (for example YouTube video/any other media being too loud). Mark Gaiser wrote: But you can do it all with your mouse. 1. Click the icon 2. move your cursor to the stream (or master channel). 3. scroll... Just to be sure, scrolling (as i described in the steps above) works in this proposed component, right? All that's not working is scrolling on the tray icon, correct? Note: I happen to have a keyboard without media keys. I always click the icon and scroll on the stream where i want to change the sound level. Sure you can, it's just way easier to simply scroll on an icon than opening this - http://i.imgur.com/LcyFzq6.png and identifying the channel you need to change (the assumption being that you want to change only the main volume, not per stream controls). That way you're doing the visual identification twice - first locating the systray icon, click, now locating the proper handle. So doing it that way is mentally harder task than simply scroll the icon, which also saves you a click ;) - Martin --- This is an automatically generated e-mail. To reply, visit: https://git.reviewboard.kde.org/r/112208/#review53775 --- On Aug. 27, 2013, 10:40 a.m., Diego Casella wrote: --- This is an automatically generated e-mail. To reply, visit: https://git.reviewboard.kde.org/r/112208/ --- (Updated Aug. 27, 2013, 10: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
Re: Review Request 112208: KMix qml applet
--- This is an automatically generated e-mail. To reply, visit: https://git.reviewboard.kde.org/r/112208/#review53775 --- Is there still an intention on getting this in KDE 4.xx? Just wondering since it seems to be much better then the current kmix popup. - Mark Gaiser On Aug. 27, 2013, 8:40 a.m., Diego Casella wrote: --- This is an automatically generated e-mail. To reply, visit: https://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: https://git.reviewboard.kde.org/r/112208/diff/ Testing --- Tested against master and works fine. File Attachments Default look https://git.reviewboard.kde.org/media/uploaded/files/2013/08/22/kmix_applet.png Menu Actions https://git.reviewboard.kde.org/media/uploaded/files/2013/08/22/kmix_applet1.png Applet Config Options https://git.reviewboard.kde.org/media/uploaded/files/2013/08/22/kmix_applet2.png Vertical Control https://git.reviewboard.kde.org/media/uploaded/files/2013/08/22/kmix_applet3.png ToolButton label and Config page after updates https://git.reviewboard.kde.org/media/uploaded/files/2013/08/24/kmix_applet5.png Control Icon and Label left aligned https://git.reviewboard.kde.org/media/uploaded/files/2013/08/27/kmix_applet6.png Thanks, Diego Casella ___ Plasma-devel mailing list Plasma-devel@kde.org https://mail.kde.org/mailman/listinfo/plasma-devel
Re: Review Request 112208: KMix qml applet
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/ 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. - Diego --- 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
Re: Review Request 112208: KMix qml applet
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
Re: Review Request 112208: KMix qml applet
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 :) 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/ - 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
Re: Review Request 112208: KMix qml applet
On Sunday, September 01, 2013 10:27:27 Diego Casella wrote: @sebas ping? It's on my list, sorry for the delay. -- sebas http://www.kde.org | http://vizZzion.org | GPG Key ID: 9119 0EF9 ___ Plasma-devel mailing list Plasma-devel@kde.org https://mail.kde.org/mailman/listinfo/plasma-devel
Re: Review Request 112208: KMix qml applet
On Aug. 28, 2013, 9:10 p.m., Xuetian Weng wrote: plasma/kmix-applet-qml/contents/ui/HorizontalControl.qml, line 55 http://git.reviewboard.kde.org/r/112208/diff/1/?file=183953#file183953line55 if volume is changed from kmix, not from the applet, this would issue a duplicate service call to dataengine. my solution is to add a bool protector to disable this signal if the data change is not from user. Xuetian Weng wrote: sorry for noise, maybe you should try onSliderMoved signal instead. Diego Casella wrote: cannot bind to a non-existent property, says plasma ... are you sure this method exists? Xuetian Weng wrote: ah sorry... I initially thought it's Plasma/Slider in cpp but now it seems it's another implementation in qml. the cpp version of Plasma/Slider is actually in plasma.graphicswidget but since we're moving to qt5 in the future graphicswidget implementation is not a preferable solution... So you might want to use the solution in my first comment. imho it is too hackish and the applet works good even in this state. Do we really need to introduce something like that when you change the volume levels for, say, a total of 5 minutes every day (overstimated)? - Diego --- This is an automatically generated e-mail. To reply, visit: http://git.reviewboard.kde.org/r/112208/#review38813 --- 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. 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 ___ Plasma-devel mailing list Plasma-devel@kde.org https://mail.kde.org/mailman/listinfo/plasma-devel
Re: Review Request 112208: KMix qml applet
On Aug. 28, 2013, 9:10 p.m., Xuetian Weng wrote: plasma/kmix-applet-qml/contents/ui/HorizontalControl.qml, line 55 http://git.reviewboard.kde.org/r/112208/diff/1/?file=183953#file183953line55 if volume is changed from kmix, not from the applet, this would issue a duplicate service call to dataengine. my solution is to add a bool protector to disable this signal if the data change is not from user. Xuetian Weng wrote: sorry for noise, maybe you should try onSliderMoved signal instead. Diego Casella wrote: cannot bind to a non-existent property, says plasma ... are you sure this method exists? Xuetian Weng wrote: ah sorry... I initially thought it's Plasma/Slider in cpp but now it seems it's another implementation in qml. the cpp version of Plasma/Slider is actually in plasma.graphicswidget but since we're moving to qt5 in the future graphicswidget implementation is not a preferable solution... So you might want to use the solution in my first comment. Diego Casella wrote: imho it is too hackish and the applet works good even in this state. Do we really need to introduce something like that when you change the volume levels for, say, a total of 5 minutes every day (overstimated)? There is some possible data race when last time I looked at the brightness slider in battery plasmoid. Especially when user drag the slider which generates more than one onValueChanged (Click on slider is usually ok). And the slider looks very jumpy in that case. user drags the slider onValueChanged caused by user call setVolume to A to backend user drags slider further to B onValueChanged caused by user call setVolume B to backend backend notifies the change of A onValueChanged caused by backend notificatoin slider change back to A but user mouse is actually already on B. and now it will send setVolume to A again. and it will generate another onValueChanged. Eventually it will have volume at B but if the difference of value A and B is huge, the visual reflection would be really bad. And in some case it might generate really quite a lot onValueChanged (since theoretically it can generate infinite ping-pong loop if all events arrives just-in-time.). I didn't test your plasmoid but you can try to drag it aggressively from on side to the other side to see if this is really a issue. - Xuetian --- This is an automatically generated e-mail. To reply, visit: http://git.reviewboard.kde.org/r/112208/#review38813 --- 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. 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
Re: Review Request 112208: KMix qml applet
On Aug. 28, 2013, 9:10 p.m., Xuetian Weng wrote: plasma/kmix-applet-qml/contents/ui/HorizontalControl.qml, line 55 http://git.reviewboard.kde.org/r/112208/diff/1/?file=183953#file183953line55 if volume is changed from kmix, not from the applet, this would issue a duplicate service call to dataengine. my solution is to add a bool protector to disable this signal if the data change is not from user. Xuetian Weng wrote: sorry for noise, maybe you should try onSliderMoved signal instead. Diego Casella wrote: cannot bind to a non-existent property, says plasma ... are you sure this method exists? Xuetian Weng wrote: ah sorry... I initially thought it's Plasma/Slider in cpp but now it seems it's another implementation in qml. the cpp version of Plasma/Slider is actually in plasma.graphicswidget but since we're moving to qt5 in the future graphicswidget implementation is not a preferable solution... So you might want to use the solution in my first comment. Diego Casella wrote: imho it is too hackish and the applet works good even in this state. Do we really need to introduce something like that when you change the volume levels for, say, a total of 5 minutes every day (overstimated)? Xuetian Weng wrote: There is some possible data race when last time I looked at the brightness slider in battery plasmoid. Especially when user drag the slider which generates more than one onValueChanged (Click on slider is usually ok). And the slider looks very jumpy in that case. user drags the slider onValueChanged caused by user call setVolume to A to backend user drags slider further to B onValueChanged caused by user call setVolume B to backend backend notifies the change of A onValueChanged caused by backend notificatoin slider change back to A but user mouse is actually already on B. and now it will send setVolume to A again. and it will generate another onValueChanged. Eventually it will have volume at B but if the difference of value A and B is huge, the visual reflection would be really bad. And in some case it might generate really quite a lot onValueChanged (since theoretically it can generate infinite ping-pong loop if all events arrives just-in-time.). I didn't test your plasmoid but you can try to drag it aggressively from on side to the other side to see if this is really a issue. Believe me, I know exactly the issue you are talking about. I tried various fixes it since 2010, when I did my first (ugly) proof of concept applet[1] in C++. Back at that time, i simply disconnected the slider, updated it, and then restored the connection. Then, moving to javascript and after that, into qml world, I tried the boolean solution too, but I realized that: I was adding kind of hackish code to address an issue which is in fact just a corner case, really. No one (mentally healthy enough :) would ever drag aggressively the audio slider back and forth and blow his/her auditive apparatus just because it's funny doing so. I'm not saying your observation is wrong but, imho, we are adding more code to cover a really improper usage of the applet which is unlikely to happen. Let's hear from other devs what they think about it, so we will better decide whether to deal with that issue or not :) [1] http://quickgit.kde.org/?p=scratch%2Fcasella%2Fplasma-applet-kmix.gita=blobh=551c9eab7827c4d1d4a162bb772d9ec30091a1adhb=e5d4ddd21943cbf93166ff8fbd61755ad00d495ef=mixercontrol.cpp#L61 - Diego --- This is an automatically generated e-mail. To reply, visit: http://git.reviewboard.kde.org/r/112208/#review38813 --- 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. 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
Re: Review Request 112208: KMix qml applet
On Aug. 28, 2013, 9:10 p.m., Xuetian Weng wrote: plasma/kmix-applet-qml/contents/ui/HorizontalControl.qml, line 55 http://git.reviewboard.kde.org/r/112208/diff/1/?file=183953#file183953line55 if volume is changed from kmix, not from the applet, this would issue a duplicate service call to dataengine. my solution is to add a bool protector to disable this signal if the data change is not from user. Xuetian Weng wrote: sorry for noise, maybe you should try onSliderMoved signal instead. Diego Casella wrote: cannot bind to a non-existent property, says plasma ... are you sure this method exists? Xuetian Weng wrote: ah sorry... I initially thought it's Plasma/Slider in cpp but now it seems it's another implementation in qml. the cpp version of Plasma/Slider is actually in plasma.graphicswidget but since we're moving to qt5 in the future graphicswidget implementation is not a preferable solution... So you might want to use the solution in my first comment. Diego Casella wrote: imho it is too hackish and the applet works good even in this state. Do we really need to introduce something like that when you change the volume levels for, say, a total of 5 minutes every day (overstimated)? Xuetian Weng wrote: There is some possible data race when last time I looked at the brightness slider in battery plasmoid. Especially when user drag the slider which generates more than one onValueChanged (Click on slider is usually ok). And the slider looks very jumpy in that case. user drags the slider onValueChanged caused by user call setVolume to A to backend user drags slider further to B onValueChanged caused by user call setVolume B to backend backend notifies the change of A onValueChanged caused by backend notificatoin slider change back to A but user mouse is actually already on B. and now it will send setVolume to A again. and it will generate another onValueChanged. Eventually it will have volume at B but if the difference of value A and B is huge, the visual reflection would be really bad. And in some case it might generate really quite a lot onValueChanged (since theoretically it can generate infinite ping-pong loop if all events arrives just-in-time.). I didn't test your plasmoid but you can try to drag it aggressively from on side to the other side to see if this is really a issue. Diego Casella wrote: Believe me, I know exactly the issue you are talking about. I tried various fixes it since 2010, when I did my first (ugly) proof of concept applet[1] in C++. Back at that time, i simply disconnected the slider, updated it, and then restored the connection. Then, moving to javascript and after that, into qml world, I tried the boolean solution too, but I realized that: I was adding kind of hackish code to address an issue which is in fact just a corner case, really. No one (mentally healthy enough :) would ever drag aggressively the audio slider back and forth and blow his/her auditive apparatus just because it's funny doing so. I'm not saying your observation is wrong but, imho, we are adding more code to cover a really improper usage of the applet which is unlikely to happen. Let's hear from other devs what they think about it, so we will better decide whether to deal with that issue or not :) [1] http://quickgit.kde.org/?p=scratch%2Fcasella%2Fplasma-applet-kmix.gita=blobh=551c9eab7827c4d1d4a162bb772d9ec30091a1adhb=e5d4ddd21943cbf93166ff8fbd61755ad00d495ef=mixercontrol.cpp#L61 This can work out differently per machine. I would say that it makes sense to disable reacting to the changed signal while the user is interacting, so maybe catch external changes, block them for a short amount when the user has just changed the value. It's a common case, and can make using the slider unnaturally jerky, so I think it does warrant some extra complexity in the code here, hopefully a pretty simple change. Another solution would be to introduce a sender in the whole volume setting chain, and make sure to not react to one's own changes after it has done a round-trip. That would probably be a bit of overkill, though. :) - Sebastian --- This is an automatically generated e-mail. To reply, visit: http://git.reviewboard.kde.org/r/112208/#review38813 --- 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,
Re: Review Request 112208: KMix qml applet
On Aug. 22, 2013, 10:46 p.m., Aaron J. Seigo wrote: File Attachment: Applet Config Options http://git.reviewboard.kde.org/r/112208/#fcomment91 Do we even really need horizontal/vertical orientation for the sliders as a configuration option? Other than because we can what is the actual end user value of that option? Igor Poboiko wrote: AFAIK MacOS and Windows use vertical slider orientation, while GnomeUbuntu use horizontal sliders. Some people may be used to one of the variants and find another one inconvenient. So why not let them choose? There is not that many options in that applet anyways. Marco Martin wrote: i would prefer not having that as well, plasma appletswere designed to make easy for the user to change a plasmoid with another if they don't like it, rther than making the developer maintain many different code paths of which some combination will always go untested... one thing without a config dialog that may be tried is adjusting horizontal or vertical how better suits the size of the config dialog at the moment... Sebastian Kügler wrote: Case in point: The use of QtHorizontal and QtVertical throughout the code suggest to me that the horizontal case wasn't really tested in the submitted version. Kinda supports Marco's fear of untested code pathes. ;-) Diego Casella wrote: I've tried to keep compatibility with the old KMix interface, which lets you choose whether you want horizontal or vertical sliders. @Marco You are completely right, but we don't want to end with two applets like KMix with horizontal sliders and KMix with vertical sliders right? We should try to get a reliable procedure to retrieve the size of the elements in the listview, which is the root of my issues with the applet resize. @Sebas Care to explain? Both the cases have been tested. Sebastian Kügler wrote: sure, QtVertical and QtHorizontal do not exist, that's a syntax error. I don't see how that could work, other than by complete accident. Diego Casella wrote: Maybe hose enums were kept for backwards compatibilty, because they still do exists. Right here: https://projects.kde.org/projects/kde/kde-runtime/repository/revisions/master/entry/plasma/scriptengines/javascript/plasmoid/appletinterface.h#L156 Since my very first draft of the kmix applet is litteraly *years* old, even though I heavily refactored/modified/dropped the code, the QtVertical enums is something iI never checked if they were still valid or not, since they always worked fine :) Diego Casella wrote: Out of curiosity: can you now confirm rev1 is working even if it isn't supposed to, because somehow QtVertical/QtHorizontal are still defined in qml when they shouldn't? Do you want to keep the possibility to change the orientation of the mixer controls? Diego Casella wrote: @sebas ping? They're defined currently, yes. I'm not sure why that is, but that is removed in Plasma2, and QtHorizontal is Qt.Horizontal and QtVertical is Qt.Vertical. So it would be better to use Qt.Horizontal and Qt.Vertical throughout, to save headaches later, and not produce a bad example for others. I've looked into it, at least now I know how it could work, and how your tests passed. :) - Sebastian --- This is an automatically generated e-mail. To reply, visit: http://git.reviewboard.kde.org/r/112208/#review38390 --- 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. 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
Re: Review Request 112208: KMix qml applet
On Aug. 22, 2013, 2:34 p.m., Sebastian Kügler wrote: File Attachment: Vertical Control http://git.reviewboard.kde.org/r/112208/#fcomment92 Clipping Diego Casella wrote: This falls in the known issues - resizing stuff: it is kinda hard to get the sizes right but the applet itself is resizeable so, until we get this right, the user can expand it as much as needed to fix it. That operation needs to be done only once because then plasma keeps track of it, so it would be a single-time hassle.. what do you think? It should look neat by default. First impression is everything, and the user doesn't want to resize all kinds of dialogs, so they fit nicely. This leads to a jarring user experience. A good way to get to a somewhat adaptable UI is basing the sizing, or the margins on font sizes, i.e. theme.defaultFont.mSize, or theme.defaultFont.pixelSize, so dpi is taken into account as well. Or just add a few pixels of margin. There's another issue with this, the dialog contents isn't anchored properly to the dialog, so resizing doesn't resize the content. This will need to be fixed independently, and should hopefully fix the clipping of the last rows, being overlaid by the button row. On Aug. 22, 2013, 2:34 p.m., Sebastian Kügler wrote: plasma/CMakeLists.txt, line 2 http://git.reviewboard.kde.org/r/112208/diff/1/?file=183950#file183950line2 use the installPackage macro for this and the following line Diego Casella wrote: First it needs to be exported, since it lives inside kde-workspace/plasma/CMakeLists.txt ;) Ah, ok. In Plasma2, it's indeed in PlasmaMacros, you can keep it that way, and we'll change it post-port-to-plasma2. - Sebastian --- This is an automatically generated e-mail. To reply, visit: http://git.reviewboard.kde.org/r/112208/#review38344 --- 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. 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
Re: Review Request 112208: KMix qml applet
--- This is an automatically generated e-mail. To reply, visit: http://git.reviewboard.kde.org/r/112208/#review39222 --- 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 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. 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,
Re: Review Request 112208: KMix qml applet
On Aug. 28, 2013, 9:10 p.m., Xuetian Weng wrote: plasma/kmix-applet-qml/contents/ui/HorizontalControl.qml, line 55 http://git.reviewboard.kde.org/r/112208/diff/1/?file=183953#file183953line55 if volume is changed from kmix, not from the applet, this would issue a duplicate service call to dataengine. my solution is to add a bool protector to disable this signal if the data change is not from user. Xuetian Weng wrote: sorry for noise, maybe you should try onSliderMoved signal instead. cannot bind to a non-existent property, says plasma ... are you sure this method exists? - Diego --- This is an automatically generated e-mail. To reply, visit: http://git.reviewboard.kde.org/r/112208/#review38813 --- 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. 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 ___ Plasma-devel mailing list Plasma-devel@kde.org https://mail.kde.org/mailman/listinfo/plasma-devel
Re: Review Request 112208: KMix qml applet
On Aug. 28, 2013, 9 p.m., Xuetian Weng wrote: File Attachment: Control Icon and Label left aligned http://git.reviewboard.kde.org/r/112208/#fcomment89 It would be nice to have a line here. svg: widgets/line and element horizontal-line would work here There's already a line to separate the buttons from the mixer listview. imho adding further separators is redundant, we already know that every slider refers to the mixer described by the label avobe itself. - Diego --- This is an automatically generated e-mail. To reply, visit: http://git.reviewboard.kde.org/r/112208/#review38812 --- 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. 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 ___ Plasma-devel mailing list Plasma-devel@kde.org https://mail.kde.org/mailman/listinfo/plasma-devel
Re: Review Request 112208: KMix qml applet
On Aug. 29, 2013, 4:05 a.m., Bhushan Shah wrote: Can't we have it in branch or hosted somewhere on git? yep, seems like it would be a good idea indeed ... casella-kmix-qml-applet is the branch I made. - Diego --- This is an automatically generated e-mail. To reply, visit: http://git.reviewboard.kde.org/r/112208/#review38823 --- 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. 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 ___ Plasma-devel mailing list Plasma-devel@kde.org https://mail.kde.org/mailman/listinfo/plasma-devel
Re: Review Request 112208: KMix qml applet
On Aug. 22, 2013, 10:46 p.m., Aaron J. Seigo wrote: File Attachment: Applet Config Options http://git.reviewboard.kde.org/r/112208/#fcomment90 Do we even really need horizontal/vertical orientation for the sliders as a configuration option? Other than because we can what is the actual end user value of that option? Igor Poboiko wrote: AFAIK MacOS and Windows use vertical slider orientation, while GnomeUbuntu use horizontal sliders. Some people may be used to one of the variants and find another one inconvenient. So why not let them choose? There is not that many options in that applet anyways. Marco Martin wrote: i would prefer not having that as well, plasma appletswere designed to make easy for the user to change a plasmoid with another if they don't like it, rther than making the developer maintain many different code paths of which some combination will always go untested... one thing without a config dialog that may be tried is adjusting horizontal or vertical how better suits the size of the config dialog at the moment... Sebastian Kügler wrote: Case in point: The use of QtHorizontal and QtVertical throughout the code suggest to me that the horizontal case wasn't really tested in the submitted version. Kinda supports Marco's fear of untested code pathes. ;-) Diego Casella wrote: I've tried to keep compatibility with the old KMix interface, which lets you choose whether you want horizontal or vertical sliders. @Marco You are completely right, but we don't want to end with two applets like KMix with horizontal sliders and KMix with vertical sliders right? We should try to get a reliable procedure to retrieve the size of the elements in the listview, which is the root of my issues with the applet resize. @Sebas Care to explain? Both the cases have been tested. Sebastian Kügler wrote: sure, QtVertical and QtHorizontal do not exist, that's a syntax error. I don't see how that could work, other than by complete accident. Diego Casella wrote: Maybe hose enums were kept for backwards compatibilty, because they still do exists. Right here: https://projects.kde.org/projects/kde/kde-runtime/repository/revisions/master/entry/plasma/scriptengines/javascript/plasmoid/appletinterface.h#L156 Since my very first draft of the kmix applet is litteraly *years* old, even though I heavily refactored/modified/dropped the code, the QtVertical enums is something iI never checked if they were still valid or not, since they always worked fine :) Diego Casella wrote: Out of curiosity: can you now confirm rev1 is working even if it isn't supposed to, because somehow QtVertical/QtHorizontal are still defined in qml when they shouldn't? Do you want to keep the possibility to change the orientation of the mixer controls? @sebas ping? - Diego --- This is an automatically generated e-mail. To reply, visit: http://git.reviewboard.kde.org/r/112208/#review38390 --- 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. 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
Re: Review Request 112208: KMix qml applet
On Aug. 28, 2013, 9:10 p.m., Xuetian Weng wrote: plasma/kmix-applet-qml/contents/ui/HorizontalControl.qml, line 55 http://git.reviewboard.kde.org/r/112208/diff/1/?file=183953#file183953line55 if volume is changed from kmix, not from the applet, this would issue a duplicate service call to dataengine. my solution is to add a bool protector to disable this signal if the data change is not from user. Xuetian Weng wrote: sorry for noise, maybe you should try onSliderMoved signal instead. Diego Casella wrote: cannot bind to a non-existent property, says plasma ... are you sure this method exists? ah sorry... I initially thought it's Plasma/Slider in cpp but now it seems it's another implementation in qml. the cpp version of Plasma/Slider is actually in plasma.graphicswidget but since we're moving to qt5 in the future graphicswidget implementation is not a preferable solution... So you might want to use the solution in my first comment. - Xuetian --- This is an automatically generated e-mail. To reply, visit: http://git.reviewboard.kde.org/r/112208/#review38813 --- 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. 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 ___ Plasma-devel mailing list Plasma-devel@kde.org https://mail.kde.org/mailman/listinfo/plasma-devel
Re: Review Request 112208: KMix qml applet
On Aug. 22, 2013, 10:46 p.m., Aaron J. Seigo wrote: File Attachment: Applet Config Options http://git.reviewboard.kde.org/r/112208/#fcomment87 Do we even really need horizontal/vertical orientation for the sliders as a configuration option? Other than because we can what is the actual end user value of that option? Igor Poboiko wrote: AFAIK MacOS and Windows use vertical slider orientation, while GnomeUbuntu use horizontal sliders. Some people may be used to one of the variants and find another one inconvenient. So why not let them choose? There is not that many options in that applet anyways. Marco Martin wrote: i would prefer not having that as well, plasma appletswere designed to make easy for the user to change a plasmoid with another if they don't like it, rther than making the developer maintain many different code paths of which some combination will always go untested... one thing without a config dialog that may be tried is adjusting horizontal or vertical how better suits the size of the config dialog at the moment... Sebastian Kügler wrote: Case in point: The use of QtHorizontal and QtVertical throughout the code suggest to me that the horizontal case wasn't really tested in the submitted version. Kinda supports Marco's fear of untested code pathes. ;-) Diego Casella wrote: I've tried to keep compatibility with the old KMix interface, which lets you choose whether you want horizontal or vertical sliders. @Marco You are completely right, but we don't want to end with two applets like KMix with horizontal sliders and KMix with vertical sliders right? We should try to get a reliable procedure to retrieve the size of the elements in the listview, which is the root of my issues with the applet resize. @Sebas Care to explain? Both the cases have been tested. Sebastian Kügler wrote: sure, QtVertical and QtHorizontal do not exist, that's a syntax error. I don't see how that could work, other than by complete accident. Diego Casella wrote: Maybe hose enums were kept for backwards compatibilty, because they still do exists. Right here: https://projects.kde.org/projects/kde/kde-runtime/repository/revisions/master/entry/plasma/scriptengines/javascript/plasmoid/appletinterface.h#L156 Since my very first draft of the kmix applet is litteraly *years* old, even though I heavily refactored/modified/dropped the code, the QtVertical enums is something iI never checked if they were still valid or not, since they always worked fine :) Out of curiosity: can you now confirm rev1 is working even if it isn't supposed to, because somehow QtVertical/QtHorizontal are still defined in qml when they shouldn't? Do you want to keep the possibility to change the orientation of the mixer controls? - Diego --- This is an automatically generated e-mail. To reply, visit: http://git.reviewboard.kde.org/r/112208/#review38390 --- 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. 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
Re: Review Request 112208: KMix qml applet
--- This is an automatically generated e-mail. To reply, visit: http://git.reviewboard.kde.org/r/112208/#review38812 --- File Attachment: Control Icon and Label left aligned http://git.reviewboard.kde.org//r/112208/#fcomment88 It would be nice to have a line here. svg: widgets/line and element horizontal-line would work here - Xuetian Weng 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. 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 ___ Plasma-devel mailing list Plasma-devel@kde.org https://mail.kde.org/mailman/listinfo/plasma-devel
Re: Review Request 112208: KMix qml applet
--- This is an automatically generated e-mail. To reply, visit: http://git.reviewboard.kde.org/r/112208/#review38813 --- plasma/kmix-applet-qml/contents/ui/HorizontalControl.qml http://git.reviewboard.kde.org/r/112208/#comment28679 if volume is changed from kmix, not from the applet, this would issue a duplicate service call to dataengine. my solution is to add a bool protector to disable this signal if the data change is not from user. - Xuetian Weng 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. 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 ___ Plasma-devel mailing list Plasma-devel@kde.org https://mail.kde.org/mailman/listinfo/plasma-devel
Re: Review Request 112208: KMix qml applet
On Aug. 28, 2013, 9:10 p.m., Xuetian Weng wrote: plasma/kmix-applet-qml/contents/ui/HorizontalControl.qml, line 55 http://git.reviewboard.kde.org/r/112208/diff/1/?file=183953#file183953line55 if volume is changed from kmix, not from the applet, this would issue a duplicate service call to dataengine. my solution is to add a bool protector to disable this signal if the data change is not from user. sorry for noise, maybe you should try onSliderMoved signal instead. - Xuetian --- This is an automatically generated e-mail. To reply, visit: http://git.reviewboard.kde.org/r/112208/#review38813 --- 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. 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 ___ Plasma-devel mailing list Plasma-devel@kde.org https://mail.kde.org/mailman/listinfo/plasma-devel
Re: Review Request 112208: KMix qml applet
--- This is an automatically generated e-mail. To reply, visit: http://git.reviewboard.kde.org/r/112208/#review38823 --- Can't we have it in branch or hosted somewhere on git? - Bhushan Shah 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. 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 ___ Plasma-devel mailing list Plasma-devel@kde.org https://mail.kde.org/mailman/listinfo/plasma-devel
Re: Review Request 112208: KMix qml applet
On Aug. 26, 2013, 3:38 p.m., Igor Poboiko wrote: File Attachment: Vertical Control http://git.reviewboard.kde.org/r/112208/#fcomment83 Do we need it? (there is volume level percentage under the tooltip) It isn't consistent with horizontal view where there is no such label. Also it duplicates the information from slider. And also it reacts pretty slow to the changes when user moves the slider (due to slowness of the chain plasma-dbus-kmix-backend-kmix-dbus-plasma), which is pretty frustrating. A label (or a tooltip maybe?) with device name would be nice, because it is pretty hard to decide what volume am I changing when there are multiple cards (or just input and output sliders like in PulseAudio). tooltpis are gone in rev2, see sebas comment ;) The reason I didn't used a label with this layout is that it would take sooo much space but sure, this is an issue that must be addressed because the user must know which control he/she's going to modify ... I'll try to play with some wrapMode Label properties and see if I can get something usable and good looking. - Diego --- This is an automatically generated e-mail. To reply, visit: http://git.reviewboard.kde.org/r/112208/#review38661 --- On Aug. 24, 2013, 3:11 p.m., Diego Casella wrote: --- This is an automatically generated e-mail. To reply, visit: http://git.reviewboard.kde.org/r/112208/ --- (Updated Aug. 24, 2013, 3:11 p.m.) Review request for Plasma, Aaron J. Seigo, Christian Esken, Marco Martin, and Igor Poboiko. 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/config/main.xml PRE-CREATION plasma/kmix-applet-qml/contents/ui/ButtonBar.qml PRE-CREATION 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/MixersList.qml PRE-CREATION plasma/kmix-applet-qml/contents/ui/VerticalControl.qml PRE-CREATION plasma/kmix-applet-qml/contents/ui/VerticalMixerListDelegate.qml PRE-CREATION plasma/kmix-applet-qml/contents/ui/config.ui PRE-CREATION plasma/kmix-applet-qml/contents/ui/kmixapplet.qml PRE-CREATION plasma/kmix-applet-qml/metadata.desktop 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 Thanks, Diego Casella ___ Plasma-devel mailing list Plasma-devel@kde.org https://mail.kde.org/mailman/listinfo/plasma-devel
Re: Review Request 112208: KMix qml applet
On Aug. 22, 2013, 2:34 p.m., Sebastian Kügler wrote: File Attachment: Menu Actions http://git.reviewboard.kde.org/r/112208/#fcomment84 Maybe we could align this in the same way as the batter applet does? Diego Casella wrote: The menu comes from a right-click from within the widget -not the applet icon in the panel-, but i forgot to check the include mouse pointer option when I took that screenshot :) Martin Klapetek wrote: (the comment was about the plasmoid stuff alignment, not the menu ;) I'd agree with aligning it the same way as battery plasmoid - put the app icon on the left, make it span over two rows and discard the speaker icon. Also the text should be aligned to left then instead of centered, looks a bit chaotic imho. That way we'll have consistent look in two important parts of the workspace, which I believe is very important. I see, my bad. Pretty easy fix, will submit the update in a min ;) - Diego --- This is an automatically generated e-mail. To reply, visit: http://git.reviewboard.kde.org/r/112208/#review38344 --- On Aug. 24, 2013, 3:11 p.m., Diego Casella wrote: --- This is an automatically generated e-mail. To reply, visit: http://git.reviewboard.kde.org/r/112208/ --- (Updated Aug. 24, 2013, 3:11 p.m.) Review request for Plasma, Aaron J. Seigo, Christian Esken, Marco Martin, and Igor Poboiko. 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/config/main.xml PRE-CREATION plasma/kmix-applet-qml/contents/ui/ButtonBar.qml PRE-CREATION 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/MixersList.qml PRE-CREATION plasma/kmix-applet-qml/contents/ui/VerticalControl.qml PRE-CREATION plasma/kmix-applet-qml/contents/ui/VerticalMixerListDelegate.qml PRE-CREATION plasma/kmix-applet-qml/contents/ui/config.ui PRE-CREATION plasma/kmix-applet-qml/contents/ui/kmixapplet.qml PRE-CREATION plasma/kmix-applet-qml/metadata.desktop 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 Thanks, Diego Casella ___ Plasma-devel mailing list Plasma-devel@kde.org https://mail.kde.org/mailman/listinfo/plasma-devel
Re: Review Request 112208: KMix qml applet
--- This is an automatically generated e-mail. To reply, visit: http://git.reviewboard.kde.org/r/112208/ --- (Updated Aug. 27, 2013, 8:39 a.m.) Review request for Plasma, Aaron J. Seigo, Christian Esken, Marco Martin, and Igor Poboiko. Changes --- Layout icon and control label on the left as david suggested 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 (updated) - 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 Thanks, Diego Casella ___ Plasma-devel mailing list Plasma-devel@kde.org https://mail.kde.org/mailman/listinfo/plasma-devel
Re: Review Request 112208: KMix qml applet
--- 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. 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 (updated) 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 ___ Plasma-devel mailing list Plasma-devel@kde.org https://mail.kde.org/mailman/listinfo/plasma-devel
Re: Review Request 112208: KMix qml applet
--- This is an automatically generated e-mail. To reply, visit: http://git.reviewboard.kde.org/r/112208/#review38727 --- File Attachment: Control Icon and Label left aligned http://git.reviewboard.kde.org//r/112208/#fcomment85 I wonder if we still need the speaker icons. The way I see it they represent two things - one is how loud is this sound (higher the volume is, more arcs the icon has). This is also represented by the slider and then by the percentage string too, so the volume information is there 3 times. The second thing it does is saying this is a volume control. This on the other hand is quite important I think, although if you popup kmix applet (which has the speaker icon again), I guess one expects the sliders to be volume adjusting sliders. Dunno, I think the plasmoid would be clearer without the speaker icons. Either way, looks good when left aligned, good job! - Martin Klapetek 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. 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 ___ Plasma-devel mailing list Plasma-devel@kde.org https://mail.kde.org/mailman/listinfo/plasma-devel
Re: Review Request 112208: KMix qml applet
On Aug. 27, 2013, 10:57 a.m., Martin Klapetek wrote: File Attachment: Control Icon and Label left aligned http://git.reviewboard.kde.org/r/112208/#fcomment86 I wonder if we still need the speaker icons. The way I see it they represent two things - one is how loud is this sound (higher the volume is, more arcs the icon has). This is also represented by the slider and then by the percentage string too, so the volume information is there 3 times. The second thing it does is saying this is a volume control. This on the other hand is quite important I think, although if you popup kmix applet (which has the speaker icon again), I guess one expects the sliders to be volume adjusting sliders. Dunno, I think the plasmoid would be clearer without the speaker icons. Either way, looks good when left aligned, good job! That is a plain Plasma ToolButton, not a simple icon, which does the same as the button you can find in the old KMix interface does. If you click it, the corresponding channel will be muted. If it's already muted, it will be un-muted :) imho the label gives a more concise/precise info about the actual volume level, which the slider cannot offer because of its nature. - Diego --- This is an automatically generated e-mail. To reply, visit: http://git.reviewboard.kde.org/r/112208/#review38727 --- 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. 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 ___ Plasma-devel mailing list Plasma-devel@kde.org https://mail.kde.org/mailman/listinfo/plasma-devel
Re: Review Request 112208: KMix qml applet
On Aug. 22, 2013, 2:34 p.m., Sebastian Kügler wrote: File Attachment: Menu Actions http://git.reviewboard.kde.org/r/112208/#fcomment80 KMix and Phonon are jargon and have to go. Proposal: Mixer Setup Audio Setup Seems more in line with kmix Plus it should use elipsis on the end, eg. Mixer Setup... and Audio Setup On Aug. 22, 2013, 2:34 p.m., Sebastian Kügler wrote: File Attachment: Menu Actions http://git.reviewboard.kde.org/r/112208/#fcomment81 Maybe we could align this in the same way as the batter applet does? Diego Casella wrote: The menu comes from a right-click from within the widget -not the applet icon in the panel-, but i forgot to check the include mouse pointer option when I took that screenshot :) (the comment was about the plasmoid stuff alignment, not the menu ;) I'd agree with aligning it the same way as battery plasmoid - put the app icon on the left, make it span over two rows and discard the speaker icon. Also the text should be aligned to left then instead of centered, looks a bit chaotic imho. That way we'll have consistent look in two important parts of the workspace, which I believe is very important. - Martin --- This is an automatically generated e-mail. To reply, visit: http://git.reviewboard.kde.org/r/112208/#review38344 --- On Aug. 24, 2013, 3:11 p.m., Diego Casella wrote: --- This is an automatically generated e-mail. To reply, visit: http://git.reviewboard.kde.org/r/112208/ --- (Updated Aug. 24, 2013, 3:11 p.m.) Review request for Plasma, Aaron J. Seigo, Christian Esken, Marco Martin, and Igor Poboiko. 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/config/main.xml PRE-CREATION plasma/kmix-applet-qml/contents/ui/ButtonBar.qml PRE-CREATION 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/MixersList.qml PRE-CREATION plasma/kmix-applet-qml/contents/ui/VerticalControl.qml PRE-CREATION plasma/kmix-applet-qml/contents/ui/VerticalMixerListDelegate.qml PRE-CREATION plasma/kmix-applet-qml/contents/ui/config.ui PRE-CREATION plasma/kmix-applet-qml/contents/ui/kmixapplet.qml PRE-CREATION plasma/kmix-applet-qml/metadata.desktop 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 Thanks, Diego Casella ___ Plasma-devel
Re: Review Request 112208: KMix qml applet
--- This is an automatically generated e-mail. To reply, visit: http://git.reviewboard.kde.org/r/112208/ --- (Updated Aug. 24, 2013, 3:07 p.m.) Review request for Plasma, Aaron J. Seigo, Christian Esken, Marco Martin, and Igor Poboiko. Changes --- Update diff according to (almost all) the observations made so far. Moved portions of code to be plasma-qml-style compliant :) 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 (updated) - plasma/kmix-applet-qml/contents/config/main.xml PRE-CREATION plasma/kmix-applet-qml/contents/ui/ButtonBar.qml PRE-CREATION 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/MixersList.qml PRE-CREATION plasma/kmix-applet-qml/contents/ui/VerticalControl.qml PRE-CREATION plasma/kmix-applet-qml/contents/ui/VerticalMixerListDelegate.qml PRE-CREATION plasma/kmix-applet-qml/contents/ui/config.ui PRE-CREATION plasma/kmix-applet-qml/contents/ui/kmixapplet.qml PRE-CREATION plasma/kmix-applet-qml/metadata.desktop 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 Thanks, Diego Casella ___ Plasma-devel mailing list Plasma-devel@kde.org https://mail.kde.org/mailman/listinfo/plasma-devel
Re: Review Request 112208: KMix qml applet
--- This is an automatically generated e-mail. To reply, visit: http://git.reviewboard.kde.org/r/112208/ --- (Updated Aug. 24, 2013, 3:11 p.m.) Review request for Plasma, Aaron J. Seigo, Christian Esken, Marco Martin, and Igor Poboiko. Changes --- sorry, forgot to add a screenshot for the updated version. 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/config/main.xml PRE-CREATION plasma/kmix-applet-qml/contents/ui/ButtonBar.qml PRE-CREATION 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/MixersList.qml PRE-CREATION plasma/kmix-applet-qml/contents/ui/VerticalControl.qml PRE-CREATION plasma/kmix-applet-qml/contents/ui/VerticalMixerListDelegate.qml PRE-CREATION plasma/kmix-applet-qml/contents/ui/config.ui PRE-CREATION plasma/kmix-applet-qml/contents/ui/kmixapplet.qml PRE-CREATION plasma/kmix-applet-qml/metadata.desktop PRE-CREATION Diff: http://git.reviewboard.kde.org/r/112208/diff/ Testing --- Tested against master and works fine. File Attachments (updated) 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 Thanks, Diego Casella ___ Plasma-devel mailing list Plasma-devel@kde.org https://mail.kde.org/mailman/listinfo/plasma-devel
Re: Review Request 112208: KMix qml applet
On Aug. 22, 2013, 10:46 p.m., Aaron J. Seigo wrote: File Attachment: Applet Config Options http://git.reviewboard.kde.org/r/112208/#fcomment77 Do we even really need horizontal/vertical orientation for the sliders as a configuration option? Other than because we can what is the actual end user value of that option? Igor Poboiko wrote: AFAIK MacOS and Windows use vertical slider orientation, while GnomeUbuntu use horizontal sliders. Some people may be used to one of the variants and find another one inconvenient. So why not let them choose? There is not that many options in that applet anyways. Marco Martin wrote: i would prefer not having that as well, plasma appletswere designed to make easy for the user to change a plasmoid with another if they don't like it, rther than making the developer maintain many different code paths of which some combination will always go untested... one thing without a config dialog that may be tried is adjusting horizontal or vertical how better suits the size of the config dialog at the moment... Sebastian Kügler wrote: Case in point: The use of QtHorizontal and QtVertical throughout the code suggest to me that the horizontal case wasn't really tested in the submitted version. Kinda supports Marco's fear of untested code pathes. ;-) I've tried to keep compatibility with the old KMix interface, which lets you choose whether you want horizontal or vertical sliders. @Marco You are completely right, but we don't want to end with two applets like KMix with horizontal sliders and KMix with vertical sliders right? We should try to get a reliable procedure to retrieve the size of the elements in the listview, which is the root of my issues with the applet resize. @Sebas Care to explain? Both the cases have been tested. - Diego --- This is an automatically generated e-mail. To reply, visit: http://git.reviewboard.kde.org/r/112208/#review38390 --- On Aug. 24, 2013, 3:11 p.m., Diego Casella wrote: --- This is an automatically generated e-mail. To reply, visit: http://git.reviewboard.kde.org/r/112208/ --- (Updated Aug. 24, 2013, 3:11 p.m.) Review request for Plasma, Aaron J. Seigo, Christian Esken, Marco Martin, and Igor Poboiko. 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/config/main.xml PRE-CREATION plasma/kmix-applet-qml/contents/ui/ButtonBar.qml PRE-CREATION 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/MixersList.qml PRE-CREATION plasma/kmix-applet-qml/contents/ui/VerticalControl.qml PRE-CREATION plasma/kmix-applet-qml/contents/ui/VerticalMixerListDelegate.qml PRE-CREATION plasma/kmix-applet-qml/contents/ui/config.ui PRE-CREATION plasma/kmix-applet-qml/contents/ui/kmixapplet.qml PRE-CREATION plasma/kmix-applet-qml/metadata.desktop PRE-CREATION Diff: http://git.reviewboard.kde.org/r/112208/diff/ Testing --- Tested against master and works fine. File Attachments Default look
Re: Review Request 112208: KMix qml applet
On Aug. 22, 2013, 10:46 p.m., Aaron J. Seigo wrote: File Attachment: Applet Config Options http://git.reviewboard.kde.org/r/112208/#fcomment79 Do we even really need horizontal/vertical orientation for the sliders as a configuration option? Other than because we can what is the actual end user value of that option? Igor Poboiko wrote: AFAIK MacOS and Windows use vertical slider orientation, while GnomeUbuntu use horizontal sliders. Some people may be used to one of the variants and find another one inconvenient. So why not let them choose? There is not that many options in that applet anyways. Marco Martin wrote: i would prefer not having that as well, plasma appletswere designed to make easy for the user to change a plasmoid with another if they don't like it, rther than making the developer maintain many different code paths of which some combination will always go untested... one thing without a config dialog that may be tried is adjusting horizontal or vertical how better suits the size of the config dialog at the moment... Sebastian Kügler wrote: Case in point: The use of QtHorizontal and QtVertical throughout the code suggest to me that the horizontal case wasn't really tested in the submitted version. Kinda supports Marco's fear of untested code pathes. ;-) Diego Casella wrote: I've tried to keep compatibility with the old KMix interface, which lets you choose whether you want horizontal or vertical sliders. @Marco You are completely right, but we don't want to end with two applets like KMix with horizontal sliders and KMix with vertical sliders right? We should try to get a reliable procedure to retrieve the size of the elements in the listview, which is the root of my issues with the applet resize. @Sebas Care to explain? Both the cases have been tested. Sebastian Kügler wrote: sure, QtVertical and QtHorizontal do not exist, that's a syntax error. I don't see how that could work, other than by complete accident. Maybe hose enums were kept for backwards compatibilty, because they still do exists. Right here: https://projects.kde.org/projects/kde/kde-runtime/repository/revisions/master/entry/plasma/scriptengines/javascript/plasmoid/appletinterface.h#L156 Since my very first draft of the kmix applet is litteraly *years* old, even though I heavily refactored/modified/dropped the code, the QtVertical enums is something iI never checked if they were still valid or not, since they always worked fine :) - Diego --- This is an automatically generated e-mail. To reply, visit: http://git.reviewboard.kde.org/r/112208/#review38390 --- On Aug. 24, 2013, 3:11 p.m., Diego Casella wrote: --- This is an automatically generated e-mail. To reply, visit: http://git.reviewboard.kde.org/r/112208/ --- (Updated Aug. 24, 2013, 3:11 p.m.) Review request for Plasma, Aaron J. Seigo, Christian Esken, Marco Martin, and Igor Poboiko. 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/config/main.xml PRE-CREATION plasma/kmix-applet-qml/contents/ui/ButtonBar.qml PRE-CREATION
Re: Review Request 112208: KMix qml applet
On Aug. 22, 2013, 10:46 p.m., Aaron J. Seigo wrote: File Attachment: Applet Config Options http://git.reviewboard.kde.org/r/112208/#fcomment72 Do we even really need horizontal/vertical orientation for the sliders as a configuration option? Other than because we can what is the actual end user value of that option? AFAIK MacOS and Windows use vertical slider orientation, while GnomeUbuntu use horizontal sliders. Some people may be used to one of the variants and find another one inconvenient. So why not let them choose? There is not that many options in that applet anyways. - Igor --- This is an automatically generated e-mail. To reply, visit: http://git.reviewboard.kde.org/r/112208/#review38390 --- On Aug. 22, 2013, 1:31 p.m., Diego Casella wrote: --- This is an automatically generated e-mail. To reply, visit: http://git.reviewboard.kde.org/r/112208/ --- (Updated Aug. 22, 2013, 1:31 p.m.) Review request for Plasma, Aaron J. Seigo, Christian Esken, Marco Martin, and Igor Poboiko. 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/CMakeLists.txt 5e1dc90 plasma/kmix-applet-qml/contents/config/main.xml PRE-CREATION plasma/kmix-applet-qml/contents/ui/ButtonBar.qml PRE-CREATION 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/MixersList.qml PRE-CREATION plasma/kmix-applet-qml/contents/ui/VerticalControl.qml PRE-CREATION plasma/kmix-applet-qml/contents/ui/VerticalMixerListDelegate.qml PRE-CREATION plasma/kmix-applet-qml/contents/ui/config.ui PRE-CREATION plasma/kmix-applet-qml/contents/ui/kmixapplet.qml PRE-CREATION plasma/kmix-applet-qml/metadata.desktop 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 Thanks, Diego Casella ___ Plasma-devel mailing list Plasma-devel@kde.org https://mail.kde.org/mailman/listinfo/plasma-devel
Re: Review Request 112208: KMix qml applet
On Aug. 22, 2013, 10:46 p.m., Aaron J. Seigo wrote: File Attachment: Applet Config Options http://git.reviewboard.kde.org/r/112208/#fcomment73 Do we even really need horizontal/vertical orientation for the sliders as a configuration option? Other than because we can what is the actual end user value of that option? Igor Poboiko wrote: AFAIK MacOS and Windows use vertical slider orientation, while GnomeUbuntu use horizontal sliders. Some people may be used to one of the variants and find another one inconvenient. So why not let them choose? There is not that many options in that applet anyways. i would prefer not having that as well, plasma appletswere designed to make easy for the user to change a plasmoid with another if they don't like it, rther than making the developer maintain many different code paths of which some combination will always go untested... one thing without a config dialog that may be tried is adjusting horizontal or vertical how better suits the size of the config dialog at the moment... - Marco --- This is an automatically generated e-mail. To reply, visit: http://git.reviewboard.kde.org/r/112208/#review38390 --- On Aug. 22, 2013, 1:31 p.m., Diego Casella wrote: --- This is an automatically generated e-mail. To reply, visit: http://git.reviewboard.kde.org/r/112208/ --- (Updated Aug. 22, 2013, 1:31 p.m.) Review request for Plasma, Aaron J. Seigo, Christian Esken, Marco Martin, and Igor Poboiko. 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/CMakeLists.txt 5e1dc90 plasma/kmix-applet-qml/contents/config/main.xml PRE-CREATION plasma/kmix-applet-qml/contents/ui/ButtonBar.qml PRE-CREATION 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/MixersList.qml PRE-CREATION plasma/kmix-applet-qml/contents/ui/VerticalControl.qml PRE-CREATION plasma/kmix-applet-qml/contents/ui/VerticalMixerListDelegate.qml PRE-CREATION plasma/kmix-applet-qml/contents/ui/config.ui PRE-CREATION plasma/kmix-applet-qml/contents/ui/kmixapplet.qml PRE-CREATION plasma/kmix-applet-qml/metadata.desktop 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 Thanks, Diego Casella ___ Plasma-devel mailing list Plasma-devel@kde.org https://mail.kde.org/mailman/listinfo/plasma-devel
Review Request 112208: KMix qml applet
--- This is an automatically generated e-mail. To reply, visit: http://git.reviewboard.kde.org/r/112208/ --- Review request for Plasma, Aaron J. Seigo, Christian Esken, Marco Martin, and Igor Poboiko. 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/CMakeLists.txt 5e1dc90 plasma/kmix-applet-qml/contents/config/main.xml PRE-CREATION plasma/kmix-applet-qml/contents/ui/ButtonBar.qml PRE-CREATION 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/MixersList.qml PRE-CREATION plasma/kmix-applet-qml/contents/ui/VerticalControl.qml PRE-CREATION plasma/kmix-applet-qml/contents/ui/VerticalMixerListDelegate.qml PRE-CREATION plasma/kmix-applet-qml/contents/ui/config.ui PRE-CREATION plasma/kmix-applet-qml/contents/ui/kmixapplet.qml PRE-CREATION plasma/kmix-applet-qml/metadata.desktop 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 Thanks, Diego Casella ___ Plasma-devel mailing list Plasma-devel@kde.org https://mail.kde.org/mailman/listinfo/plasma-devel
Re: Review Request 112208: KMix qml applet
On Aug. 22, 2013, 2:34 p.m., Sebastian Kügler wrote: Overall, it looks pretty good. There's a number of UI, code and coding style issues there, which will need sorting. As to coding style, please have a look at http://community.kde.org/Plasma/QMLStyle I've pointed some of the issues out, but overall, this needs going over the whole code and fixing. Nice to see this coming together, btw. One thing: kde-workspace is frozen, and even if this is in the kmix repo, it might be too late to replace it in Plasma Desktop. What are the concrete plans here? if it is in the kmix repo, then it doesn't matter that kde-workspace is frozen. it would be pretty trivial to add a check in the systemtray to see if the kmix applet exists on the system and if it does then show it (and for kmix to drop its system tray icon in that particular case ..) this reminds me of the applet replaces systray icon feature we have discussed in the past so that the application does not need to worry about this. sth for PW2, perhaps: an optional entry in the .desktop file that says this applet replaces that systray icon, e.g. - Aaron J. --- This is an automatically generated e-mail. To reply, visit: http://git.reviewboard.kde.org/r/112208/#review38344 --- On Aug. 22, 2013, 1:31 p.m., Diego Casella wrote: --- This is an automatically generated e-mail. To reply, visit: http://git.reviewboard.kde.org/r/112208/ --- (Updated Aug. 22, 2013, 1:31 p.m.) Review request for Plasma, Aaron J. Seigo, Christian Esken, Marco Martin, and Igor Poboiko. 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/CMakeLists.txt 5e1dc90 plasma/kmix-applet-qml/contents/config/main.xml PRE-CREATION plasma/kmix-applet-qml/contents/ui/ButtonBar.qml PRE-CREATION 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/MixersList.qml PRE-CREATION plasma/kmix-applet-qml/contents/ui/VerticalControl.qml PRE-CREATION plasma/kmix-applet-qml/contents/ui/VerticalMixerListDelegate.qml PRE-CREATION plasma/kmix-applet-qml/contents/ui/config.ui PRE-CREATION plasma/kmix-applet-qml/contents/ui/kmixapplet.qml PRE-CREATION plasma/kmix-applet-qml/metadata.desktop 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 Thanks, Diego Casella ___ Plasma-devel mailing list Plasma-devel@kde.org https://mail.kde.org/mailman/listinfo/plasma-devel
Re: Review Request 112208: KMix qml applet
--- This is an automatically generated e-mail. To reply, visit: http://git.reviewboard.kde.org/r/112208/#review38390 --- File Attachment: Applet Config Options http://git.reviewboard.kde.org//r/112208/#fcomment71 Do we even really need horizontal/vertical orientation for the sliders as a configuration option? Other than because we can what is the actual end user value of that option? - Aaron J. Seigo On Aug. 22, 2013, 1:31 p.m., Diego Casella wrote: --- This is an automatically generated e-mail. To reply, visit: http://git.reviewboard.kde.org/r/112208/ --- (Updated Aug. 22, 2013, 1:31 p.m.) Review request for Plasma, Aaron J. Seigo, Christian Esken, Marco Martin, and Igor Poboiko. 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/CMakeLists.txt 5e1dc90 plasma/kmix-applet-qml/contents/config/main.xml PRE-CREATION plasma/kmix-applet-qml/contents/ui/ButtonBar.qml PRE-CREATION 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/MixersList.qml PRE-CREATION plasma/kmix-applet-qml/contents/ui/VerticalControl.qml PRE-CREATION plasma/kmix-applet-qml/contents/ui/VerticalMixerListDelegate.qml PRE-CREATION plasma/kmix-applet-qml/contents/ui/config.ui PRE-CREATION plasma/kmix-applet-qml/contents/ui/kmixapplet.qml PRE-CREATION plasma/kmix-applet-qml/metadata.desktop 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 Thanks, Diego Casella ___ Plasma-devel mailing list Plasma-devel@kde.org https://mail.kde.org/mailman/listinfo/plasma-devel