Skip to content

Broken borderless handling #523

@lhog

Description

@lhog

Whenever spring is launched with chobby first I get this look of the borderless window:

image

Basically chobby does something that pushes top edge down by 23 px and reduce height of the window by -63 px respectively.

My springsettings.cfg ends up being like that.

WindowBorderless = 1
WindowPosX = 0
WindowPosY = 23
WindowState = 1
XResolutionWindowed = 2560
YResolutionWindowed = 1017

In practical sense it seems to do something to not hide window menu and start/programs panel.

Offending widget seems to be this one:
https://github.com/Spring-Chobby/Chobby/blob/master/LuaMenu/widgets/gui_settings_window.lua

It's written in an obscure way, like the author was trying to work around some undesired engine or system behavior. If so it should rather be fixed engine side properly.

P.S. Setting borderless from the chobby graphics menu doesn't reproduce this issue. It only happens when chobby is launched first time from the launcher or manually.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions