DonationCoder.com forum
 
Read-only archive. This is a static copy of the DonationCoder.com forum. Reading and searching work as before; logging in, posting and private messages do not.
Archive of 2026-10-21 · About this archive · Main site

Author Topic: Wine, Multiple Displays, and Black Edges/Borders/Bars...  (Read 4,452 times)

ewemoa

  • Honorary Member
  • Joined in 2008
  • **
  • Posts: 2,922
    • Plugin Coding Medal
    • Participated in NANY Challenge Three Times
Testing out Wine here and encountered a "visual" problem.

When I have multiple displays enabled, starting up applications via Wine can result in black edges/borders/bars (along the bottom and/or right side of an application's window (at least on the larger display):

two-black-edges.png

Actually, where the black areas appear seems to match what would be the edges of the smaller display if its top-left corner were aligned with the top-left corner of the larger display.

Some work-arounds seem to be:

  • Disabling displays so that only one is active
  • Enable "Emulate a virtual desktop" via winecfg
  • Launch an application in a virtual desktop (e.g. wine explorer /desktop=atitle,1920x1080 path-to-program.exe)

(The last two are mentioned in the WineHQ FAQ: "How do I get Wine to launch an application in a virtual desktop?")

Anyone encountered this and come up with a better fix?
« Last Edit: April 15, 2013, 06:38 AM by ewemoa »

ewemoa

  • Honorary Member
  • Joined in 2008
  • **
  • Posts: 2,922
    • Plugin Coding Medal
    • Participated in NANY Challenge Three Times
Re: Wine, Multiple Displays, and Black Edges/Borders/Bars...
« Reply #1 on: May 15, 2013, 08:02 AM »
On a related note, came across a handy alternative invocation:

Quote
wine explorer /desktop=root path-to-program.exe

via:

  http://www.winehq.org/pipermail/wine-devel/2010-July/084921.html

Original address: https://www.donationcoder.com/forum/index.php?topic=34654.0