AlfredoSequeida / AlfredoSequeida/hints

Hints do not show up: Negative content height -1

Ouverte
#33 2 commentaires 0 réactions 0 personnes assignées Voir sur GitHub
Langage dominant
Python
Étoiles
1.4k
Forks
47
Métriques de merge des PR
Aucune PR mergée en 30 j

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!

Guide de contribution

Aucun guide de contribution indexé pour ce dépôt

Évaluation

Cette issue n'a pas encore été évaluée.

Recevez les nouvelles issues par e-mail

Un résumé court des issues GitHub adaptées aux débutants.