Version: (using KDE 4.1.1) Installed from: Ubuntu Packages There is a little strangeness with the rating widget in dolphin. It's a bit illogical that you click on a star, but get only a half one. If you want a full star, you have to click in between them. Now how weird is that?! :) Yes, there is a preview, but a) this is hardly visible on my laptop screen (I didn't notice it for quite some time) and b) it's still weird. Also I wonder if half stars are actually needed? 5 levels should be enough for the average user, at least personally I find it sometimes even hard enough to rate with 5 levels leave alone 10. Also Apple uses just 5 stars in iTunes/iPods, and I could imagine they did research about how many levels are useful for the average human being. So IMHO it would make a lot of sense to make the full stars the primary rating, and thus clicking a star gives you a star, and leave half stars only a secondary option, for those who need really fine grained control. So, contrary to how it is now.
how about changing to a half star when clicking again on the same one? I.e. to rate 2,5 you click the third star twice.
@Sebastian: Do you really need such granular precision that 5 stars are not enough? I agree that the half-star rating should be dropped. It is overdoing it, and it's implementation is confusing to the user.
I agree that we don't really need it. But we need to be backwards compatible. Thus, internally we need to keep the 10 steps. I see no harm in allowing all the steps if necessary.
IMHO the suggestion to have the half star on second click is fine. That way you can select every full star rating level with a single click and you don't need to bother with half stars if you don't want to. Another problem is clearing the stars. You can clear the third star by clicking the second, the second by clicking the first, but with the first there is a problem. So a 3rd click should then probably clear the selected star. Atm. you have to click somewhere before the first star. As for backwards compatibility: Personally I can perfectly live the suggested solution. It seems a bit weird though, that nepomuk is hardly really introduced leave alone finished and already backwards compatibility has to be kept for a suboptimal choice (provided it is considered as such). In case of rating, maybe it wouldn't be too much of a problem to decide for 5 stars with KDE 4.3, and convert existing ratings to the next higher full star (notifying the user of course)?
This is a perfect junior job to get started in KDE. The affected classes are KRatingWidget and KRatingPainter in kdeui.
Created attachment 70123 [details] Proposed batch for 171343 Modified mousePressEvent() and mouseMoveEvent() in KRatingWidget.. Tested it with dolphin. Now: Clicking once on an empty star= 1 star Clicking again = 1/2 star Clicking again = Clears the selected star Submitted at : https://git.reviewboard.kde.org/r/104479/
Git commit 0cc00c8096700946e8990499d5d9c2b7516915e1 by Lamarque V. Souza. Committed on 05/04/2012 at 22:57. Pushed by lvsouza into branch 'KDE/4.8'. Better stars rating in dolphin. Thanks to Anant Kamath for this patch. REVIEW: 104479 FIXED-IN: 4.8.3 M +39 -4 kdeui/widgets/kratingwidget.cpp http://commits.kde.org/kdelibs/0cc00c8096700946e8990499d5d9c2b7516915e1
@Anant: Great! Thank you for fixing this!
Git commit efb14cb69ad53bcdb4f3f7b4f2439183d27ebb05 by Weng Xuetian. Committed on 04/12/2015 at 16:19. Pushed by xuetianweng into branch 'master'. Refactor and fix the feature introduced in bug 171343 1. Enable this feature only if half step is enabled. Otherwise user can only select full star, there is no point enable this feature. 2. Fix and merge the logic, especially for the part in mouseMoveEvent. Previously mouseMoveEvent is calculating the new rating based on current hover rating, which should use the current rating instead. And the logic is hard for people to interpret without comment. Thus, this part of code is refactored to be simpler and more readable with comment. REVIEW: 126222 M +2 -2 src/kratingpainter.cpp M +35 -32 src/kratingwidget.cpp http://commits.kde.org/kwidgetsaddons/efb14cb69ad53bcdb4f3f7b4f2439183d27ebb05
*** Bug 280634 has been marked as a duplicate of this bug. ***