Summary: | bold attribute ignored? | ||
---|---|---|---|
Product: | [Frameworks and Libraries] frameworks-syntax-highlighting | Reporter: | RJVB <rjvbertin> |
Component: | theme | Assignee: | KWrite Developers <kwrite-bugs-null> |
Status: | RESOLVED DUPLICATE | ||
Severity: | normal | CC: | nate, simonandric5 |
Priority: | NOR | ||
Version: | 5.38.0 | ||
Target Milestone: | --- | ||
Platform: | Compiled Sources | ||
OS: | Linux | ||
See Also: | https://bugs.kde.org/show_bug.cgi?id=378523 | ||
Latest Commit: | Version Fixed In: | ||
Sentry Crash Report: |
Description
RJVB
2017-11-30 11:21:58 UTC
Yep, it's the Qt issue you brought up. I appreciate your comments in the upstream Qt bug report. If you have some ideas for how to work around the issue in Bug 378523, please don't hesitate to submit a patch! *** This bug has been marked as a duplicate of bug 378523 *** Will do. I only have some general ideas right now, in addition to https://phabricator.kde.org/D9070 . I'll probably need a few more run-ins with the "new" feature to get a better idea. I haven't really been noticing it before, but that's partly because I never really changed my font settings since upgrading to Qt 5.8 ... and when I did I restored my config by restoring a backup kdeglobals file. Sadly it's beginning to look like KDE should have preserved or implemented a KFont wrapper class in KCoreAddons ... the latest exchanges on the upstream Qt bug report suggest things will only get worse. At the very least some kind of wrapper of the font dialog seems to be required, as that's apparently one way style names are getting set outside of code control. I still am not perfectly certain which Qt version introduced the regression, 5.8? Either way, such a wrapper or other frameworks-level workaround ought to be implemented before the minimum required Qt version becomes more recent than the version that introduced the regression. (Because of the fact frameworks are version-linked and Qt has been dropping support for less recent OS versions recently.) |