AlfredoSequeida / AlfredoSequeida/hints

Hints do not show up: Negative content height -1

未关闭
#33 2 条评论 0 个 reaction 已指派 0 人 在 GitHub 查看
主要语言
Python
星标
1.4k
派生
47
PR 合并指标
30 天内没有已合并 PR

描述

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!

贡献指南

这个仓库没有索引到贡献指南

评估

这个 Issue 还没有评估数据。

把新 issue 发到你的邮箱

精选适合新手参与的 GitHub issue 摘要。