WineHQ
Bug Tracking Database – Bug 13066

 Bugzilla

 

Last modified: 2012-09-14 13:37:14 UTC  

Moving child window hangs X with flashing cursor

Bug 13066 - Moving child window hangs X with flashing cursor
Moving child window hangs X with flashing cursor
Status: CLOSED FIXED
AppDB: Show Apps affected by this bug
Product: Wine
Classification: Unclassified
Component: -unknown
0.9.61.
x86 Linux
: P2 normal
: ---
Assigned To: Mr. Bugs
: patch
Depends on:
Blocks:
  Show dependency tree
 
Reported: 2008-05-08 09:52 UTC by Rod Schaffter
Modified: 2012-09-14 13:37 UTC (History)
5 users (show)

See Also:
Regression SHA1:
Fixed by SHA1:
Distribution: ---
Staged patchset:


Attachments
Log from winedebug=win,event,x11drv (55.03 KB, application/x-bzip2)
2008-05-20 10:05 UTC, Rod Schaffter
Details
Hack to wait for size/move to finish (1.31 KB, patch)
2008-05-21 04:09 UTC, Alexandre Julliard
Details | Diff
Improved hack (1.59 KB, patch)
2008-05-22 14:09 UTC, Alexandre Julliard
Details | Diff
Console output from Poser with Patched Wine under openSUSE 11.1 RC (11.66 KB, text/plain)
2008-12-03 16:21 UTC, Rod Schaffter
Details
Hack modified for Wine 1.1.11 (1.04 KB, patch)
2008-12-27 19:25 UTC, Rod Schaffter
Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Rod Schaffter 2008-05-08 09:52:41 UTC
Poser 7.0 is a 3D model manipulation and rendering program.  It has a main background window and several child windows, including a 3D viewport using openGL.    

When running on the KDE desktop using the Window Manager, moving the window causes the cursor to flash between the normal pointer and the cross shaped move window icon, and the mouse buttons and keyboard to become unresponsive for between 20 seconds and one hour. Eventually the flashing stops and the window can then be moved.

