0
Searching answer

drop shadow setting ignored

Tim 5 years ago updated by Ionuț Botizan 5 years ago 1

I disabled the "Show shadows under windows" setting in Windows 10 Performance Options, Visual Effects.

When I set a preset WINDOW to 1024 x 768 the windows size is actually 1010 x 761.

Why does Chrome still resize as if there is a drop shadow, according to other answers on this topic?   Is this a bug?

Answer

Answer
Searching answer

Hi Tim,

First of all, I apologize for the late response.

Unfortunately, that is a known issue with Chrome on Windows (and other Windows apps). Apparently, even if you disable the drop shadows, some Windows functions still report the windows' size as if the shadows are there. After a quick search I found this answer to a Stack Overflow question which talks about something I believe might be related to Chrome's issue:
https://stackoverflow.com/a/32645155/867743

Another Windows app which I personally noticed suffers from the same problem is Monosnap (https://monosnap.com/), a screen capturing utility which has the option to take a screenshot of a single window...

I was thinking about hard-coding the drop shadow size into the preset dimensions on windows, but I never got the chance to do it (and do it right, with a option for the users to be able to disable that or maybe even customize it to match custom windows themes that might have a different shadow size). Hope I'll get the chance to do it sooner rather than later...

Best Regards

Ionuț

Answer
Searching answer

Hi Tim,

First of all, I apologize for the late response.

Unfortunately, that is a known issue with Chrome on Windows (and other Windows apps). Apparently, even if you disable the drop shadows, some Windows functions still report the windows' size as if the shadows are there. After a quick search I found this answer to a Stack Overflow question which talks about something I believe might be related to Chrome's issue:
https://stackoverflow.com/a/32645155/867743

Another Windows app which I personally noticed suffers from the same problem is Monosnap (https://monosnap.com/), a screen capturing utility which has the option to take a screenshot of a single window...

I was thinking about hard-coding the drop shadow size into the preset dimensions on windows, but I never got the chance to do it (and do it right, with a option for the users to be able to disable that or maybe even customize it to match custom windows themes that might have a different shadow size). Hope I'll get the chance to do it sooner rather than later...

Best Regards

Ionuț