Cannot click on the button at startup


krop
  • Branch: Preview Branch Version: Linux Pending

With the preview, I cannot click on the button at startup (the "thanks for the heads up!" one).

The game is running in windowed mode, the window is maximized at startup (as usual).

To be able to click on the button, I have to resize the window.


Steps to Reproduce
Launch game on linux, windowed mode, maximized window, try to click on the button.


User Feedback


....

OK, I think I understand: the area to click is below the button.

The clickable area is below the button. On the screenshot attached, the bottom of the area is where the mouse pointer is.

 

Screenshot_20181123_234725.png

Maybe also related: the main screen is offscreen (and fine if I resize the window)

 

 

Screenshot_20181123_235132.png

 

*edit #2*

If I don't resize and maximize the window again, everything is offscreen. prefs attached.

 

 

prefs

Edited by krop

Share this comment


Link to comment
Share on other sites
.... ....

A couple more tests done today:

When starting the game, the prefs file contains this:

    <pref name="Screenmanager Resolution Height" type="int">1080</pref>
    <pref name="Screenmanager Resolution Use Native" type="int">1</pref>

This is the screen height, but not the game window height.

After resizing and maximizing the window again, then quitting ONI, prefs is modified and now contains:

    <pref name="Screenmanager Resolution Height" type="int">1021</pref>
    <pref name="Screenmanager Resolution Use Native" type="int">0</pref>

This is correct, 1080 - (task manager height + window decoration) = 1021.

and after restarting the game, the issue is back.

Screenshot_20190104_112711.png.ade5572d8e70075152068545b7fded58.png

With an absolutely non-scientific method, it's around ~50px too high.

Next test, remove prefs and kplayerprefs.yaml:

After launching the game, switching back to windowed mode and quitting:

    <pref name="Screenmanager Fullscreen mode" type="int">3</pref>
    <pref name="Screenmanager Resolution Height" type="int">1080</pref>
    <pref name="Screenmanager Resolution Use Native" type="int">1</pref>
    <pref name="Screenmanager Resolution Width" type="int">1920</pref>
    <pref name="UnitySelectMonitor" type="int">0</pref>

the issue is back as soon as I restart the game.

A thing I didn't notice before:

When the game starts:

Screenshot_20190104_114112.png.bed6d675521dfc2212382f4d92ab244c.png

After resizing + maximizing:

Screenshot_20190104_114501.png.f7bc73148960c0081668902bcc4a86bc.png

 

 

 

  • Like 1

Share this comment


Link to comment
Share on other sites
.... ....


Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now