This forum has been archived. All content is frozen. Please use KDE Discuss instead.

Customising keyboard shortcuts makes soft crash +- each time

Tags: None
(comma "," separated)
User avatar
manchette
Registered Member
Posts
285
Karma
0
OS
Hello ;)

Is there a way i can have a keyboard shortcut for "next song" and "previous song" features ? (a default config for example)

I tried to set up my own config of keyboard shortcuts for these (N for next song and P for previous song) but it makes Amarok crash each time i try to use it (null pointer found).
In fact i'd like to have n and p and not N and P but it looks like striking n only is registered as capital N.
a' - (is there a way to save n instead ? )

So, N and P are saved as shortcuts but it does not work properly :
a''-i play songs , n and p makes the soft crash each time,
b-shift + n or p do not work
c-locking up capitals + P works well for previous song, but with n it makes the soft crash esach time .


Can you explain me why so or is this possible to solve this ?


THanks ;)


i'm using the following in opensuse 11.3 :
$ amarok --version
Qt : 4.7.0
Plate-forme de développement de KDE : 4.5.2 (KDE 4.5.2)
Amarok : 2.3.2

See below what terminal console gives me when i strike n for "next song" and p for "previous song" :

Code: Select all

LAUNCHING AMAROK :

fabrice@linux-alzh:~> amarok
InnoDB: The log sequence number in ibdata files does not match
InnoDB: the log sequence number in the ib_logfiles!
101023 19:19:15  InnoDB: Database was not shut down normally!
InnoDB: Starting crash recovery.
InnoDB: Reading tablespace information from the .ibd files...
InnoDB: Restoring possible half-written data pages from the doublewrite
InnoDB: buffer...
Object::connect: No such signal Podcasts::SqlPodcastProvider::playlistAdded( Playlists::PlaylistPtr )
Object::connect: No such signal Podcasts::SqlPodcastProvider::playlistRemoved( Playlists::PlaylistPtr )
Object::connect: No such signal Playlists::SqlUserPlaylistProvider::playlistAdded( Playlists::PlaylistPtr )
Object::connect: No such signal Playlists::SqlUserPlaylistProvider::playlistRemoved( Playlists::PlaylistPtr )
Calling appendChild() on a null node does nothing.
Object::connect: No such signal QSortFilterProxyModel::renameIndex( QModelIndex )
Object::connect: No such signal QSortFilterProxyModel::renameIndex( QModelIndex )
Object::connect: No such signal QSortFilterProxyModel::renameIndex( QModelIndex )
Object::connect: No such signal QSortFilterProxyModel::renameIndex( QModelIndex )
amarok(9660)/libplasma Plasma::FrameSvg::resizeFrame: Invalid size QSizeF(0, 0)
amarok(9660)/libplasma Plasma::FrameSvg::resizeFrame: Invalid size QSizeF(0, 0)
QGraphicsLinearLayout::removeAt: invalid index 1
amarok(9660)/libplasma Plasma::FrameSvg::resizeFrame: Invalid size QSizeF(0, 0)
amarok(9660)/libplasma Plasma::FrameSvg::resizeFrame: Invalid size QSizeF(0, 0)
QMetaObject::invokeMethod: No such method App::loadCommandLineOptionsForNewInstance()
amarok:  **********************************************************************************************
amarok:  ** AMAROK WAS STARTED IN NORMAL MODE. IF YOU WANT TO SEE DEBUGGING INFORMATION, PLEASE USE: **
amarok:  ** amarok --debug                                                                           **
amarok:  **********************************************************************************************


ERRORs  :

fabrice@linux-alzh:~>
 QFont::setPointSize: Point size <= 0 (0), must be greater than 0
QFont::setPointSize: Point size <= 0 (0), must be greater than 0
Object::disconnect: Unexpected null parameter
Object::disconnect: Unexpected null parameter
Object::disconnect: Unexpected null parameter
QCoreApplication::postEvent: Unexpected null receiver
amarok(9660) EventListener::eventFilter: User of KWidgetItemDelegate should not delete widgets created by createWidgets!
amarok(9660) EventListener::eventFilter: User of KWidgetItemDelegate should not delete widgets created by createWidgets!
amarok(9660) EventListener::eventFilter: User of KWidgetItemDelegate should not delete widgets created by createWidgets!
amarok(9660) EventListener::eventFilter: User of KWidgetItemDelegate should not delete widgets created by createWidgets!
amarok(9660) EventListener::eventFilter: User of KWidgetItemDelegate should not delete widgets created by createWidgets!
amarok(9660) EventListener::eventFilter: User of KWidgetItemDelegate should not delete widgets created by createWidgets!
amarok(9660) EventListener::eventFilter: User of KWidgetItemDelegate should not delete widgets created by createWidgets!
amarok(9660) EventListener::eventFilter: User of KWidgetItemDelegate should not delete widgets created by createWidgets!                                   
amarok(9660) EventListener::eventFilter: User of KWidgetItemDelegate should not delete widgets created by createWidgets!                                   
amarok(9660) EventListener::eventFilter: User of KWidgetItemDelegate should not delete widgets created by createWidgets!                                   
amarok(9660) EventListener::eventFilter: User of KWidgetItemDelegate should not delete widgets created by createWidgets!                                   
amarok(9660) EventListener::eventFilter: User of KWidgetItemDelegate should not delete widgets created by createWidgets!


manchette, proud to be a member of KDE forums since 2008-Oct.
last openSUSE version : Leap 42.1... / Last Kde Plasma version : 5.0.xxx ...
User avatar
bcooksley
Administrator
Posts
19765
Karma
87
OS
The capitalisation does not affect the keyboard shortcut system as far as I am aware.


KDE Sysadmin
[img]content/bcooksley_sig.png[/img]
User avatar
manchette
Registered Member
Posts
285
Karma
0
OS
No clue on this one .
But it's strange that striking n is saved as N, and only P shortcut works .


manchette, proud to be a member of KDE forums since 2008-Oct.
last openSUSE version : Leap 42.1... / Last Kde Plasma version : 5.0.xxx ...
User avatar
bcooksley
Administrator
Posts
19765
Karma
87
OS
In general, I wouldn't recommend using the main A-Z 0-9 keys as shortcuts, except with a modifier such as Ctrl, Alt, or Meta. It shouldn't crash however.


KDE Sysadmin
[img]content/bcooksley_sig.png[/img]


Bookmarks



Who is online

Registered users: bartoloni, Bing [Bot], Google [Bot], Yahoo [Bot]