The i3 FAQ has migrated to https://github.com/i3/i3/discussions. All content here is read-only.
Ask Your Question
3

How to fix some wine application issues when hotplugging monitors?

asked 2012-07-04 16:43:36 +0000

lkraav gravatar image

updated 2012-07-04 16:44:39 +0000

I encountered the same issues with Awesome WM so I'm pretty sure now it's something to do with how Wine works things. Perhaps you can give me some initial pointers.

Issues below are not limited to just my sample application, KeePass 2. Picasa also behaves similarly so I'm pretty sure this is a wine-wide issue.

How to reproduce

  1. Start with single monitor
  2. Install Windows version of KeePass 2 in wine
  3. Run KeePass, minimize into system tray (all is fine for now)
  4. plug in another monitor, do something like > xrandr --output LVDS1 --auto --output HDMI1 --auto --above LVDS1 --primary

Observe "Wine System Tray" becoming an unpainted ghost window into window manager control and the KeePass system tray icon disappearing with no way to return it.

Observe there is no way to maximize the Wine app window on the bigger monitor.

Observe various broken drawing behavior when you send the workspace from one output to another.

Any clues about how to attack this?

edit retag flag offensive close merge delete

Comments

First of all, make sure you have for_window [class="Wine"] floating enable. This improves many window painting issues. It doesn't solve them, but improves.

lkraav gravatar imagelkraav ( 2012-07-10 12:06:44 +0000 )edit

1 answer

Sort by ยป oldest newest most voted
2

answered 2012-08-02 07:30:17 +0000

lkraav gravatar image

Dropping "xinerama" from wine-1.4.1 USE flags has improved the situation greatly. Wine windows like Picasa and KeePass now safely stay within in their tiled containers even across xrandr layout changes.

edit flag offensive delete link more

Question Tools

Stats

Asked: 2012-07-04 16:43:36 +0000

Seen: 653 times

Last updated: Aug 02 '12

Related questions