Summary: | Collection Browser Filter dialog doesn't allow to enter a length higher than 59:59 minutes, works in the filter field directly in seconds though | ||
---|---|---|---|
Product: | [Applications] amarok | Reporter: | robert marshall <robert> |
Component: | Collection Browser | Assignee: | Amarok Developers <amarok-bugs-dist> |
Status: | RESOLVED FIXED | ||
Severity: | minor | CC: | abhaysombanshi92, e.m.a.t.i.r.o.v |
Priority: | NOR | ||
Version: | 2.8.0 | ||
Target Milestone: | --- | ||
Platform: | Ubuntu | ||
OS: | Linux | ||
Latest Commit: | http://commits.kde.org/amarok/01d512aa1168c8dffdf8942026563be164053116 | Version Fixed In: | |
Sentry Crash Report: |
Description
robert marshall
2012-01-12 21:46:34 UTC
Actually, this is not a wish but a real bug: The filter dialog doesn't allow to enter a length in seconds nor does it allow to enter a length that is higher than 59:59 minutes. It is possible to enter a filter with length:>40000 for example in the filter field directly. Reproducible in amarok 2.8.0 hi all, I've worked on this bug. Here's my first patch https://git.reviewboard.kde.org/r/114752/ . Thanks - I'll try patching my build and see how it goes. I would guess that the result is that the focus when you enter the time field focus will be on the hh component so that people which have been used to it just displaying mm:ss may well enter the wrong value in future, unless they're careful! If so, I'm not sure what the solution is here. I see the AGP dialog on track length allows a max value of 9:59:59 maybe the 2 ought to be consistent? Git commit 01d512aa1168c8dffdf8942026563be164053116 by Yuri Chornoivan, on behalf of Abhay Sombanshi. Committed on 06/05/2014 at 16:01. Pushed by yurchor into branch 'master'. Adjust maximum allowed length in CollectionBrowser filter dialog REVIEW: 114752 M +1 -0 ChangeLog M +8 -5 src/widgets/MetaQueryWidget.cpp http://commits.kde.org/amarok/01d512aa1168c8dffdf8942026563be164053116 |