Skip to content

"Add HighDPI support for Wayland" breaks fullscreen #329

Open
@andreadaoud

Description

@andreadaoud

d88c3c5

Hello @vially ,

In my use case, my app is put into a kiosk weston compositor to be launched in fullscreen mode, and with scale factor is overrode (./app --bundle=. --fullscreen --force-scale-factor=1.3). My intention of the scale factor is only to scale UI elements. The screen size is 800x480. However, when this patch is applied, the screen is scaled to bigger than normal screen size. From the log, you can see that it is actually 1040x624, so some portion of the UI is displayed outside of the screen. When I revert this patch, all things works normally. Could you please propose a fix for my use case? I'm willing to test your solution.

# ./app --bundle=. --fullscreen --force-scale-factor=1.3
[TRACE][operator()(171)] presentation info: clk_id = 1
[INFO][operator()(606)] Display scale for output(8): 1
[INFO][operator()(573)] Display output info: width = 800, height = 480, refresh = 62413
[TRACE][CreateRenderSurface(1149)] Created the Wayland surface: 1040x624
[TRACE][operator()(143)] window entered output 8

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't workingwaylandTopics of Wayland

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions