shell icon indicating copy to clipboard operation
shell copied to clipboard

[BUG] OSD/Utility bar does not activate if cursor is on the very edge of screen

Open ssareta opened this issue 1 year ago • 4 comments

Step 1. Before you submit

  • [x] I have read the above instructions and am sure that this is supposed to be posted here.
  • [x] I've successfully updated to the latest versions following the updating guide.
  • [x] I've successfully updated the system packages to the latest.
  • [ ] I've ticked the checkboxes without reading their contents

Step 2. Version info

Version info
❯ caelestia -v
Packages:
    caelestia-shell not installed
    caelestia-meta not installed
    caelestia-cli-git 1.0.1.r10.g7fc5bcc-1

Caelestia:
    Last commit: 1c485b7068e5323d7074350bfb091d323bbddac1
    Commit message: readme: update install section for new opt 

Shell:
     caelestia-shell 1.3.0, revision 45f1312cdf18f8d0834fedfe66f40bb471047660, distrubuted by: Unset

Quickshell:
    quickshell 0.2.0, revision 49646e4407fce5925920b178872ddd9f8e495218, distributed by: AUR (package: quickshell-git)

Local copy of shell found:
    Unable to determine last merged upstream commit.

    Last commit: 45f1312cdf18f8d0834fedfe66f40bb471047660
    Commit message: lock: different error messages  To separate between fprint and passwd errors 

Step 3. Describe the issue

This actually regressed a loooong time ago (but used to work ok!), I was just too lazy to file an issue until now. But at some point, the OSD (and now the new utilities popup panel) started to only activate when the cursor is just inside the screen bounds, but as soon as the cursor goes inside the edge (altho the edge of the cursor is still visible), the OSD/utilbar vanish :(

Curiously, this doesn't happen with the dashboard up top. I'm guessing it's because for the top edge, the cursor can't "go into" the edge of the screen, so the detection still works? idk just spitballing, here's a video

https://github.com/user-attachments/assets/b39b4696-bab8-4fee-bd13-b8d5a7ff0b81

Reminder

  • [x] I agree that it's usually impossible for others to help me without my logs.

ssareta avatar Sep 22 '25 10:09 ssareta

add cursor:hotspot_padding = 1 to your hyprland.conf

endotrizine avatar Sep 22 '25 10:09 endotrizine

add cursor:hotspot_padding = 1 to your hyprland.conf

wow, that worked, thank you!!!

ssareta avatar Sep 22 '25 11:09 ssareta

This is actually a hyprland bug (or maybe not a bug), apparently they changed the default for the option to 0 a while ago (the wiki still says it's 1 though)

soramanew avatar Sep 22 '25 14:09 soramanew

Looks like it was indeed a bug, and is supposed to be fixed properly now without needing padding! https://github.com/hyprwm/Hyprland/pull/11890

ssareta avatar Oct 02 '25 05:10 ssareta