Coder Social home page Coder Social logo

Comments (9)

zjeffer avatar zjeffer commented on August 18, 2024 1

I don't know if it's necessarily related to hyprcursor, though: the issue also happens when not setting a hyprcursor theme.

Either way, I'l try that rose-pine cursor theme and see what happens.

from hyprland.

zjeffer avatar zjeffer commented on August 18, 2024 1

I'm stupid

My hyprland config contains this line: exec-once = hyprctl setcursor capitaine-cursors-light 24, as well as the HYPRCURSOR_THEME=rose-pine-hyprcursor env var...

Thanks for the help!

from hyprland.

zjeffer avatar zjeffer commented on August 18, 2024

Hmm, looks like the same behaviour is present when not using hyprcursor.
I think it started happening since the aquamarine merge (because around then I also started using hyprcursor). I looked around the existing issues and see some similar ones (like the mouse cursor not being visible, or being very tiny), but I'm not sure it's the same issue.

from hyprland.

Kam1k4dze avatar Kam1k4dze commented on August 18, 2024

Having the same cursor issues today with fresh default Hyprland-git.
System: Arch with Nvidia-555.58.02-9

from hyprland.

nktnet1 avatar nktnet1 commented on August 18, 2024

Related to #6983.

I had the same issue (cursor retaining shape when moving off window), in addition to having a small cursor on wallpaper/kitty terminal.

Documented the workaround for it here:

which fixes both tiny cursor and wrong cursor shape.

The gist is to use a cursor theme that has both xcursor and hyprcursor variants, e.g. rose-pine. You should also ensure that your cursor theme follow the specifications - I tried converting Adwaita theme using hyprcursor-util, but some icons, e.g. top-left resize was missing or lead to cursor mismatch. Potentially related to this issue here:

from hyprland.

nktnet1 avatar nktnet1 commented on August 18, 2024

Yeah - have been trying to figure this out myself (was a regression from wlroots-hyprland -> aquamarine).
What I posted is only a workaround.

Another potential cause could be the comment by terminal-enlightenment:

The integer you used may be your problem - the sizes available vary by cursor theme. Standard sizes are 24, 32, 48, 64.

Try those first and if you're still having trouble there are a few other things you can try.

regarding the use of nwg-look to set Xcursor size.

from hyprland.

zjeffer avatar zjeffer commented on August 18, 2024

After installing and activating rose-pine-cursor and rose-pine-hyprcursor, and restarting Hyprland, I notice that no matter what I set my xcursor & hyprcursor theme to, my resize cursor always stays the same theme (and the bug persists).

It seems to use my capitaine-cursors-white theme when I hover over my desktop, and when I resize:

2024-07-28.14-51-04.mp4

I set my cursor to rose-pine using:

  • nwg-look
  • lxappearance
  • HYPRCURSOR_THEME=rose-pine-hyprcursor and HYPRCURSOR_SIZE=28

And still my capitaine-cursors theme is being used when hovering over the desktop 🤔

from hyprland.

zjeffer avatar zjeffer commented on August 18, 2024

Found something: when I set the cursor with hyprctl setcursor rose-pine-hyprcursor 24, it works! It changes my cursor everywhere and the bug disappears.

So why doesn't HYPRCURSOR_THEME work? (tried it in my config with size 24 as well, no difference)

from hyprland.

nktnet1 avatar nktnet1 commented on August 18, 2024

Do you have something similar to this in your ~/.config/hypr/hyprland.conf:

env = HYPRCURSOR_THEME,rose-pine-hyprcursor
env = XCURSOR_SIZE,28
env = HYPRCURSOR_SIZE,28
env = QT_CURSOR_SIZE,28

Also, on a fresh start (without the hyprctl setcursor command), when you view the logs with the command:

grep 'cursor' "$XDG_RUNTIME_DIR/hypr/$(ls -t $XDG_RUNTIME_DIR/hypr | head -n 1)/hyprland.log" | head

Do you see rose-pine being loaded?

For example, it should look similar to this:

[14:09:04.548621332] [hc] CHyprcursorManager: attempting to find theme from env
[14:09:04.548795888] [hc] getFullPathForThemeName: found /usr/share/icons/rose-pine-hyprcursor
[14:09:04.548806885] [hc] Found theme rose-pine-hyprcursor at /usr/share/icons/rose-pine-hyprcursor

from hyprland.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.