HeidiSQL / HeidiSQL

A lightweight client for managing MariaDB, MySQL, SQL Server, PostgreSQL, SQLite, Interbase and Firebird, written in Delphi
https://www.heidisql.com/
GNU General Public License v2.0
4.81k stars 458 forks source link

Weird extra window in tiling window manager (wine) #535

Open exic opened 5 years ago

exic commented 5 years ago

Steps to reproduce this issue

  1. Install HeidiSQL on Wine.
  2. Install tiling window manager like i3 or AwesomeWM.
  3. Open Heidi, start a session.
  4. Then I get the "normal" HeidiSQL window + an extra weird Window (on i3) or 1x1 Pixel Window (on AwesomeWM when I last checked) which has _NET_WM_STATE_SKIP_TASKBAR, is floating and has no Window title.

Current behavior

The extra window always gets in the way. If I move HeidiSQL to another output (monitor) and accidentally move the mouse over the extra window, it moves the mouse to the HeidiSQL window.

xprop output for HeidiSQL: xprop.good.txt xprop output for the weird window: xprop.weird.txt

Expected behavior

No extra window. :-)

Possible solution

Maybe you know where the window gets created and can fix it. Maybe wine can fix it, probably my window manager won't fix it: https://github.com/i3/i3/issues/3308 (extra information + screenshot there)

Environment

Thanks! :-)

ansgarbecker commented 5 years ago

That window is probably created by Wine due to HeidiSQL's application property "MainFormOnTaskBar", while there was a good reason why I activated this, so this issue may not be fixable. It's also more an issue in the Wine system then in Heidi I suppose.

infabo commented 5 years ago

This extra window annoys me since I started using i3 a few months ago. Any solution or workaround to this?

ansgarbecker commented 5 years ago

Many other Wine users don't seem to experience this issue. So I would recommend trying another Wine version, probably also a beta if there is one.

exic commented 5 years ago

It's rather the combination of wine + tiled window manager (which is why other wine users don't experience it), I suspect it'll be the same in all wine versions. Probably non-tiling window managers just don't display this window at all (or you won't notice because of the _NET_WM_STATE_SKIP_TASKBAR).

infabo commented 5 years ago

I have tried it with many wine versions. I'm running another Windows software called "TimeREC" with Wine 2.22 where I experience the same issue. HeidiSQL is running with Wine 4.2. So yes, seems like the Wine version does not matter.