https://bugs.kde.org/show_bug.cgi?id=499583
Bug ID: 499583
Summary: KDEPlatformTheme plugin causes text artifacts in Qt 6
application (AutoCheckAccelerators, mnemonics)
Classification: Frameworks and Libraries
Product: frameworks-kglobalaccel
Version: 6.8.0
Platform: Other
OS: Linux
Status: REPORTED
Severity: crash
Priority: NOR
Component: general
Assignee: [email protected]
Reporter: [email protected]
CC: [email protected]
Target Milestone: ---
"Those who don't know history are destined to repeat it."
The title is intentionally chosen very similar to this issue:
https://bugs.kde.org/show_bug.cgi?id=337491
*This is because the issue behaves exactly the same - but for Qt6 instead of
Qt5.*
My Qt version is 6.8.1. I am not 100% sure if kglobalaccel is responsible for
the problem but kxmlgui of the reference issue was seemingly also not correct.
Someone there mentioned the KAcceleratorManager as cause but I did not found
this as Product to select.
The problem hit me at a custom Pyside 6 application. Only reason it did not
crash was because the exception was caught:
```
Traceback (most recent call last):
File "[...]editor/dialogs.py", line 995, in buttonClicked
self.worker = ConsistencyWorker(self.Ctrl.currents,
CMT_NAME_TO_PRODUCT_STRING_MAP[product], self.Ctrl.metadata)
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^^^^^^^^^
KeyError: '&SmartA'
```
Just like in the original issue the problem could be workarounded by adding
```
[Development]
AutoCheckAccelerators=false
```
to .config/kdeglobals
As developer I still can't imagine how anyone could come up with "Let's inject
ran&dom Qt mnemoni&cs into UI objects of 3rd party ap&plications! Like what
ha&rm could an i&nvisible random am&persand do in the tex&t value of a
butto&n?"
But maybe I haven't fully grasped the sense of this feature. From my
perspective it is just asking for problems.
--
You are receiving this mail because:
You are watching all bug changes.