Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[Bug] GUI is messed up #1625

Open
1 task
Unknown78 opened this issue Apr 1, 2024 · 7 comments
Open
1 task

[Bug] GUI is messed up #1625

Unknown78 opened this issue Apr 1, 2024 · 7 comments
Labels
bug Something isn't working

Comments

@Unknown78
Copy link

Unknown78 commented Apr 1, 2024

Operating System

Windows

What's the issue you encountered?

Screenshot 2024-04-01 163157

The GUI elements appears to be misaligned.
However, the mechanics such as click or drag is in the original correct position.
So for example, if I want to click the exit button, then I need to hover it to the top right corner instead of the rendered one.

How can the issue be reproduced?

Just run imhex-gui.exe

ImHex Version

1.33.2

ImHex Build Type

  • Nightly or built from sources

Installation type

imhex-1.33.2-Windows-Portable-x86_64.zip

Additional context?

image
image

Pay attention that with the unofficial drivers, it supports 100% up to OpenGL 3.1 instead of the default Microsoft GDI Generic renderer that is OpenGL 1.1.

@Unknown78 Unknown78 added the bug Something isn't working label Apr 1, 2024
@Unknown78
Copy link
Author

Do you have any other solution other than the one in #442 ?

@Unknown78
Copy link
Author

Unknown78 commented Apr 1, 2024

UPDATE

Even better solutions if this is your first portable installation/extraction

  1. Run imhex-gui.exe, then Close Window or End Task of it from the Taskbar.
  2. Go to the config directory and open settings.json
  3. Find "hex.builtin.setting.interface.native_window_decorations" and change the false to true
  4. Run imhex-gui.exe again.
  5. Enjoy.

ImHex needs to be launched for the first time in order for it to create the settings.json file that we can edit.


I've just found the workaround.
It's rather annoying to find it, but hey it's working.

Extras > Settings > Interface > Window > Check Use OS Window Decorations
And then restart the program.
You don't need to click the exit button x and then click Yes to restart it within the program, just End Task within the Taskbar and then run it again shall suffice.

Screenshot 2024-04-01 165238

@Unknown78
Copy link
Author

Will there be any negative impact if Use OS Window decorations is enabled?

@csBlueChip
Copy link

I can verify that Extras > Settings > Interface > Window > Check Use OS Window Decorations > Restart the program from the task bar solves the issue. Should probably make this default.

NB. When clicking the above options, ignore your mouse pointer, and watch for options to highlight when you are "near" the option.

@WerWolv
Copy link
Owner

WerWolv commented Apr 16, 2024

It used to be auto disabled on Intel GPUs because it's exclusively an issue with their driver. I rather improve the detection than just having it turned off by default because it works without issues in almost all cases.

@Unknown78
Copy link
Author

Unknown78 commented Apr 17, 2024

@WerWolv By auto disabled, do you mean that by default the value of native_window_decorations was true or false?

@kiraio-moe
Copy link

kiraio-moe commented May 16, 2024

Thanks @Unknown78, it does the job 👍

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

4 participants