http://bugs.winehq.org/show_bug.cgi?id=58335
--- Comment #40 from Bernhard Übelacker bernhardu@mailbox.org --- (In reply to Michael Setzer II from comment #39)
I've also noted another strange issue. Found that with +actctx it will load notepad with a blank screen WINEDEBUG=+actctx wine notepad But WINEDEBUG=+actctx wine notepad test Opens the notepad, but does not actually open the test file that has test in it. WINEDEBUG=+heap wine notepad test Does open notepad, and does open the test file correctly?
This is really strange, one thing to rule out may be some very long/unexpected environment variable?
What happens if you compare the two start commands below? - The `wineserver -k` will kill all currently running wine processes in the current wineprefix. This is to make sure there are no old processes in the background. - By using `env -i` all environments get eliminated except those given at the commandline. - If you have a non-default wineprefix location add something like `WINEPREFIX=$WINEPREFIX` to the "env" line before `wine`.
wineserver -k WINEDEBUG=+pid wine notepad.exe test.txt
wineserver -k env -i DISPLAY=$DISPLAY WINEDEBUG=+pid wine notepad.exe test.txt