[frameworks-kxmlgui] [Bug 337491] KDEPlatformTheme plugin causes text artifacts in Qt 5 application
https://bugs.kde.org/show_bug.cgi?id=337491 Albert Astals Cid changed: What|Removed |Added Status|CONFIRMED |RESOLVED Latest Commit||https://commits.kde.org/kxm ||lgui/02b523bad09aab062355e4 ||6771889b0f3709692f Resolution|--- |FIXED --- Comment #36 from Albert Astals Cid --- Git commit 02b523bad09aab062355e46771889b0f3709692f by Albert Astals Cid. Committed on 12/01/2019 at 17:39. Pushed by aacid into branch 'master'. Make KCheckAccelerators less invasive for apps that don't directly link to KXmlGui Summary: BUGS: 337491 Test Plan: Ran qtcreator and it no longer has the & in Details Added some debug and checked that okular still gets the code called Reviewers: anthonyfieroni Reviewed By: anthonyfieroni Subscribers: davidedmundson, anthonyfieroni, kde-frameworks-devel Tags: #frameworks Differential Revision: https://phabricator.kde.org/D18204 M +36 -2src/kcheckaccelerators.cpp https://commits.kde.org/kxmlgui/02b523bad09aab062355e46771889b0f3709692f -- You are receiving this mail because: You are watching all bug changes.
[frameworks-kxmlgui] [Bug 337491] KDEPlatformTheme plugin causes text artifacts in Qt 5 application
https://bugs.kde.org/show_bug.cgi?id=337491 Nate Graham changed: What|Removed |Added CC||n...@kde.org -- You are receiving this mail because: You are watching all bug changes.
[frameworks-kxmlgui] [Bug 337491] KDEPlatformTheme plugin causes text artifacts in Qt 5 application
https://bugs.kde.org/show_bug.cgi?id=337491 Wren Turkal changed: What|Removed |Added Status|REPORTED|CONFIRMED Ever confirmed|0 |1 CC||w...@penguintechs.org --- Comment #35 from Wren Turkal --- I would really love for this feature to be removed. I was modifying a window in qtdesigner. It was super frustrating until I figured out how to disable it. -- You are receiving this mail because: You are watching all bug changes.
[frameworks-kxmlgui] [Bug 337491] KDEPlatformTheme plugin causes text artifacts in Qt 5 application
https://bugs.kde.org/show_bug.cgi?id=337491 --- Comment #34 from Alexander Wilms --- FlightGear's Qt launcher is affected as well. -- You are receiving this mail because: You are watching all bug changes.
[frameworks-kxmlgui] [Bug 337491] KDEPlatformTheme plugin causes text artifacts in Qt 5 application
https://bugs.kde.org/show_bug.cgi?id=337491 --- Comment #33 from perrantre...@googlemail.com --- This bug also affects users of Retroarch's Qt Desktop Menu UI. https://github.com/libretro/RetroArch/issues/7112#issuecomment-418535423 -- You are receiving this mail because: You are watching all bug changes.
[frameworks-kxmlgui] [Bug 337491] KDEPlatformTheme plugin causes text artifacts in Qt 5 application
https://bugs.kde.org/show_bug.cgi?id=337491 perrantre...@googlemail.com changed: What|Removed |Added CC||perrantre...@googlemail.com --- Comment #32 from perrantre...@googlemail.com --- This bug also affects users of Retroarch's Qt Desktop Menu UI. https://github.com/libretro/RetroArch/issues/7112#issuecomment-418535423 -- You are receiving this mail because: You are watching all bug changes.
[frameworks-kxmlgui] [Bug 337491] KDEPlatformTheme plugin causes text artifacts in Qt 5 application
https://bugs.kde.org/show_bug.cgi?id=337491 Oleksandr Natalenko changed: What|Removed |Added CC||oleksa...@natalenko.name --- Comment #31 from Oleksandr Natalenko --- It looks like the same applies to Clementine: https://github.com/clementine-player/Clementine/issues/5931 -- You are receiving this mail because: You are watching all bug changes.
[frameworks-kxmlgui] [Bug 337491] KDEPlatformTheme plugin causes text artifacts in Qt 5 application
https://bugs.kde.org/show_bug.cgi?id=337491 --- Comment #30 from David Rosca --- *** Bug 394010 has been marked as a duplicate of this bug. *** -- You are receiving this mail because: You are watching all bug changes.
[frameworks-kxmlgui] [Bug 337491] KDEPlatformTheme plugin causes text artifacts in Qt 5 application
https://bugs.kde.org/show_bug.cgi?id=337491 Cristian Adam changed: What|Removed |Added CC||cristian.a...@gmx.net --- Comment #29 from Cristian Adam --- AutoCheckAccelerators is breaking Falkon too, see: #394010 -- You are receiving this mail because: You are watching all bug changes.
[frameworks-kxmlgui] [Bug 337491] KDEPlatformTheme plugin causes text artifacts in Qt 5 application
https://bugs.kde.org/show_bug.cgi?id=337491 Sudhir Khanger changed: What|Removed |Added CC||sud...@sudhirkhanger.com -- You are receiving this mail because: You are watching all bug changes.
[frameworks-kxmlgui] [Bug 337491] KDEPlatformTheme plugin causes text artifacts in Qt 5 application
https://bugs.kde.org/show_bug.cgi?id=337491 Arthur Schiwon changed: What|Removed |Added CC||bli...@arthur-schiwon.de -- You are receiving this mail because: You are watching all bug changes.
[frameworks-kxmlgui] [Bug 337491] KDEPlatformTheme plugin causes text artifacts in Qt 5 application
https://bugs.kde.org/show_bug.cgi?id=337491 michael changed: What|Removed |Added CC||reeves...@gmail.com --- Comment #28 from michael --- Just confirmed this behavior breaks custom actions in QGit 3.7. -- You are receiving this mail because: You are watching all bug changes.
[frameworks-kxmlgui] [Bug 337491] KDEPlatformTheme plugin causes text artifacts in Qt 5 application
https://bugs.kde.org/show_bug.cgi?id=337491 Triton Circonflexe changed: What|Removed |Added CC||kde+b...@kumal.info -- You are receiving this mail because: You are watching all bug changes.
[frameworks-kxmlgui] [Bug 337491] KDEPlatformTheme plugin causes text artifacts in Qt 5 application
https://bugs.kde.org/show_bug.cgi?id=337491 incompl...@aixon.co changed: What|Removed |Added CC||incompl...@aixon.co -- You are receiving this mail because: You are watching all bug changes.
[frameworks-kxmlgui] [Bug 337491] KDEPlatformTheme plugin causes text artifacts in Qt 5 application
https://bugs.kde.org/show_bug.cgi?id=337491 Jacob Floyd changed: What|Removed |Added CC||cognifl...@gmail.com -- You are receiving this mail because: You are watching all bug changes.
[frameworks-kxmlgui] [Bug 337491] KDEPlatformTheme plugin causes text artifacts in Qt 5 application
https://bugs.kde.org/show_bug.cgi?id=337491 Teunizz changed: What|Removed |Added CC||teu...@gmail.com -- You are receiving this mail because: You are watching all bug changes.
[frameworks-kxmlgui] [Bug 337491] KDEPlatformTheme plugin causes text artifacts in Qt 5 application
https://bugs.kde.org/show_bug.cgi?id=337491 Laurent RINEAU changed: What|Removed |Added CC||Laurent.Rineau__kde@normale ||sup.org -- You are receiving this mail because: You are watching all bug changes.
[frameworks-kxmlgui] [Bug 337491] KDEPlatformTheme plugin causes text artifacts in Qt 5 application
https://bugs.kde.org/show_bug.cgi?id=337491 Christoph Feck changed: What|Removed |Added CC||j...@kde.org --- Comment #27 from Christoph Feck --- *** Bug 353150 has been marked as a duplicate of this bug. *** -- You are receiving this mail because: You are watching all bug changes.
[frameworks-kxmlgui] [Bug 337491] KDEPlatformTheme plugin causes text artifacts in Qt 5 application
https://bugs.kde.org/show_bug.cgi?id=337491 Christoph Feck changed: What|Removed |Added CC||baz...@gmail.com --- Comment #26 from Christoph Feck --- *** Bug 345023 has been marked as a duplicate of this bug. *** -- You are receiving this mail because: You are watching all bug changes.
[frameworks-kxmlgui] [Bug 337491] KDEPlatformTheme plugin causes text artifacts in Qt 5 application
https://bugs.kde.org/show_bug.cgi?id=337491 f.alexander.wi...@gmail.com changed: What|Removed |Added CC||f.alexander.wi...@gmail.com --- Comment #25 from f.alexander.wi...@gmail.com --- This default behaviour also breaks GNU Octave: http://savannah.gnu.org/bugs/index.php?51851 http://savannah.gnu.org/bugs/index.php?51853 http://savannah.gnu.org/bugs/index.php?51905 And possibly http://savannah.gnu.org/bugs/index.php?51949 -- You are receiving this mail because: You are watching all bug changes.
[frameworks-kxmlgui] [Bug 337491] KDEPlatformTheme plugin causes text artifacts in Qt 5 application
https://bugs.kde.org/show_bug.cgi?id=337491 leonardo.bac...@gmail.com changed: What|Removed |Added CC||leonardo.bac...@gmail.com --- Comment #24 from leonardo.bac...@gmail.com --- This bug also affects me in the same way as it does to Janek; We made a little keyboard with buttons, where we had to add the same information as text and as another property. Also, as a GUI developer, if I don't assign a hot key to a given button, it is because it should not have a hot key. This also causes troubles on Qt Designer, where it eventually adds & to the labels on the .ui file being edited. cmdrkotori's solution should be available as a user configuration, imho. -- You are receiving this mail because: You are watching all bug changes.
[frameworks-kxmlgui] [Bug 337491] KDEPlatformTheme plugin causes text artifacts in Qt 5 application
https://bugs.kde.org/show_bug.cgi?id=337491 --- Comment #23 from cmdrkot...@gmail.com --- (In reply to Salvo "LtWorf" Tomaselli from comment #22) > But, my project is in PyQt… You should be able to do the same with ctypes. -- You are receiving this mail because: You are watching all bug changes.
[frameworks-kxmlgui] [Bug 337491] KDEPlatformTheme plugin causes text artifacts in Qt 5 application
https://bugs.kde.org/show_bug.cgi?id=337491 --- Comment #22 from Salvo "LtWorf" Tomaselli --- But, my project is in PyQt… -- You are receiving this mail because: You are watching all bug changes.
[frameworks-kxmlgui] [Bug 337491] KDEPlatformTheme plugin causes text artifacts in Qt 5 application
https://bugs.kde.org/show_bug.cgi?id=337491 --- Comment #21 from cmdrkot...@gmail.com --- Here's how I solved it. It's a bit ugly. .pro file: LIBS += -ldl .c++ file: #include void Helpers::disableSystemAccel(QWidget *what) { void *d = dlopen("libKF5WidgetsAddons.so", RTLD_LAZY); if (!d) return; typedef void (*DisablerFunc)(QWidget *); DisablerFunc setNoAccel; setNoAccel = reinterpret_cast(dlsym(d, "_ZN19KAcceleratorManager10setNoAccelEP7QWidget")); if (setNoAccel) setNoAccel(what); dlclose(d); } Call this function in your object's constructor. -- You are receiving this mail because: You are watching all bug changes.
[frameworks-kxmlgui] [Bug 337491] KDEPlatformTheme plugin causes text artifacts in Qt 5 application
https://bugs.kde.org/show_bug.cgi?id=337491 kde...@boson.nom.za changed: What|Removed |Added CC||kde...@boson.nom.za -- You are receiving this mail because: You are watching all bug changes.
[frameworks-kxmlgui] [Bug 337491] KDEPlatformTheme plugin causes text artifacts in Qt 5 application
https://bugs.kde.org/show_bug.cgi?id=337491 --- Comment #20 from Christoph Feck --- It is unrelated to global shortcuts. These accelerators are local shortcuts, they are accessed with Alt key while the window is active. -- You are receiving this mail because: You are watching all bug changes.
[frameworks-kxmlgui] [Bug 337491] KDEPlatformTheme plugin causes text artifacts in Qt 5 application
https://bugs.kde.org/show_bug.cgi?id=337491 matthias sweertvaegher changed: What|Removed |Added CC||matthias.sweertvaegher@gmai ||l.com --- Comment #19 from matthias sweertvaegher --- noob question: does KDE do that to make global shortcuts work or is that totally unrelated? -- You are receiving this mail because: You are watching all bug changes.
[frameworks-kxmlgui] [Bug 337491] KDEPlatformTheme plugin causes text artifacts in Qt 5 application
https://bugs.kde.org/show_bug.cgi?id=337491 Alex Maystrenko changed: What|Removed |Added CC||alexeyt...@gmail.com --- Comment #18 from Alex Maystrenko --- Hi, from my point of view, your are taking to much responsibility Dear KDE developers. The shortcuts are an application own business and intercepting that is bad architecture decision. -- You are receiving this mail because: You are watching all bug changes.
[frameworks-kxmlgui] [Bug 337491] KDEPlatformTheme plugin causes text artifacts in Qt 5 application
https://bugs.kde.org/show_bug.cgi?id=337491 Luca Weiss changed: What|Removed |Added CC||l...@z3ntu.xyz -- You are receiving this mail because: You are watching all bug changes.
[frameworks-kxmlgui] [Bug 337491] KDEPlatformTheme plugin causes text artifacts in Qt 5 application
https://bugs.kde.org/show_bug.cgi?id=337491 Simon Andric changed: What|Removed |Added CC||simonandr...@gmail.com -- You are receiving this mail because: You are watching all bug changes.
[frameworks-kxmlgui] [Bug 337491] KDEPlatformTheme plugin causes text artifacts in Qt 5 application
https://bugs.kde.org/show_bug.cgi?id=337491 Janek Bevendorff changed: What|Removed |Added CC||k...@jbev.net --- Comment #17 from Janek Bevendorff --- Would it be possible to remove this "feature"? It is super annoying. We are also fighting with ugly text artifacts in our application. We also cannot read back any text from the user interface, because whatever text we read from a label or menu entry is probably not what we initially wrote there. This has already cost me a lot of time to hunt down weird bugs where things somehow didn't work on KDE, but on all other platforms. -- You are receiving this mail because: You are watching all bug changes.
[frameworks-kxmlgui] [Bug 337491] KDEPlatformTheme plugin causes text artifacts in Qt 5 application
https://bugs.kde.org/show_bug.cgi?id=337491 cmdrkot...@gmail.com changed: What|Removed |Added CC||cmdrkot...@gmail.com --- Comment #16 from cmdrkot...@gmail.com --- Created attachment 102941 --> https://bugs.kde.org/attachment.cgi?id=102941&action=edit Example of custom QTabWidget titles becoming shortcuts I'm also encountering this in my own program (https://github.com/cmdrkotori/mpc-qt). A playlist tab that gets an 'I' ampersanded conflicts with the default Alt-I take screenshot shortcut. This does not happen on a Windows build. If there were a way to turn this off at runtime without introducing extra dependencies (e.g. an environment variable), that'd be really good. -- You are receiving this mail because: You are watching all bug changes.
[frameworks-kxmlgui] [Bug 337491] KDEPlatformTheme plugin causes text artifacts in Qt 5 application
https://bugs.kde.org/show_bug.cgi?id=337491 Richard Heck changed: What|Removed |Added CC||rgh...@lyx.org --- Comment #15 from Richard Heck --- We have had reports of this same bug in LyX. See http://www.lyx.org/trac/ticket/10261. -- You are receiving this mail because: You are watching all bug changes.
[frameworks-kxmlgui] [Bug 337491] KDEPlatformTheme plugin causes text artifacts in Qt 5 application
https://bugs.kde.org/show_bug.cgi?id=337491 Frank Jackson changed: What|Removed |Added CC||frank.jackson@denbridgemari ||ne.com -- You are receiving this mail because: You are watching all bug changes.
[frameworks-kxmlgui] [Bug 337491] KDEPlatformTheme plugin causes text artifacts in Qt 5 application
https://bugs.kde.org/show_bug.cgi?id=337491 Kenneth Perry changed: What|Removed |Added CC||thothone...@gmail.com --- Comment #14 from Kenneth Perry --- LMMS also triggers this : when built for Qt5, it creates a QMenu containing QActions which contain the recent files loaded. When you press one it uses its text() to load the file - and loading files like /&home/whatever doesn't work. -- You are receiving this mail because: You are watching all bug changes.
[frameworks-kxmlgui] [Bug 337491] KDEPlatformTheme plugin causes text artifacts in Qt 5 application
https://bugs.kde.org/show_bug.cgi?id=337491 Chusslove Illich changed: What|Removed |Added Assignee|caslav.i...@gmx.net |kdelibs-b...@kde.org Product|frameworks-ki18n|frameworks-kxmlgui Component|general |general --- Comment #13 from Chusslove Illich --- This behavior is related to the code in KXmlGui, and not related to any code in KI18n, so reassigning for that reason alone to KXmlGui. Otherwise I have no idea what should be done here. -- You are receiving this mail because: You are watching all bug changes.