[prev in list] [next in list] [prev in thread] [next in thread]
List: kde-panel-devel
Subject: Re: Review Request 116874: Patch for the next and previous button functionality in an inactive playl
From: "R.Harish Navnit" <harishnavnit () gmail ! com>
Date: 2014-04-16 7:56:12
Message-ID: 20140416075612.14848.30922 () probe ! kde ! org
[Download RAW message or body]
[Attachment #2 (multipart/alternative)]
> On April 14, 2014, 12:58 p.m., Sinny Kumari wrote:
> > checking only url of runtimeData will work only when PMC is launched and nothing \
> > has been played. You need to handle many other cases like when media get stopped, \
> > next/prev shouldn't be enabled until and unless current media is getting played \
> > from playlist etc
I am checking the "playlistModel.currentIndex != -1" condition for the next and \
previous buttons. For the rest, I think checking "runtimeData.url" works fine. But \
with this, next and prev get disabled when a new playlist is selected, and do not get \
enabled unless a song from that playlist is selected. Expected behavior ?
- R.Harish
-----------------------------------------------------------
This is an automatically generated e-mail. To reply, visit:
https://git.reviewboard.kde.org/r/116874/#review55718
-----------------------------------------------------------
On April 12, 2014, 3:23 p.m., R.Harish Navnit wrote:
>
> -----------------------------------------------------------
> This is an automatically generated e-mail. To reply, visit:
> https://git.reviewboard.kde.org/r/116874/
> -----------------------------------------------------------
>
> (Updated April 12, 2014, 3:23 p.m.)
>
>
> Review request for Plasma, Shantanu Tushar and Sinny Kumari.
>
>
> Bugs: 330990 and Bug
> http://bugs.kde.org/show_bug.cgi?id=330990
> http://bugs.kde.org/show_bug.cgi?id=Bug
>
>
> Repository: plasma-mediacenter
>
>
> Description
> -------
>
> Now the next and previous buttons do not work unless a media is playing.
>
>
> Diffs
> -----
>
> mediaelements/mediacontroller/MediaController.qml 2fce0a0
> mediaelements/playlist/Playlist.qml 5dde297
>
> Diff: https://git.reviewboard.kde.org/r/116874/diff/
>
>
> Testing
> -------
>
> I've done the testing for this patch.
>
> These are the steps that I followed.
> 1. Added a new playlist and added a few songs to the playlist.
> 2. Re-opened Plasma Media Center
> 3. Clicked the Next and Previous buttons.
> 4. Nothing was played.
> 5. Selected a song from the list and then tested the next and previous buttons.
> 6. The buttons worked seamlessly.
>
>
> Thanks,
>
> R.Harish Navnit
>
>
[Attachment #5 (text/html)]
<html>
<body>
<div style="font-family: Verdana, Arial, Helvetica, Sans-Serif;">
<table bgcolor="#f9f3c9" width="100%" cellpadding="8" style="border: 1px #c9c399 \
solid;"> <tr>
<td>
This is an automatically generated e-mail. To reply, visit:
<a href="https://git.reviewboard.kde.org/r/116874/">https://git.reviewboard.kde.org/r/116874/</a>
</td>
</tr>
</table>
<br />
<blockquote style="margin-left: 1em; border-left: 2px solid #d0d0d0; padding-left: \
10px;"> <p style="margin-top: 0;">On April 14th, 2014, 12:58 p.m. UTC, <b>Sinny \
Kumari</b> wrote:</p> <blockquote style="margin-left: 1em; border-left: 2px solid \
#d0d0d0; padding-left: 10px;"> <pre style="white-space: pre-wrap; white-space: \
-moz-pre-wrap; white-space: -pre-wrap; white-space: -o-pre-wrap; word-wrap: \
break-word;">checking only url of runtimeData will work only when PMC is launched and \
nothing has been played. You need to handle many other cases like when media get \
stopped, next/prev shouldn't be enabled until and unless current media is getting \
played from playlist etc</pre> </blockquote>
</blockquote>
<pre style="white-space: pre-wrap; white-space: -moz-pre-wrap; white-space: \
-pre-wrap; white-space: -o-pre-wrap; word-wrap: break-word;">I am checking the \
"playlistModel.currentIndex != -1" condition for the next and previous \
buttons. For the rest, I think checking "runtimeData.url" works fine. But \
with this, next and prev get disabled when a new playlist is selected, and do not get \
enabled unless a song from that playlist is selected. Expected behavior ?</pre>
<br />
<p>- R.Harish </p>
<br />
<p>On April 12th, 2014, 3:23 p.m. UTC, R.Harish Navnit wrote:</p>
<table bgcolor="#fefadf" width="100%" cellspacing="0" cellpadding="8" \
style="background-image: \
url('https://git.reviewboard.kde.org/static/rb/images/review_request_box_top_bg.ab6f3b1072c9.png'); \
background-position: left top; background-repeat: repeat-x; border: 1px black \
solid;"> <tr>
<td>
<div>Review request for Plasma, Shantanu Tushar and Sinny Kumari.</div>
<div>By R.Harish Navnit.</div>
<p style="color: grey;"><i>Updated April 12, 2014, 3:23 p.m.</i></p>
<div style="margin-top: 1.5em;">
<b style="color: #575012; font-size: 10pt; margin-top: 1.5em;">Bugs: </b>
<a href="http://bugs.kde.org/show_bug.cgi?id=330990">330990</a>,
<a href="http://bugs.kde.org/show_bug.cgi?id=Bug">Bug</a>
</div>
<div style="margin-top: 1.5em;">
<b style="color: #575012; font-size: 10pt;">Repository: </b>
plasma-mediacenter
</div>
<h1 style="color: #575012; font-size: 10pt; margin-top: 1.5em;">Description </h1>
<table width="100%" bgcolor="#ffffff" cellspacing="0" cellpadding="10" \
style="border: 1px solid #b8b5a0"> <tr>
<td>
<pre style="margin: 0; padding: 0; white-space: pre-wrap; white-space: \
-moz-pre-wrap; white-space: -pre-wrap; white-space: -o-pre-wrap; word-wrap: \
break-word;">Now the next and previous buttons do not work unless a media is playing. \
</pre> </td>
</tr>
</table>
<h1 style="color: #575012; font-size: 10pt; margin-top: 1.5em;">Testing </h1>
<table width="100%" bgcolor="#ffffff" cellspacing="0" cellpadding="10" style="border: \
1px solid #b8b5a0"> <tr>
<td>
<pre style="margin: 0; padding: 0; white-space: pre-wrap; white-space: \
-moz-pre-wrap; white-space: -pre-wrap; white-space: -o-pre-wrap; word-wrap: \
break-word;">I've done the testing for this patch.
These are the steps that I followed.
1. Added a new playlist and added a few songs to the playlist.
2. Re-opened Plasma Media Center
3. Clicked the Next and Previous buttons.
4. Nothing was played.
5. Selected a song from the list and then tested the next and previous buttons.
6. The buttons worked seamlessly. </pre>
</td>
</tr>
</table>
<h1 style="color: #575012; font-size: 10pt; margin-top: 1.5em;">Diffs</b> </h1>
<ul style="margin-left: 3em; padding-left: 0;">
<li>mediaelements/mediacontroller/MediaController.qml <span style="color: \
grey">(2fce0a0)</span></li>
<li>mediaelements/playlist/Playlist.qml <span style="color: \
grey">(5dde297)</span></li>
</ul>
<p><a href="https://git.reviewboard.kde.org/r/116874/diff/" style="margin-left: \
3em;">View Diff</a></p>
</td>
</tr>
</table>
</div>
</body>
</html>
_______________________________________________
Plasma-devel mailing list
Plasma-devel@kde.org
https://mail.kde.org/mailman/listinfo/plasma-devel
[prev in list] [next in list] [prev in thread] [next in thread]
Configure |
About |
News |
Add a list |
Sponsored by KoreLogic