Skip to content

Allow creation of large window that can exceed the monitor size #3389

@EvinceMoi

Description

@EvinceMoi

Is your feature request related to a problem? Please describe.
When I set initial_window_size in eframe::NativeOptions with large value (bigger than the logical size of the monitor), the size is chop by largest_monitor_point_size, this blocks some cases like displaying a workspace screenshot on multiple monitors, like #3185, or display high resolution pic/videos in actical size. I'm curious about the reason behind it.

Describe the solution you'd like
maybe add a option like unbounded_size: bool the disable the max window restriction?

Describe alternatives you've considered
N/A

Additional context
An simple example(all values are logical)

monitor x y width height mode
m1 0 0 1080 1920 portrait
m2 1080 840 1920 1080 landscape

with this setup, a window across all screen should have the size of 3000x1920. Setting initial_window_size to 3000x1920 , initial_window_pos to 0, 0, a window at 0, 0 with size 1920x1080 wat created in my case.

Metadata

Metadata

Assignees

No one assigned

    Labels

    eframeRelates to epi and eframe

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions