Summary: | amarok crashes reproducibly, when holding ctrl and using the mouse wheel in the file browser | ||
---|---|---|---|
Product: | [Applications] amarok | Reporter: | Panagiotis Papadopoulos <pano_90> |
Component: | File Browser | Assignee: | Amarok Developers <amarok-bugs-dist> |
Status: | RESOLVED FIXED | ||
Severity: | crash | CC: | arne.schmitz, get.sonic |
Priority: | NOR | ||
Version: | 2.1-SVN | ||
Target Milestone: | --- | ||
Platform: | Compiled Sources | ||
OS: | Linux | ||
Latest Commit: | Version Fixed In: | ||
Attachments: |
Crash when using Ctrl+Scrollwheel in file browser, using debug-package
Patch to fix the ctrl+wheel crash in the file browser |
Description
Panagiotis Papadopoulos
2008-11-21 22:30:44 UTC
I can't reproduce this. You're backtrace is also useless, please install the amarok-debug package and run with --nofork. If you can reliably reproduce and get a good backtrace then reopen. *** Bug 187322 has been marked as a duplicate of this bug. *** Haha... Very funny to shove me on a closed bug. :) Ok, however I can give Mr. Ruiz what he asked for! I have installed the 200 MB debug-package, and reliably crashed Amarok once again. This works every time by the way... The backtrace will be attached. Haha... Very funny to shove me on a closed bug. :) Ok, however I can give Mr. Ruiz what he asked for! I have installed the 200 MB debug-package, and reliably crashed Amarok once again. This works every time by the way... The backtrace will be attached. Created attachment 32170 [details]
Crash when using Ctrl+Scrollwheel in file browser, using debug-package
Thanks Arne, I'm reopening the report. I will probably try to fix this by simply "eating" the event (so that nothing happens), as I can't see an obvious reason for this crash. #6 0xb6d07450 in KConfigGroup::writeEntry (this=0x0, key=0xb5ecf30d "listViewIconSize", value=@0xbfebe254, flags={i = -1075060276}) at /usr/include/QtCore/qshareddata.h:123 #7 0xb6d07d11 in KConfigGroup::writeEntry (this=0x0, key=0xb5ecf30d "listViewIconSize", value=@0xbfebe290, flags={i = -1075060060}) at /usr/src/debug/kdelibs-4.2.1/kdecore/config/kconfiggroup.cpp:1118 #8 0xb5e88340 in KDirOperator::setIconsZoom (this=0x8ad26f8, _value=10) at /usr/src/debug/kdelibs-4.2.1/kdecore/config/kconfiggroup.h:753 #9 0xb5e88541 in KDirOperator::eventFilter (this=0x8ad26f8, watched=0x8af9258, event=0x0) at /usr/src/debug/kdelibs-4.2.1/kfile/kdiroperator.cpp:1359 #10 0xb6b40b3a in QCoreApplicationPrivate::sendThroughObjectEventFilters(QObject*, QEvent*) () from /usr/lib/libQtCore.so.4 #11 0xb6ffa8da in QApplicationPrivate::notify_helper(QObject*, QEvent*) () from /usr/lib/libQtGui.so.4 All signs point to KDE libs... Created attachment 32243 [details]
Patch to fix the ctrl+wheel crash in the file browser
I added the eventFilter function to the class MyDirOperator, in order to ignore the wheel events.
SVN commit 941219 by markey: Fix crash when using ctrl+mousewheel on Files browser. Patch by Valentin Rouet <v.rouet@gmail.com>. Thanks :) PS: This patch is more a workaround for a KDElibs (?) bug. It does not fix the zooming that should happen, but just ignores the event. We should probably remove it at some later point. BUG: 175803 M +3 -1 ChangeLog M +9 -0 src/browsers/filebrowser/MyDirOperator.cpp M +3 -0 src/browsers/filebrowser/MyDirOperator.h WebSVN link: http://websvn.kde.org/?view=rev&revision=941219 SVN commit 941220 by markey: Make the Files browser not ignore the mouse wheel completely, but only when CTRL is pressed too. CCBUG: 175803 M +4 -1 MyDirOperator.cpp WebSVN link: http://websvn.kde.org/?view=rev&revision=941220 *** Bug 196321 has been marked as a duplicate of this bug. *** I just discovered, that zooming in the file browser actually works if CTRL and Shift are pressed while moving the mousewheel. Nopes. It doesn't work with Amarok 2.0.2 on KDE 4.2.3 on Fedora 11. Ctrl+Shift+Scroll also crashes Amarok. I guess this is fixed only in Amarok 2.1. (In reply to comment #13) > Nopes. It doesn't work with Amarok 2.0.2 on KDE 4.2.3 on Fedora 11. > Ctrl+Shift+Scroll also crashes Amarok. I guess this is fixed only in Amarok > 2.1. Syam, this bug report is about Amarok 2.1. You really should update your copy, see here: http://www.kubuntu.org/news/amarok-2.1 for informations on how to upgrade. (In reply to comment #14) > Syam, this bug report is about Amarok 2.1. You really should update your copy, I've just updated Amarok to 2.1 (from Fedora 11 updates) and Ctrl+Scroll *does not* crash (it doesn't do anything). But Ctrl+Shift+Scroll *crashes* amarok. > see here: http://www.kubuntu.org/news/amarok-2.1 for informations on how to > upgrade. Kubuntu? I'm on Fedora. SVN commit 983382 by markey: Also don't crash if mouse wheel + control key + another keyboard modifier is used in file browser. BUG: 175803 M +1 -1 MyDirOperator.cpp WebSVN link: http://websvn.kde.org/?view=rev&revision=983382 |