AlfredoSequeida / AlfredoSequeida/hints

Hints do not show up: Negative content height -1

Open
#33 2 comments 0 reactions 0 assignees View on GitHub
Dominant language
Python
Stars
1.4k
Forks
47
PR merge metrics
No merged PRs in 30d

Description

Hi,

nice project and I would like to have it in my setup after using qutebrowser for a while now.

I encountered the following error:
`(hints:42556): Gtk-WARNING **: 14:33:06.311: Negative content height -1 (allocation 1, extents 1x1) while allocating gadget (node border, owner GtkFrame)`

I used the following command and changed my focus to the file browser:

`sleep 3; hints`

Both the terminal and file browser freeze and the mouse cursor is only shown at the borders of the filebrowser and the top bar no longer inside the window. No hint indicators show up.

![Image](https://github.com/user-attachments/assets/b1746f35-6667-462a-b144-3b99fdb50161)

Finally after some time I get the terminal to end the process and it shows some more errors:
`(hints:42556): dbind-WARNING **: 14:36:35.330: AT-SPI: Error in GetItems, sender=:1.12, error=No such object path '/org/a11y/atspi/cache'
Traceback (most recent call last):
File "/home/admin0824/.local/bin/hints", line 8, in
sys.exit(main())
^^^^^^
File "/home/admin0824/.local/share/pipx/venvs/hints/lib/python3.12/site-packages/hints/hints.py", line 333, in main
hint_mode(config, window_system)
File "/home/admin0824/.local/share/pipx/venvs/hints/lib/python3.12/site-packages/hints/hints.py", line 204, in hint_mode
mouse_action["x"] + mouse_x_offset,
~~~~~~~~~~~~^^^^^
KeyError: 'x'`

I am running Hyprland on a Ubuntu installation.
ydotool seems tp be functional:
`sudo ydotool mousemove --delay 1000 50 50`

Any help is deeply appreciated!

Contributor guide

No contributing guide indexed for this repository

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.