WerWolv / ImHex

🔍 A Hex Editor for Reverse Engineers, Programmers and people who value their retinas when working at 3 AM.
https://imhex.werwolv.net
GNU General Public License v2.0
43.96k stars 1.92k forks source link

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

Closed mehlian closed 4 months ago

mehlian commented 4 months ago

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

Additional context?

No response

AnalogFeelings commented 4 months ago

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

WerWolv commented 4 months ago

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

mehlian commented 4 months ago

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 commented 4 months ago

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