Bug 242481

Summary: Clicking twice on a track in playlist sets it to edit mode, regardless of the interval between the clicks
Product: [Applications] amarok Reporter: Alexander <vo.zaeb>
Component: PlaylistAssignee: Amarok Developers <amarok-bugs-dist>
Status: RESOLVED DUPLICATE    
Severity: normal CC: nhn, nsm.nikhil, teo
Priority: NOR    
Version First Reported In: 2.6-git   
Target Milestone: ---   
Platform: Compiled Sources   
OS: Linux   
Latest Commit: Version Fixed In:
Sentry Crash Report:

Description Alexander 2010-06-22 14:38:36 UTC
Version:           2.3.1-GIT (using KDE 4.4.4) 
OS:                Linux

Not so long ago I have already described this problem in amarok.kde.org.

The problem in the next: when I did the second click on an item in the play list, amarok opens it for rename. But it's possible that I did the first click about half an hour ago, or, I could never do this (If I clicked on the album header and there would selected all the tracks, or pressed ctrl+a).

I can't understand, what's the complexity? All that is needed  — is two variables, that would contain item_id (id of the item, which is the latest clicked), and timestamp (when this event occured). When the next click event happened, you need to compare saved in the "timestamp" value with the current timestamp. And only if difference is < 1/2/etc seconds you have to compare item_id with id of the latest clicked item. And if this comparison will return true you have to open item for renaming.

Reproducible: Always
Comment 1 Myriam Schweingruber 2011-06-04 11:48:11 UTC
This is an automated message from the triager:

Amarok 2.4.1 has been released on May 8 already. Could you please upgrade and test if you can still reproduce this bug?

Without feedback within a month we will close this bug as resolved.

Thank you for your understanding.
Comment 2 Alexander 2011-06-05 10:10:41 UTC
Amarok 2.4.1
Bug is not fixed.
Comment 3 Myriam Schweingruber 2011-06-05 11:46:57 UTC
Thank you for the fast feedback.
Comment 4 Myriam Schweingruber 2012-11-29 11:20:13 UTC
Renaming the report as it was not quite clear on first sight.
Comment 5 Myriam Schweingruber 2012-11-29 11:57:57 UTC
Oh, and it is a duplicate, sorry for the noise.

*** This bug has been marked as a duplicate of bug 220818 ***