AlfredoSequeida / AlfredoSequeida/hints

Hints do not show up: Negative content height -1

Đang mở
#33 2 bình luận 0 reaction 0 người được giao Xem trên GitHub
Ngôn ngữ chính
Python
Star
1.4k
Fork
47
Chỉ số merge pull request
Không có pull request nào được merge trong 30 ngày

Mô tả

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!

Hướng dẫn đóng góp

Chưa lập chỉ mục được hướng dẫn đóng góp cho kho mã nguồn này

Đánh giá

Issue này chưa được đánh giá.

Nhận issue mới trong hộp thư của bạn

Bản tóm tắt ngắn những issue GitHub phù hợp với người mới.