Bug 486304 - Plasmoid license viewer cannot scroll to bottom of license until window is resized.
Summary: Plasmoid license viewer cannot scroll to bottom of license until window is re...
Status: REPORTED
Alias: None
Product: plasmashell
Classification: Plasma
Component: general (show other bugs)
Version: 6.0.4
Platform: Fedora RPMs Linux
: NOR minor
Target Milestone: 1.0
Assignee: Plasma Bugs List
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2024-04-29 15:51 UTC by Roke Julian Lockhart Beedell
Modified: 2024-09-27 23:02 UTC (History)
5 users (show)

See Also:
Latest Commit:
Version Fixed In:
Sentry Crash Report:
4wy78uwh: performance-


Attachments
What scrolling to the bottom of the license viewer looks like by default. (110.00 KB, image/png)
2024-04-29 15:51 UTC, Roke Julian Lockhart Beedell
Details
What scrolling to the bottom of the license viewer looks like when resized. (76.94 KB, image/png)
2024-04-29 15:53 UTC, Roke Julian Lockhart Beedell
Details
What scrolling to the bottom of the license viewer looks like when resized in Plasma 6.1.4. (73.70 KB, image/png)
2024-09-16 00:14 UTC, Roke Julian Lockhart Beedell
Details
What scrolling to the bottom of the license viewer looks like when resized in Plasma 6.1.5. (76.12 KB, image/png)
2024-09-27 15:51 UTC, Roke Julian Lockhart Beedell
Details
License pane in App Launcher settings (145.95 KB, image/png)
2024-09-27 20:56 UTC, TraceyC
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Roke Julian Lockhart Beedell 2024-04-29 15:51:58 UTC
Created attachment 169002 [details]
What scrolling to the bottom of the license viewer looks like by default.

SUMMARY
The Plasmoid license viewer cannot scroll to the bottom of the license until its parent window is resized.

STEPS TO REPRODUCE
1.  Open any plasmoid with an About page (which contains a license) like Application Launcher and Kate Sessions.
2.  Invoke the link to the fake dialog overlay which displays the license.
3.  Scroll to the bottom of the license without resizing the window, using the scroll wheel on the content.

    You shouldn't be able to see the absolute bottom.

4.  Resize the window.
5.  Scroll downward.

    You should be able to now.

OBSERVED RESULT
I'm unable to read the bottom of the license until I resize its parent window.

EXPECTED RESULT
I should be able to read it all without needing to resize its parent window.

SOFTWARE/OS VERSIONS
Operating System: Fedora Linux 40
KDE Plasma Version: 6.0.4
KDE Frameworks Version: 6.1.0
Qt Version: 6.7.0
Kernel Version: 6.8.8-300.fc40.x86_64 (64-bit)
Graphics Platform: Wayland
Processors: 12 × AMD Ryzen 5 7600X 6-Core Processor
Memory: 30.5 GiB of RAM
Graphics Processor: AMD Radeon RX 5700
Manufacturer: ASRock
Product Name: X670E Taichi

ADDITIONAL INFORMATION
I've set this as minor merely because not many users use this fake dialog.
Comment 1 Roke Julian Lockhart Beedell 2024-04-29 15:53:53 UTC
Created attachment 169005 [details]
What scrolling to the bottom of the license viewer looks like when resized.
Comment 2 cwo 2024-09-15 21:18:18 UTC
I can't reproduce this on master (With Application Launcher, Kate Sessions no longer has a configuration dialog). Is this still an issue for you? If so, could you state which font you are using? I wonder if that may have an influence on this.
Comment 3 Roke Julian Lockhart Beedell 2024-09-16 00:14:47 UTC
Created attachment 173708 [details]
What scrolling to the bottom of the license viewer looks like when resized in Plasma 6.1.4.

