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

[Feature] Add blue frame around the ImHex window to make it easier to resize the window on dark backgrounds #1678

Closed
1 task
mehlian opened this issue May 15, 2024 · 4 comments

Comments

@mehlian
Copy link

mehlian commented May 15, 2024

What feature would you like to see?

I would like to see some frame around ImHex window in window mode so that it would be easier to grab window's edge with mouse pointer to resize window.
image

How will this feature be useful to you and others?

It would be easier to resize window.

Request Type

  • I can provide a PoC for this feature or am willing to work on it myself and submit a PR

Additional context?

No response

@AnalogFeelings
Copy link
Contributor

Wouldn't this be up to the OS to implement?

@WerWolv
Copy link
Owner

WerWolv commented May 20, 2024

Yeah I also think this is the job of the Window manager. On Windows 11 for example it adds a thin border around the whole window in a color you can choose. Same thing happens on macOS as well.
Linux is inconsistent as always, I know some window managers add them and others don't, however this should be mostly adjustable with themes there.
I guess it might not be happening on Windows 10 by default? Although I think it can also be adjusted with themes there

Windows 11

Windows

macOS

macOS

@WerWolv WerWolv closed this as completed May 20, 2024
@mehlian
Copy link
Author

mehlian commented May 20, 2024

OS: Windows 10.

ImHex version 1.7.0
window in focus:
image
window out of focus:
image

ImHex version 1.33.0
window in focus:
image
window out of focus:
image

It looks like new version of ImHex is using custom window to draw its content.

@WerWolv
Copy link
Owner

WerWolv commented May 20, 2024

Hm I guess that's an inconsistency on Windows 10's part then. The shadow is being drawn so I handle it correctly on my side.

You can still go back to the native window frame fwiw, there's a setting you can enable

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

3 participants