when autocomplete hints disappear during editing, field defocuses (phantom enter key), in Wayland (not X11)

Bug #1995726 reported by eternyx
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
calibre
Invalid
Undecided
Unassigned

Bug Description

Calibre 6.8 on Arch linux, up to date, running under Wayland + KDE.

I haven't seen this problem in X11, only in Wayland.

Attached is a 10-second video to illustrate the problem, since the description may not be as easy to understand.

In the main library view, when modifying any metadata field for a book, calibre shows autocomplete options as normal. When it runs out of autocomplete options, it not only closes the autocomplete popup, it defocuses the field being edited, as if enter were pressed even though it wasn't. That makes editing metadata very tedious and impractical, requiring multiple edits or cut and paste for any change unless there's some other workaround I'm not aware of.

The video shows tag editing, but it happens for any field. Once the autocomplete hintbox shows up, the only way to avoid the phantom enter is to avoid having the autocomplete hintbox close (for instance, by typing a preexisting tag and then typing a comma immediately, which keeps the autocomplete open showing options for a brand new tag).

Could it be a difference in the PyQT api for Wayland vs X11?

I noticed this problem a few months ago, so I figure I should finally report it.

Revision history for this message
eternyx (runningdoglackey) wrote :
Revision history for this message
Kovid Goyal (kovid) wrote :

calibre has no Wayland specific code in it. If something is not working
in Wayland it will be because either the compositor is broken or Qt's
Wayland backend is broken, or given that this is Wayland, both are
broken. In general I strongly recommend avoiding Wayland, like the
plague that it is.

Changed in calibre:
status: New → Invalid
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.