Skip to content

[bug] Fullscreen doesn't work with 2 displays when one of them has Windows scale setup  #68

@joao-bolsson

Description

@joao-bolsson

Hi! I'm studying your framework and I'm using two displays in Windows platform. I set the scale of one display up to 125% and left the other one normal (100%). When I externalize a dock to another display (125) and keep the root on the other (100), the fullscreen doesn't fill all the available space.

The following code gives me the right scale, in this case: 1.25.

GraphicsDevice device;
double scale =device.getDisplayMode().getWidth() / device.getDefaultConfiguration().getBounds()

I already tried to just multiply the bounds (w and h) by thatscale, but it didn't work, seems to me that have another code working on that as well, but I'm not pretty sure about it.

I'm working on the class DefaultScreenDockFullscreenStrategy. If you have some idea of what could be, please give a return and I can send the fix.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions