SlimHUD icon indicating copy to clipboard operation
SlimHUD copied to clipboard

The HUDs are too close to the screen's edges

Open dmndrz opened this issue 4 years ago • 16 comments

Hi. Wherever I chose to put the HUDs, it seems they are a little too close to the edges (see screenshot). The worst is on the top, it's almost completely hidden by the menubar.

Capture d’écran 2020-03-23 à 16 20 46

dmndrz avatar Mar 23 '20 15:03 dmndrz

Hi. Does this also happen when you set the bar on the right and left side of the screen?

AlexPerathoner avatar Mar 23 '20 16:03 AlexPerathoner

No, on the left and right sides it doesn't happen. I guess it's the same marging for all 4 sides, but at the top there is the menubar so it's partially hidden. It could be solved by automatically hiding the menubar, but it's not what I (and other people I guess) prefer. That's the same for the bottom, if you don't automatically hide the dock, the HUDs would be hidden by it.

dmndrz avatar Mar 23 '20 17:03 dmndrz

Ok.. and on the bottom I think it's caused by the dock... working with both hidden wasn't good for testing 😅 I am already working on an update, in a couple of hours I should be able to release it.

AlexPerathoner avatar Mar 23 '20 17:03 AlexPerathoner

Haha, yes! We're all used to have our own different workspaces. ☺️ Other than that, it works very well, it's smooth and feels like iOS.

dmndrz avatar Mar 23 '20 17:03 dmndrz

So I have solved half of that issue... now the Bar should be at the right distance on every edge, regardless of the system menu bar, the dock (and eventually which edge the dock is set to appear).

Unfortunately also when using a fullscreen app the bar appears at that same "right" distance. See screenshot:

Schermata 2020-03-23 alle 22 34 17

Still working on that.

AlexPerathoner avatar Mar 23 '20 21:03 AlexPerathoner

I have just released a new version which should fix this issue. Please confirm me if it does.

AlexPerathoner avatar Mar 24 '20 20:03 AlexPerathoner

I confirm you that it's fixed! Good job 😉

dmndrz avatar Mar 25 '20 09:03 dmndrz

for me, the bars are still hidden under the menu bar... here's a gif (i have the latest version: 1.3.7) untitled

omarsonmarz avatar Nov 16 '20 16:11 omarsonmarz

for me, the bars are still hidden under the menu bar... here's a gif (i have the latest version: 1.3.7)

untitled

May I ask you what that screen's resolution is?

AlexPerathoner avatar Nov 16 '20 16:11 AlexPerathoner

Color LCD: 1280 x 800 2nd Display: 1600 x 1200 (this is on the primary color lcd display btw)

omarsonmarz avatar Nov 16 '20 16:11 omarsonmarz

preferences shows what i think it should be, but when i restart the app, this happens (sorry for the slow gif) Untitled2

omarsonmarz avatar Nov 16 '20 16:11 omarsonmarz

You confirm me this issue is always present, even when the app has been running for a while?

AlexPerathoner avatar Nov 20 '20 20:11 AlexPerathoner

You confirm me this issue is always present, even when the app has been running for a while?

sorry for the late reply yes, that is what happens

omarsonmarz avatar Dec 08 '20 17:12 omarsonmarz

I think I finally understood what's going on. SlimHUD gets the main screen's dimensions. It then calculates accordingly the offset the bars should have from the screen border. Finally, it shows the bar, but on the other screen. Please tell me if this sounds reasonable.

Try to set the same resolution for both screens and tell me the issue is still present.

AlexPerathoner avatar Dec 28 '20 18:12 AlexPerathoner

I think I finally understood what's going on. SlimHUD gets the main screen's dimensions. It then calculates accordingly the offset the bars should have from the screen border. Finally, it shows the bar, but on the other screen. Please tell me if this sounds reasonable.

Try to set the same resolution for both screens and tell me the issue is still present.

That makes sense. I set the same resolution and it works now, thank you!

omarsonmarz avatar Jan 04 '21 14:01 omarsonmarz

I think I finally understood what's going on. SlimHUD gets the main screen's dimensions. It then calculates accordingly the offset the bars should have from the screen border. Finally, it shows the bar, but on the other screen. Please tell me if this sounds reasonable. Try to set the same resolution for both screens and tell me the issue is still present.

That makes sense. I set the same resolution and it works now, thank you!

That's not a solution xD However, if I now know what the problem is I can start working on it. In the next days I'll release an update.

AlexPerathoner avatar Jan 05 '21 21:01 AlexPerathoner