AnKing-VIP / anki-field-autocomplete

MIT License
5 stars 3 forks source link

Interface elements often do not show up #14

Open arkhandir opened 1 year ago

arkhandir commented 1 year ago

Problem description

Checklist

What Anki version are you using?

2.1.60 (Qt5) on macOS Monterey (12.6.3)

Error message (if any)

wwguo commented 1 year ago

Same problem here. I get error messages:

JS error /_anki/js/browser_editor.js:108 Uncaught (in promise) TypeError: Cannot read properties of undefined (reading 'length') 
JS error /_anki/js/browser_editor.js:139 Uncaught TypeError: Cannot read properties of undefined (reading 'replace')

Linux System

Running with temporary Qt5 compatibility shims.
Run with DISABLE_QT5_COMPAT=1 to confirm compatibility with Qt6.
Anki 2.1.65
arkhandir commented 1 year ago

The issue persists in Anki 2.1.66.

AnKingMed commented 10 months ago

Does this persist in 23.10+? We haven't been recommending 2.1.65-66 because of errors so I've been focusing on 64 and 23.10+

arkhandir commented 10 months ago

Thanks for the follow-up.

This issue persists in

Version ⁨23.12.1 (1a1d4d54)⁩ Python 3.9.15 Qt 6.5.3 PyQt 6.5.3

When I place the cursor in a field for which autocomplete is activated, a narrow white bar without text appears below this field. When I scroll through this narrow bar with the touchpad, I see suggestions that are barely legible. When I click, a text is added to the field. When I scroll the whole window to the top, the suggestions appear. Bildschirmfoto 2024-01-01 at 23 25 13

AnKingMed commented 10 months ago

@RisingOrange any idea why this happens?