Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Underlined characters in widget titles rendered incorrectly as ampersands in KDE6 #10341

Closed
GloriousEggroll opened this issue Mar 7, 2024 · 7 comments

Comments

@GloriousEggroll
Copy link
Contributor

Operating System Info

Other

Other OS

Fedora 40, Nobara 39

OBS Studio Version

30.1.0-rc1

OBS Studio Version (Other)

No response

OBS Studio Log URL

https://obsproject.com/logs/kTk1mXEjWlGxBQTE

OBS Studio Crash Log URL

No response

Expected Behavior

Characters should be underlined instead of showing a prefixed ampersand (&)

Current Behavior

The random ampersands (&) where underlined characters should be in Scenes/Sources etc:

obsbug

Steps to Reproduce

i was hitting it in Nobara first, so I spun up a vanilla fedora 40 VM and was able to reproduce
it only happens with OBS + KDE 6
furthermore I can do XDG_CURRENT_DESKTOP=gnome and it works around the bug

Download Fedora 39 ISO and create a VM
Update:
sudo dnf update --refresh
Upgrade to Fedora 40:

sudo dnf install dnf-plugin-system-upgrade
sudo dnf system-upgrade download --releasever=40
sudo dnf system-upgrade reboot

Install kde 6:

sudo dnf install @kde-desktop

Log out then log into Plasma.

Install OBS

sudo dnf install obs-studio

Run it and the issue should be reproduced. I've confirmed it does not happen with KDE 5 or in Gnome.

Anything else we should know?

No response

@derrod
Copy link
Member

derrod commented Mar 7, 2024

The translation strings for dock titles have no & so I have no clue how they got there...

What does your en-US.ini for the main UI look like?

@GloriousEggroll
Copy link
Contributor Author

GloriousEggroll commented Mar 7, 2024

The translation strings for dock titles have no & so I have no clue how they got there...

What does your en-US.ini for the main UI look like?

unmodified, i rebuilt the package from source, same issue.

issue also goes away if i change the default theme from Yami to system. all other themes cause the same thing.
QT_QPA_PLATFORMTHEME=Breeze QT_STYLE_OVERRIDE=Breeze also does not help. Issue still occurs

@derrod
Copy link
Member

derrod commented Mar 7, 2024

Strange but probably some Qt or KDE bug, we don't set those anywhere as far as I can tell so no idea where it's getting them from.

@GloriousEggroll
Copy link
Contributor Author

GloriousEggroll commented Mar 7, 2024

qt 6.6.2 by itself its fine -- i checked that
on gnome its fine too even with kde 6 installed while logged into gnome
its something with kde
for more info -- another way i also checked this is like so:

install fedora 39
install obs
update fedora 39 all the way
= perfectly fine

install kde on fedora 39 = perfectly fine

enable kde6 copr repo on fedora 39 and update, then log into plasma = problem

then i thought ok maybe is the copr repo -- so i did a wipe and another install of fedora 39
upgraded it to 40
installed kde 6 from fedora;s official repos, log into plasma
= problem

@GloriousEggroll
Copy link
Contributor Author

GloriousEggroll commented Mar 7, 2024

After more digging I found if I remove kf6-ki18n it fixes it. (forcefully via rpm -e --nodeps). Obv, not an actual fix but at least a lead on the cause. I'm going to go ahead and open a bug on the KDE side. I'll close this one once confirmed over there.

@GloriousEggroll
Copy link
Contributor Author

It's a bug in QT. I tracked it down and managed to patch it.
https://bugs.kde.org/show_bug.cgi?id=482657

closing

@tytan652 tytan652 closed this as not planned Won't fix, can't repro, duplicate, stale Mar 7, 2024
@RytoEX
Copy link
Member

RytoEX commented Mar 7, 2024

Thanks for following up on the QTBUG.
Linked from the KDE bug: https://bugreports.qt.io/browse/QTBUG-86407

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

4 participants