Bug 468747

Summary: Text description truncated with manual location
Product: [Applications] systemsettings Reporter: medin <med.medin.2014>
Component: kcm_nightcolorAssignee: Plasma Bugs List <plasma-bugs>
Status: RESOLVED FIXED    
Severity: normal CC: kwin-bugs-null, natalie_clarius, nate
Priority: NOR    
Version: 5.27.4   
Target Milestone: ---   
Platform: Manjaro   
OS: Linux   
Latest Commit: Version Fixed In: 5.27.5
Attachments: Text description truncated with manual location
The page is scrollable but the text is still truncated

Description medin 2023-04-21 07:11:05 UTC
Created attachment 158258 [details]
Text description truncated with manual location

If you select manual location in night color page, the text description at the bottom is truncated. See attached image for more info.
Comment 1 Nate Graham 2023-04-21 19:49:16 UTC
Let me guess: 1366x768 screen?
Comment 2 Nate Graham 2023-04-21 19:51:03 UTC
Another question if you don't mind: in that screenshot, was the intention to make the manual location be somewhere in southern France, or northern Algeria?
Comment 3 Nate Graham 2023-04-21 21:00:09 UTC
Something else is weird here. The page is supposed to become scrollable when everything doesn't fit. This works for me, but in manual location mode, I can't see the "Color temperature begins changing at..." text at all, despite the page becoming scrollable. You've got the opposite problem: you do see the text but the page isn't scrollable!

Natalie, would you like to look into this?
Comment 4 Natalie Clarius 2023-04-21 21:06:33 UTC
Created attachment 158294 [details]
The page is scrollable but the text is still truncated

I get both... The page is scrollable but the text is still truncated.
Comment 5 Natalie Clarius 2023-04-21 21:11:21 UTC
When I do some more resizing I can also get the state where it's not scrollable and truncated, but less truncated than when it's scrollable. So it seems that the page thinks the content is a little shorter than it actually is so it doesn't provide enough scrolling. I'll try to look into what causes it.
Comment 6 Nate Graham 2023-04-21 21:21:55 UTC
Perhaps some faulty anchoring or something.
Comment 7 medin 2023-04-21 23:34:18 UTC
(In reply to Nate Graham from comment #1)
> Let me guess: 1366x768 screen?

Yes, exactly 1366x768 screen.
Comment 8 medin 2023-04-21 23:37:10 UTC
(In reply to Nate Graham from comment #2)
> Another question if you don't mind: in that screenshot, was the intention to
> make the manual location be somewhere in southern France, or northern
> Algeria?

It's a small city in North East of Morocco.
Comment 9 medin 2023-04-21 23:40:52 UTC
(In reply to Nate Graham from comment #3)
> Something else is weird here. The page is supposed to become scrollable when
> everything doesn't fit. This works for me, but in manual location mode, I
> can't see the "Color temperature begins changing at..." text at all, despite
> the page becoming scrollable. You've got the opposite problem: you do see
> the text but the page isn't scrollable!
> 
> Natalie, would you like to look into this?

When the window is maximized its content becomes not scrollable, but when I reduce the window size the scrollbar appears but the bottom text still appears truncated.
Comment 10 Bug Janitor Service 2023-05-02 01:47:12 UTC
A possibly relevant merge request was started @ https://invent.kde.org/plasma/plasma-workspace/-/merge_requests/2888
Comment 11 Nate Graham 2023-05-02 15:37:52 UTC
Fixed by Natalie Clarius with https://invent.kde.org/plasma/plasma-workspace/-/commit/cdd268a3b8b96dc0ef16ab0bec176c5785a6d215 in Plasma 5.27.5!