Bug 416741

Summary: Scrolling in a sheet moves the entire sheet itself, not the content within it
Product: [Frameworks and Libraries] frameworks-kirigami Reporter: postix <postix>
Component: generalAssignee: Marco Martin <notmart>
Status: CONFIRMED ---    
Severity: minor CC: aleixpol, bugseforuns, nate, postix
Priority: NOR    
Version First Reported In: 5.66.0   
Target Milestone: Not decided   
Platform: Kubuntu   
OS: Linux   
Latest Commit: Version Fixed/Implemented In:
Sentry Crash Report:
Attachments: Screenrecording.

Description postix 2020-01-25 12:08:34 UTC
Created attachment 125392 [details]
Screenrecording.

SUMMARY

I just tried the most recent Kubuntu 20.04 LTS and had a look at the new feedback popup of Discover.
It turns out that the window jumps when you scroll down and that the background becomes darker compared to the initial scroll position.
This feels very very very weird to me.

Please have a look at the video.

SOFTWARE/OS VERSIONS
Operating System: Kubuntu 20.04 LTS
KDE Plasma Version: 5.17.90
KDE Frameworks Version: 5.66.0
Qt Version: 5.12.5
Comment 1 postix 2020-01-25 13:02:19 UTC
I guess this is a Kirigami popup window, which likely mimics the behaviour of mobile devices. However, on a Desktop I personally expect the content to scroll, not the window itself -- but maybe that's just me and everyone else is fine with it. ;)
Comment 2 Nate Graham 2020-01-27 16:11:20 UTC
This is just how Sheets are implemented. The darkening background is something that is unlikely to be changed, and serves the purpose of focusing the sheet content.

The vertical displacement when scrolling has always seemed slightly odd to me as well though. A minor thing. Moving to Kirigami where the code for these sheets lives to see if there's any interest in tweaking the visual style here.
Comment 3 postix 2020-01-27 16:39:17 UTC
(In reply to Nate Graham from comment #2)
> This is just how Sheets are implemented. The darkening background is
> something that is unlikely to be changed, and serves the purpose of focusing
> the sheet content.

The question was: Why are there two level of darkening?
1) less darkening when scrolled to the top
2) more darkening otherwise

> 
> The vertical displacement when scrolling has always seemed slightly odd to
> me as well though. A minor thing. Moving to Kirigami where the code for
> these sheets lives to see if there's any interest in tweaking the visual
> style here.

I hope so. It's also not consistent with the scrolling behaviours of other apps. :)