(In reply to Roke Julian Lockhart Beedell from comment #1)

Christoph.Wolk@gmx.de, I've attached what it looks like for me using the undermentioned (per `kinfo`):

> ```YAML
> Operating System: Fedora Linux 40
> KDE Plasma Version: 6.1.4
> KDE Frameworks Version: 6.5.0
> Qt Version: 6.7.2
> Kernel Version: 6.10.10-200.fc40.x86_64 (64-bit)
> Graphics Platform: Wayland
> Processors: 12 × AMD Ryzen 5 7600X 6-Core Processor
> Memory: 30.5 GiB of RAM
> Graphics Processor: AMD Radeon RX 5700
> ```

Summarily, the problem remains.

Font
----

Per [this Reddit comment](https://www.reddit.com/r/kde/comments/4fvug4/comment/d2csqpo/?utm_source=share&utm_medium=web3x&utm_name=web3xcss&utm_term=1&utm_content=share_button), `/home/RokeJulianLockhart/.config/kdeglobals` contains the undermentioned:

> ```ini
> [General]
> fixed=Monospace,10,-1,5,400,0,0,0,0,0,0,0,0,0,0,1
> font=Monospace,10,-1,5,400,0,0,0,0,0,0,0,0,0,0,1
> menuFont=Monospace,10,-1,5,400,0,0,0,0,0,0,0,0,0,0,1
> smallestReadableFont=Monospace,10,-1,5,400,0,0,0,0,0,0,0,0,0,0,1
> toolBarFont=Monospace,10,-1,5,400,0,0,0,0,0,0,0,0,0,0,1
> 
> [WM]
> activeFont=Monospace,10,-1,5,400,0,0,0,0,0,0,0,0,0,0,1
> ```

...which `fc-match 'monospace'` lists as [*Noto Sans Mono Regular*](https://koji.fedoraproject.org/koji/rpminfo?rpmID=38077645):

> ```log
> PS /home/RokeJulianLockhart> fc-match monospace                
> NotoSansMono-Regular.ttf: "Noto Sans Mono" "Regular"
> ```
Comment 4 cwo 2024-09-16 08:44:45 UTC
Thanks for the info. Can reproduce in a Fedora VM with Monospace, but not on Tuxedo with master.  Might be fixed, or depend on some other factor (screen size, scaling, etc).
Comment 5 TraceyC 2024-09-27 15:32:55 UTC
Tested with the application launcher configure window
Sized it as small as possible before opening the license info

On KDE Neon and default fonts, I cannot reproduce
(Plasma 6.1.5, Frameworks 6.6.0, Qt 6.7.2)
With all fonts at monospace 10, also not able to reproduce

On git-master, I cannot reproduce with default fonts
With all fonts at monospace 10, also not able to reproduce

If you still see this bug with 6.1.5, what is the resolution of your display?
Comment 6 Roke Julian Lockhart Beedell 2024-09-27 15:51:23 UTC
Created attachment 174143 [details]
What scrolling to the bottom of the license viewer looks like when resized in Plasma 6.1.5.

(In reply to TraceyC from comment #5)

> ```YAML
> Operating System: Fedora Linux 40
> KDE Plasma Version: 6.1.5
> KDE Frameworks Version: 6.6.0
> Qt Version: 6.7.2
> Kernel Version: 6.10.11-200.fc40.x86_64 (64-bit)
> Graphics Platform: Wayland
> Processors: 12 × AMD Ryzen 5 7600X 6-Core Processor
> Memory: 30.5 GiB of RAM
> Graphics Processor: AMD Radeon RX 5700
> Manufacturer: ASRock
> Product Name: X670E Taichi
> ```

I use a 2560x1440px display. It's an [AOC Q3279WG5B](https://linux-hardware.org/?id=eisa:aoc-q3279wg5b-2560x1440) - unfortunately, none of the probes listed are mine (yet).
Comment 7 Roke Julian Lockhart Beedell 2024-09-27 15:52:25 UTC
(In reply to Roke Julian Lockhart Beedell from comment #6)
> none of the probes listed are mine (yet)

It's https://linux-hardware.org/?probe=38c09012e1, if of use.
Comment 8 TraceyC 2024-09-27 20:55:20 UTC
Thanks for the additional detail. I did some further testing.
I changed my laptop display to be 2560x1440 (Plasma 6.1.5). I checked at 150% and 100%
With default fonts, or with all fonts set to monospace I'm still not able to reproduce the bug.
I resized the Application Launcher Settings window as small as it would go, and brought up the license info. If I scroll down to the bottom, the text at the end is visible for me. 

I'm attaching a screenshot of the license window, as it initially appears when I scroll to the bottom.

I'll leave this open so others can try to reproduce.
Comment 9 TraceyC 2024-09-27 20:56:17 UTC
Created attachment 174157 [details]
License pane in App Launcher settings
Comment 10 Roke Julian Lockhart Beedell 2024-09-27 21:09:09 UTC
(In reply to TraceyC from comment #9)
Thanks for that. Perplexing how it can happen to 50% but not the other 50%. Is your monitor of a higher resolution? I ask because you state that you changed its resolution to 1440p, which would be unusual if that's 1:1 for your pixel matrix.
Comment 11 TraceyC 2024-09-27 22:46:49 UTC
My laptop screen's native resolution is 3840x2400. I tested at various other resolutions with different aspect ratios
I also tested on an external monitor, native resolution of 3440x1440 at various resolutions
Comment 12 Roke Julian Lockhart Beedell 2024-09-27 23:02:15 UTC
(In reply to TraceyC from comment #11)
Thanks for doing that.