d1vanov/libquentier

Cannot disable spell checker's dictionary via context menu

michaelkn opened this issue · 4 comments

context_menu

There is the following message in logs:
ibquentier/src/note_editor/SpellChecker_p.cpp @ 114 [Info]: Can't disable dictionary: no dictionary was found for language en_&GB

It's interesting how in your case the entire menu is automatically "accelerated" - I mean underlined characters within each menu entry. Neither Quentier nor libquentier has any code doing this so it must be the work of some system built-in tool - are you using any special Qt/KDE/Plasma 5 plugin doing such a thing?

In my setup I can't reproduce this issue as my menu is not accelerated but I suppose fixing this should be fairly easy - instead of passing the action's raw text as the dictionary name, should first remove all & symbols from it (if any). Same fix should help with #40 as well.

The issue in KDE bugtracker was created back in 2014 - little chance to live long enough to see it fixed, should workaround instead. Only need to find all are other places where the same workaround could be applied.

This one and #40 should be fixed after commit 5e4fc24 in branches master and development. Also created d1vanov/quentier#155 to see if context menus on the app side are also affected by this.