Auto completion proposal shows black square and crashes.

CxOrg's profile image CxOrg posted 6 months ago in General Permalink

The auto display of table columns fails when typing table alias. A black popup appears and Heidi crashes? This seems to have appeared with the current release. The only work around is to disable in settings.

All other windows work and display correctly.

Heidi 12.6.0.6765 Wine 8.19 Win 10 emulation.

ansgar's profile image ansgar posted 6 months ago Permalink

Can you post the bugreport from the crash dialog here?

CxOrg's profile image CxOrg posted 6 months ago Permalink

Because there is a complete freeze no log is available in Heidi, however by running Heidi from a terminal I can capture the output from the wine session. The output is in the attached heidi.log.

The KiUserCallbackDispatcher seems to be having a problem? Is this something you control or is wine failing to manage a callback?

1 attachment(s):
ansgar's profile image ansgar posted 6 months ago Permalink

I think EnableNonClientDpiScaling (the one right before that) could be worth a look. Do you run HeidiSQL with a high DPI setting? Does Wine even support high DPI? If yes I recommend to turn it off.

CxOrg's profile image CxOrg posted 6 months ago Permalink

Yes, I thought it may be to do with graphic rendering. I checked my second system, which was not up-to-date. Updating Heidi to the latest, all is well with the pop-up working. The Wine version is close at v8.18. Letting the desktop system update which applies a major update to KDE Plasma breaks it.

I think you can mark this issue as resolved, though the pop-up itself must make a unique call to the system to display. Are there specific parameters passed which are not handled and result in the blank pop-up? I can work with this feature turned off for now. Heidi remains my preferred DB tool for MySQL work!

CxOrg's profile image CxOrg posted 6 months ago Permalink

I have spent a little more time to find a fix. I found that by simply rolling back wine to v8.16-1 the context pop-up works again and the set screen dpi can be set to 120dpi which suits my 1920x1080 display.

Using downgrade for pacman in Arch Linux (Manjaro) makes this easy. $ sudo DOWNGRADE_FROM_ALA=1 downgrade wine I believe similar downgrade options exist for apt-get in Ubuntu.

A future version of wine may well fix this graphic handling bug. This issue can be marked as resolved.

ansgar's profile image ansgar posted 5 months ago Permalink

Thanks for diving deeper and providing a solution!

CxOrg's profile image CxOrg posted 2 months ago Permalink

Since the loss of functionality after Wine v8.16 I have tried newer versions from time to time. I tried the latest today and to my surprise, Wine v9.2 seems to work like a charm! In Heidi SQL edit, the column suggestions pop-up as expected and allow selection of a column, I have also had issues with the context menus in the grid edit. This also works well.

I suggest other Linux/Wine users try this version 9.2 though it may take a while to be available to all distros. Wine v9.2 seems to be not quite yet in the stable stream as v9.1 is the current install.

Heidi v12.6.0.6765

Please login to leave a reply, or register at first.