Version: 2.3.2 (using KDE 4.5.3) OS: Linux If you click in Media Sources (if there is empty space after the last entry) and drag the mouse to select multiple files Amarok automatically resizes (if it is fullscreen). If it's not fullscreen, it moves. Reproducible: Always Steps to Reproduce: Go to Media Sources View. Point mouse after last entry. Press left click and move mouse. Actual Results: If amarok is in fullscreen mode it resized (like when pressing the restore button). If it isn't in fullscreen, the window moves. Expected Results: If you browse local files, select multiple files. If you are at the initial media sources screen, do nothing. OS: Linux (i686) release 2.6.35-22-generic Compiler: cc
It sounds like the kwin feature where if you drag on some place that has no interaction it will move the window. In that case it's not really amarok's issue, although it'd probably help if we can disable the behaviour when inside the collection browser.
If it's kwin's feature, i think it should be disabled. It's really annoying and somehow affects the "Media Sources"'s properties. After the bug has been produced, when "Media Sources" resizes when browsing through local files, you cannot resize it back to it's initial width. See bug 256439 (https://bugs.kde.org/show_bug.cgi?id=256439)
(In reply to comment #2) > If it's kwin's feature, i think it should be disabled. > > It's really annoying and somehow affects the "Media Sources"'s properties. > After the bug has been produced, when "Media Sources" resizes when browsing > through local files, you cannot resize it back to it's initial width. > > See bug 256439 (https://bugs.kde.org/show_bug.cgi?id=256439) Which is not related IMHO
There is a new feature in oxygen, empty areas of the window can be used as a drag handle: https://bugs.kde.org/show_bug.cgi?id=241415 However, for some reason it mistakenly thinks the browser area's below the items are empty. We're investigating it.
So. Indeed the 'drag window from empty area' is a feature from oxygen (and a couple of other well-known kde4 styles). For oxygen you can disable it by typing 'oxygen-settings' in terminal (or krunner), and change the option named "windows' drag mode" to whatever suits you best. In the meanwhile I'll work with bart to see if we can restore the media sources capabilities without the need of disable the oxygen feature.
@ first comment: what exactly is "Media Sources". Can you send a screenshot ? So far I have not been enabled to reproduce the problem (which makes it hard to fix), most likely because I am not looking at the right place. Thanks Hugo
In a default setup it's the panel on the left. Menu > view > Lock Layout unchecked will show the title of the panel. In the root of this view window dragging is no problem, but in all the other browser, which show files, tracks, albums, etc; the rubberband selection method is broken. Bart
Thx. Yes indeed it does not work well when browsing e.g. file system. Interestingly, it does work well in the right panel though. Right ? I'll be investigating.
(In reply to comment #9) > Thx. Yes indeed it does not work well when browsing e.g. file system. > Interestingly, it does work well in the right panel though. Right ? > I'll be investigating. Yes, in the playlist it works. It's completely different from the browsers though (Media sources classes are named like that).
SVN commit 1195136 by hpereiradacosta: Prevent dragging from treeviews' viewport empty area when multiple selection is allowed. CCBUG: 256436 M +3 -1 oxygenwindowmanager.cpp WebSVN link: http://websvn.kde.org/?view=rev&revision=1195136
SVN commit 1195137 by hpereiradacosta: Backport r1195136 Prevent dragging from treeviews' viewport empty area when multiple selection is allowed. CCBUG: 256436 M +3 -1 oxygenwindowmanager.cpp WebSVN link: http://websvn.kde.org/?view=rev&revision=1195137
I 'think' commits from comments #11 and #12 (backport to kde4.5 branch) fixes it. Please confirm and close the bug if yes.
PS: these are commits to oxygen. Not amarok. Also, at the moment I am unable to copile amarok from trunk (due to a problem of my distrib with mysqld and libmysql-dev). So I only tested against amarok v2.3.1
Thanks Hugo, that fixed it!