Bug 461850

Summary: Angelfish web apps (on the Pinephone, at least) leave the bottom part of the window off the screen in landscape
Product: [Applications] angelfish Reporter: Pixie <erhora>
Component: generalAssignee: Jonah Brüchert <jbb>
Status: RESOLVED FIXED    
Severity: normal    
Priority: NOR    
Version First Reported In: unspecified   
Target Milestone: ---   
Platform: Other   
OS: Linux   
Latest Commit: Version Fixed/Implemented In:
Sentry Crash Report:

Description Pixie 2022-11-15 01:58:07 UTC
SUMMARY
***
The Angelfish web apps, under Wayland on the original Pinephone, do not seem to use the correct height in landscape, and leaves the bottom part of the webapp windows off the screen.

This is happening on the current postmarketOS stable, (22.06 service pack 3) on Plasma Mobile, with a scaling of 165%.
***


STEPS TO REPRODUCE
1. Pin a website as a webapp to the desktop from Angelfish
2. Open app
3. Tilt Pinephone sideways to orient it in landscape

OBSERVED RESULT
Bottom part of the webapp window is off the screen

EXPECTED RESULT
Entirety of webapp window being within screen boundaries

SOFTWARE/OS VERSIONS
Linux/KDE Plasma: postmarketOS stable v22.06 service pack 3, using kernel 6.0.2
(available in About System)
KDE Plasma Version: 5.24.5
KDE Frameworks Version: 5.94.0
Qt Version: 5.15.4

ADDITIONAL INFORMATION
Opening Maliit, letting the window resize, and then closing it will briefly reveal that the window below has correctly scaled its height in response to Maliit (and, for a brief period before it resizes again, show that the entire webapp is now within screen boundaries), while still remaining covered by Maliit, to what I reckon is the same amount as it is otherwise off the screen.
Comment 1 Jonah Brüchert 2022-11-15 16:52:48 UTC
Git commit d66374936f00354ce3edf246ef616a4be622e062 by Jonah Brüchert.
Committed on 15/11/2022 at 16:52.
Pushed by jbbgameich into branch 'master'.

angelfish-webapp: Decrease minimum width and height

M  +2    -2    angelfish-webapp/contents/ui/webapp.qml

https://invent.kde.org/plasma-mobile/angelfish/commit/d66374936f00354ce3edf246ef616a4be622e062
Comment 2 Pixie 2023-07-18 08:12:52 UTC
Now that I finally have a new enough version, I can confirm that this has been fixed. Whether this particular commit did it I don't know, but at least the webapp doesn't go off the screen (or below the keyboard) in landscape on the Pinephone now, to my scant testing. I'll probably need to battle test this a little bit more to make sure it's shaken out.