RectanglePro-Community icon indicating copy to clipboard operation
RectanglePro-Community copied to clipboard

screenEdgeGapTopNotch Doesn't Work

Open ochowie opened this issue 1 year ago • 4 comments

I am having an issue where the screenEdgeGapTopNotch doesn't work. It's either not recognizing the setting or not treating my laptop screen as having a notch. I just checked and confirmed that the settings are 32 for screenEdgeGapTop and 0 for screenEdgeGapTopNotch. It leaves an extra gap between my top bar replacement and the windows. However, when I set screenEdgeGapTop to 0 it works correctly for my laptop screen but obviously covers the top-bar replacement with an external monitor.

ochowie avatar Sep 04 '25 14:09 ochowie

Setting screenEdgeGapTopNotch to 0 is telling Rectangle/Pro to not do anything special regarding the notch, and will fall back on the screenEdgeGapTop setting. Giving it a value > 0 will increase the gap accordingly between the window and the top edge of the screen with the notch. Perhaps this is a misunderstanding of that behavior?

rxhanson avatar Sep 05 '25 03:09 rxhanson

So is there a mechanism to have a gap on an external monitor and no gap on a laptop screen?

ochowie avatar Sep 05 '25 03:09 ochowie

You can set screenEdgeGapTopNotch to a small negative number, like -0.0000001. Negative values will attempt to extend beyond the notch, but that doesn't work for the vast majority of windows, and it would be rounded down to zero anyway.

This is unintuitive and when I make tangential changes to this then I'll update it with a straightforward way to achieve this.

rxhanson avatar Sep 05 '25 04:09 rxhanson

This seems to work, thanks for the help! If you need anything for me on a formal feature request please let me know.

On Fri, Sep 5, 2025 at 12:08 AM Ryan Hanson @.***> wrote:

rxhanson left a comment (rxhanson/RectanglePro-Community#774) https://github.com/rxhanson/RectanglePro-Community/issues/774#issuecomment-3257003386

Well, actually there is a way, and it's to set screenEdgeGapTopNotch to a small negative number, like -0.0000001. Negative values will attempt to extend beyond the notch, but that doesn't work for the vast majority of windows, and it would be rounded down to zero anyway.

— Reply to this email directly, view it on GitHub https://github.com/rxhanson/RectanglePro-Community/issues/774#issuecomment-3257003386, or unsubscribe https://github.com/notifications/unsubscribe-auth/ABCCN3KZNHQSPK6LERRJE3T3REEFVAVCNFSM6AAAAACFUCYEWGVHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMZTENJXGAYDGMZYGY . You are receiving this because you authored the thread.Message ID: @.***>

ochowie avatar Sep 08 '25 15:09 ochowie