Bug 470935 - "Profile:" text is misplaced
Summary: "Profile:" text is misplaced
Status: RESOLVED FIXED
Alias: None
Product: systemsettings
Classification: Applications
Component: kcm_pulseaudio (other bugs)
Version First Reported In: master
Platform: Neon Linux
: NOR normal
Target Milestone: ---
Assignee: Plasma Bugs List
URL:
Keywords: qt6
Depends on:
Blocks:
 
Reported: 2023-06-12 12:03 UTC by Patrick Silva
Modified: 2023-06-15 20:18 UTC (History)
3 users (show)

See Also:
Latest Commit:
Version Fixed/Implemented In:
Sentry Crash Report:


Attachments
misplaced "Profile:" text (129.39 KB, image/png)
2023-06-12 12:03 UTC, Patrick Silva
Details
no bug if OBS Studio is running (149.61 KB, image/png)
2023-06-12 12:06 UTC, Patrick Silva
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Patrick Silva 2023-06-12 12:03:48 UTC
Created attachment 159611 [details]
misplaced "Profile:" text

STEPS TO REPRODUCE
1. open Audio KCM
2. 
3. 

OBSERVED RESULT
"Profile:" text is misplaced. If OBS Studio is running, the bug does not occur. Please see the attached screenshots.

EXPECTED RESULT


SOFTWARE/OS VERSIONS
Operating System: KDE neon Unstable Edition
KDE Plasma Version: 5.27.80
KDE Frameworks Version: 5.240.0
Qt Version: 6.5.0
Graphics Platform: Wayland
Comment 1 Patrick Silva 2023-06-12 12:06:04 UTC
Created attachment 159612 [details]
no bug if OBS Studio is running
Comment 2 Justin Zobel 2023-06-15 05:21:44 UTC
I can't replicate this. Can you please test if using default fonts this issue still shows?
Comment 3 ratijas 2023-06-15 12:06:49 UTC
I guess is a yet another random QtQuick/ListView bug when delegates change their height/implicitHeight during instantiation. Similar to https://bugs.kde.org/show_bug.cgi?id=468204

Or maybe some other QtQuick.Layouts issue. What does the console output says when launching `systemsettings kcm_pulseaudio` from a terminal?
Comment 4 ratijas 2023-06-15 12:08:27 UTC
The moment I open OBS Studio while Audio KCM is running, I get two scary errors at once:

```
file:///usr/local/kde5/share/kpackage/kcms/kcm_pulseaudio/contents/ui/main.qml:256: ReferenceError: sourceModel is not defined
file:///usr/local/kde5/share/kpackage/kcms/kcm_pulseaudio/contents/ui/main.qml:256: ReferenceError: sourceModel is not defined
```

which sounds pretty bad. But it does not break the layout for me. Probably it depends on hardware setup a lot.
Comment 5 Patrick Silva 2023-06-15 20:18:07 UTC
it's no longer happening.