When run on the desktop without using the window manager or decorations, this problem does not occur.  However, when the 3D window is manipulated, the child windows all disappear behind the main window (bug # 13065)

I'm running openSUSE 10.3 with KDE 3.59 and the nVidia proprietary video drivers.
Comment 1 Rod Schaffter 2008-05-19 12:14:00 UTC
Bug still exists in rc-1.

It usually hangs for a bit over 15 minutes, which is close to 1024 seconds.(I'm not patient enough to time it exactly ;) )
Comment 2 Alexandre Julliard 2008-05-20 09:02:24 UTC
Please attach a WINEDEBUG=win,event,x11drv trace of the problem (no need to let it run for 15 minutes, just kill it once it's hung).
Comment 3 Rod Schaffter 2008-05-20 10:05:34 UTC
Created attachment 13198 [details]
Log from winedebug=win,event,x11drv
Comment 4 Rod Schaffter 2008-05-20 10:12:11 UTC
The run in the attached log file was run under rc1, and consisted of opening the program, moving the mouse to the title bar of the 3d window and clicking on the title bar, at which point the flashing crossed-arrow cursor appeared and the keyboard and mouse buttons were not accepting input. I double-clicked on the background, with no effect, so I killed X with crtl-alt-backspace.

Comment 5 Alexandre Julliard 2008-05-20 10:57:18 UTC
Thanks, it looks like the app is constantly asking for the window to be moved, not sure why. Could you please get a WINEDEBUG=relay,message,event,x11drv trace?
Comment 6 Rod Schaffter 2008-05-20 13:46:34 UTC
Hopefully this is what you wanted-it is about 2.1 GB unpacked!

The log is here:

http://rschaffter.home.comcast.net/~rschaffter/log.txt.bz2

Same scenario as above, except I didn't double-click on the background window before I killed X.
Comment 7 Alexandre Julliard 2008-05-21 04:09:11 UTC
Created attachment 13209 [details]
Hack to wait for size/move to finish

The problem is the app is sending an endless stream of WM_NCLBUTTONDOWN messages as long as the mouse button is pressed. Does this patch help?
Comment 8 Rod Schaffter 2008-05-21 07:50:55 UTC
With the patch applied, the 3D window moved when the title bar was clicked and dragged, and stopped moving when the mouse button was released.  However, the cursor remained the flashing cross arrow cursor and the keyboard and mouse buttons were locked out for approx. 45 minutes, at which point the cursor stopped flashing. At this point moving the mouse would move the window (the pointer was not over the window title bar), but clicking on the background released the window and input was possible again.
Comment 9 Alexandre Julliard 2008-05-22 14:09:44 UTC
Created attachment 13254 [details]
Improved hack

This may work better.
Comment 10 Rod Schaffter 2008-05-22 15:15:19 UTC
It does indeed-it works perfectly! :D

Good Work!!
Comment 11 Rod Schaffter 2008-12-03 16:16:08 UTC
I just discovered that the patch is apparently specific to the development environment of openSUSE 10.3-I tried recompiling the patched Wine 1.0 under the openSUSE 11.1 Release Candidate, and the resulting binary crashes.  However, he  binary compiled under openSUSE 10.3 runs fine, as does an unpatched binary compiled under 11.1.
Comment 12 Rod Schaffter 2008-12-03 16:21:04 UTC
Created attachment 17627 [details]
Console output from Poser with Patched Wine under openSUSE 11.1 RC

Here is the console output from running Poser under Wine 1.0 patched per this bug and compiled under openSUSE 11.1 Release Candidate.
Comment 13 Rod Schaffter 2008-12-27 19:25:07 UTC
Created attachment 18261 [details]
Hack modified for Wine 1.1.11

I didn't figure out why the patched Wine 1.0 would crash Poser when compiled on openSUSE 11.1.  

However, looking at the patch,  I noticed that the  /dlls/winex11.drv/keyboard.c of Wine 1.1.11 incorporates that part of the successful patch, so I clipped it out of the diff, leaving the patch to /dlls/winex11.drv/window.c intact. 

Patched 1.1.11, compiled and Poser runs fine!
Comment 14 Rod Schaffter 2009-01-31 12:03:44 UTC
The issue still exists in Wine 1.1.12, 1.1.13, and 1.1.14.  The modified hack continues to work.
Comment 15 Rod Schaffter 2009-05-11 12:20:56 UTC
The issue still exists in Wine 1.1.15-1.1.21.  The modified hack works in 1.1.21. (I hadn't tried the intermediate versions)
Comment 16 Rod Schaffter 2009-07-22 13:22:00 UTC
The issue still exists in Wine 1.1.22-1.1.26.  The modified hack continues to work.

Somewhere along the line ctrl-alt-esc started working for the unpatched Wine when it hung.  It usually takes at least three presses to get a functioning Jolly Roger cursor, and then it can be killed.  Unfortunately there's no option to save one's work... ;)
Comment 17 Mike Waters 2009-07-25 12:44:10 UTC
Poser seems prone to several display problems under X Windows. I find that moving the Nvidia display settings to "fastest" helps with many issues, but does not remove them.

I have run Poser under OpenSUSE 10.3, Ubuntu 8.10, and Ubuntu 9.10 with little difference between hosts. I keep up with the latest Wine development version - currently 1.1.26

It appears that if you simply click on the window, move it, then click again it will work - MOST of the time!

Sequencing of the display windows on the screen seems arbitrary with message windows often ending up hidden beneath other windows. This occurs on Windows installs a swell, but this problem is clearly much more prevalent under Wine.

There are also problems in that many of Poser's internal names (e.g. object names) are case insensitive and thus are inconsistent when invoked from different places. This is mostly a library issue, but can affect internal process calls as well.
Comment 18 Austin English 2010-05-19 16:45:23 UTC
This is your friendly reminder that there has been no bug activity for 6
months. Is this still an issue in current (1.1.44 or newer) wine?
Comment 19 Rod Schaffter 2010-05-19 18:18:07 UTC
The bug still exists in Wine 1.1.44.

I haven't tried the hack with anything past 1.1.26...
Comment 20 joaopa 2011-07-18 04:05:07 UTC
Still a bug in current wine?
Comment 21 Bruno Jesus 2012-09-11 08:24:04 UTC
Over 1 year since last reminder, no download, resolving abandoned.
Comment 22 Alexandre Julliard 2012-09-11 08:34:25 UTC
Actually a variant of that hack is in the tree now, so it's probably fixed.
Comment 23 Rod Schaffter 2012-09-12 09:34:53 UTC
I had moved my 3D work to a Windows machine, so I reinstalled Poser 7 (current version is Poser 9) and discovered it does not run in wine 1.5.12; I get a blank grey screen with no console output, but that's obviously a different issue, and not worth perusing for a program two versions out of date.

Poser 8 runs reasonably well, but it uses a completely different interface architecture, so it doesn't reflect onto this bug.  I trust in Alexandre's assessment that it is fixed...
Comment 24 Rod Schaffter 2012-09-12 09:42:56 UTC
On a whim I installed the MS Visual C 2005 Runtime and it works, and the bug is indeed squashed.  :)
Comment 25 Alexandre Julliard 2012-09-14 13:37:14 UTC
Closing bugs fixed in 1.5.13.


Privacy Policy
If you have a privacy inquiry regarding this site, please write to [email protected]

Hosted By CodeWeavers