Hi,
I'm having problems with windows which open off-screen and are thus inaccessible. Until recently, I ran my laptop with an external monitor in a dual-screen configuration. Now, I'm back to a single screen, but some wine apps appear to be trying to start up elsewhere.
So, I can verify that the program is running using ps and xwininfo:
wtipton 6652 26.5 2.3 2662984 36500 ? Sl 14:04 0:25 /home/wtipton/.wine/drive_c/Program Files/PokerTracker 3/PokerTracker.exe
and
xwininfo: Window id: 0x3600022 "PokerTracker? v3.00 build 2 Database: PokerTra
cker 3 Database"
Absolute upper-left X: -1050
Absolute upper-left Y: 158
Relative upper-left X: -1050
Relative upper-left Y: 158
Width: 804
Height: 585
Depth: 24
Visual Class: TrueColor
Border width: 0
Class: InputOutput
Colormap: 0x2400001 (not installed)
Bit Gravity State: NorthWestGravity
Window Gravity State: NorthWestGravity
Backing Store State: NotUseful
Save Under State: no
Map State: IsUnMapped
Override Redirect State: no
Corners: +-1050+158 -1526+158 -1526-281 +-1050-281
-geometry 804x585+-1050+158
and notice that the window coordinates given by xwininfo are negative.
Warnings given by wine are:
warn:win:create_window_handle error 6 creating window
warn:gdi:GDI_GetObjPtr Invalid handle (nil)
warn:gdi:GDI_GetObjPtr Invalid handle (nil)
warn:gdi:GDI_GetObjPtr Invalid handle (nil)
warn:gdi:GDI_GetObjPtr Invalid handle (nil)
warn:gdi:GDI_GetObjPtr Invalid handle (nil)
etc
After the app starts up, I can move the window onto the screen using wmctrl or xwit, but it seems as though it's too late. The app has already failed, and it's just a frozen window.
Any ideas?
Thanks
windows opening off screen
windows opening off screen
On Mon, May 26, 2008 at 1:10 PM, yaqh <[email protected]> wrote:
in a fresh wine prefix and see if the problem still exists?
Do you still have the second screen configured in xorg? Have you triedHi,
I'm having problems with windows which open off-screen and are thus inaccessible. Until recently, I ran my laptop with an external monitor in a dual-screen configuration. Now, I'm back to a single screen, but some wine apps appear to be trying to start up elsewhere.
So, I can verify that the program is running using ps and xwininfo:
wtipton 6652 26.5 2.3 2662984 36500 ? Sl 14:04 0:25 /home/wtipton/.wine/drive_c/Program Files/PokerTracker 3/PokerTracker.exe
and
xwininfo: Window id: 0x3600022 "PokerTracker? v3.00 build 2 Database: PokerTra
cker 3 Database"
Absolute upper-left X: -1050
Absolute upper-left Y: 158
Relative upper-left X: -1050
Relative upper-left Y: 158
Width: 804
Height: 585
Depth: 24
Visual Class: TrueColor
Border width: 0
Class: InputOutput
Colormap: 0x2400001 (not installed)
Bit Gravity State: NorthWestGravity
Window Gravity State: NorthWestGravity
Backing Store State: NotUseful
Save Under State: no
Map State: IsUnMapped
Override Redirect State: no
Corners: +-1050+158 -1526+158 -1526-281 +-1050-281
-geometry 804x585+-1050+158
and notice that the window coordinates given by xwininfo are negative.
Warnings given by wine are:
warn:win:create_window_handle error 6 creating window
warn:gdi:GDI_GetObjPtr Invalid handle (nil)
warn:gdi:GDI_GetObjPtr Invalid handle (nil)
warn:gdi:GDI_GetObjPtr Invalid handle (nil)
warn:gdi:GDI_GetObjPtr Invalid handle (nil)
warn:gdi:GDI_GetObjPtr Invalid handle (nil)
etc
After the app starts up, I can move the window onto the screen using wmctrl or xwit, but it seems as though it's too late. The app has already failed, and it's just a frozen window.
Any ideas?
Thanks
in a fresh wine prefix and see if the problem still exists?
Thanks for your response.
I've always only had one Screen, Monitor and Device specified in the xorg.conf file. The fglrx driver I use takes the DesktopSetup option to tell it to split a single screen over two monitors.
As far as the fresh wine prefix, do you mean deleting my ~/.wine directory and reinstalling? I haven't tried it, but it doesn't seem like it should come to that. It wouldn't be a good solution for me anyhow since I'd have to reinstall/configure lots of stuff.
But I mean, where is that information stored? How does it remember the location of windows or decide where to put them on startup?
I've always only had one Screen, Monitor and Device specified in the xorg.conf file. The fglrx driver I use takes the DesktopSetup option to tell it to split a single screen over two monitors.
As far as the fresh wine prefix, do you mean deleting my ~/.wine directory and reinstalling? I haven't tried it, but it doesn't seem like it should come to that. It wouldn't be a good solution for me anyhow since I'd have to reinstall/configure lots of stuff.
But I mean, where is that information stored? How does it remember the location of windows or decide where to put them on startup?
I had an issue with one of my apps starting in an odd location and was able to find the coordinates for the window in the registry in the HKLM\Software\appname area.yaqh wrote:Thanks for your response.
I've always only had one Screen, Monitor and Device specified in the xorg.conf file. The fglrx driver I use takes the DesktopSetup option to tell it to split a single screen over two monitors.
As far as the fresh wine prefix, do you mean deleting my ~/.wine directory and reinstalling? I haven't tried it, but it doesn't seem like it should come to that. It wouldn't be a good solution for me anyhow since I'd have to reinstall/configure lots of stuff.
But I mean, where is that information stored? How does it remember the location of windows or decide where to put them on startup?
Yea, I checked there and I've poked around in several other places in the registry that seemed reasonable. No luck, though...Chad wrote: I had an issue with one of my apps starting in an odd location and was able to find the coordinates for the window in the registry in the HKLM\Software\appname area.
Thanks
windows opening off screen
On Tue, May 27, 2008 at 11:59 AM, yaqh <[email protected]> wrote:
$ mv ~/.wine ~/.wine.bak
$ wine setup.exe
Try:Thanks for your response.
I've always only had one Screen, Monitor and Device specified in the xorg.conf file. The fglrx driver I use takes the DesktopSetup option to tell it to split a single screen over two monitors.
As far as the fresh wine prefix, do you mean deleting my ~/.wine directory and reinstalling? I haven't tried it, but it doesn't seem like it should come to that. It wouldn't be a good solution for me anyhow since I'd have to reinstall/configure lots of stuff.
But I mean, where is that information stored? How does it remember the location of windows or decide where to put them on startup?
$ mv ~/.wine ~/.wine.bak
$ wine setup.exe
Re: windows opening off screen
Can I ask where? Did it happen to be a Microsoft Office application? I compiled Visio in Wine on OSX to make my own app "WineVisio", and I have the same issue. It depends on which set of external monitors I last left attached. I've checked the "registry" for any "Visio" entries, but found none. I also checked the WineVisio package contents for any file that looks like it might have a default config stored, but found nothing. Of course, there are lots and lots and lots of files in the package, so most likely I missed it. Just curious where you found your application's config file.Ok, the startup coordinates were saved in one of the application's config files. What a dumb thing for it to do. Changed them and it works fine now.