https://bugs.winehq.org/show_bug.cgi?id=46700
Bug ID: 46700 Summary: notepad++ keep non existing file when deleted Product: Wine Version: 4.0-rc7 Hardware: x86 OS: Linux Status: UNCONFIRMED Severity: normal Priority: P2 Component: -unknown Assignee: wine-bugs@winehq.org Reporter: andrej8anubis@gmail.com Distribution: ---
I have notepad++ set so that it silently updates file changes, but if some file open in notepad++ gets deleted, I get the window in notepad++, asking me "keep non existing file" on the title bar, and I see no buttons to click. Can someone check this out pleas? Thank you
https://bugs.winehq.org/show_bug.cgi?id=46700
Fabian Maurer dark.shadow4@web.de changed:
What |Removed |Added ---------------------------------------------------------------------------- Keywords| |download URL| |https://notepad-plus-plus.o | |rg/download/v7.6.4.html Summary|notepad++ keep non existing |notepad++ "keep non |file when deleted |existing file" dialog | |missing buttons CC| |dark.shadow4@web.de Ever confirmed|0 |1 Status|UNCONFIRMED |NEEDINFO
--- Comment #1 from Fabian Maurer dark.shadow4@web.de --- Works fine for me, please provide a screenshot and a log file?
https://bugs.winehq.org/show_bug.cgi?id=46700
--- Comment #2 from Andrej andrej8anubis@gmail.com --- Created attachment 63888 --> https://bugs.winehq.org/attachment.cgi?id=63888 picture of a notepad++
picture of a notepad++ after "test file.txt" was deletet in nemo
https://bugs.winehq.org/show_bug.cgi?id=46700
--- Comment #3 from Andrej andrej8anubis@gmail.com --- I now have winehq-devel: Installed: 4.3~bionic
https://bugs.winehq.org/show_bug.cgi?id=46700
--- Comment #4 from Andrej andrej8anubis@gmail.com --- where do i get log file?
https://bugs.winehq.org/show_bug.cgi?id=46700
--- Comment #5 from Fabian Maurer dark.shadow4@web.de --- See(In reply to Andrej from comment #4)
where do i get log file?
See https://wiki.winehq.org/FAQ#How_can_I_get_a_debugging_log_.28a.k.a._terminal...
https://bugs.winehq.org/show_bug.cgi?id=46700
--- Comment #6 from Andrej andrej8anubis@gmail.com --- log from output (when I delete a file and force quit the notepad++, it just say killed):
00f1:fixme:ver:GetCurrentPackageId (0x2e97c0 (nil)): stub 00f1:fixme:font:get_outline_text_metrics failed to read full_nameW for font L"Ani"!
00f1:fixme:clipboard:import_text unsupported TEXT type "TEXT" 00f1:fixme:xdnd:X11DRV_XDND_DROPEFFECTToXdndAction unknown drop effect 0, assuming XdndActionCopy 00f1:fixme:xdnd:X11DRV_XDND_DROPEFFECTToXdndAction unknown drop effect 0, assuming XdndActionCopy 00f1:fixme:xdnd:X11DRV_XDND_DROPEFFECTToXdndAction unknown drop effect 0, assuming XdndActionCopy
Killed
https://bugs.winehq.org/show_bug.cgi?id=46700
--- Comment #7 from Andrej andrej8anubis@gmail.com --- I did :
$ WINEDEBUG=+relay,+seh,+tid wine /mnt/temp/temp/wine/Notepad++/notepad++.exe
/tmp/output2.txt 2>&1
here is the file:
https://send.firefox.com/download/c082e4ed92/#lQCg7dMv2DSdUPEPL6LcYQ
https://bugs.winehq.org/show_bug.cgi?id=46700
mdjrosenau@hotmail.de changed:
What |Removed |Added ---------------------------------------------------------------------------- CC| |mdjrosenau@hotmail.de
--- Comment #8 from mdjrosenau@hotmail.de --- I have nearly the same problem under Ubuntu 16 LTS.
However, it's not only the "keep non-existing file" dialog window but also the "file has changed" dialog window.
And as soon as this dialog window is shown, it is necessary to kill wine using "pkill -KILL". Attempting to do anything else may cause the complete X window system to crash!
https://bugs.winehq.org/show_bug.cgi?id=46700
--- Comment #9 from Martin Rosenau mdjrosenau@hotmail.de --- I have been debugging and found out the following:
In the function GetMessageW(), there are function calls to peek_message() and wait_objects(). peek_message() calls wine_server_call().
When peek_message() is called and there is no message available, wine_server_call() will return error code ERROR_NO_MORE_ITEMS in the "reply_header.error" element. Otherwise it will return the message.
When the dialog window that causes the bug is displayed, wine_server_call() only returns WM_TIMER messages.
When I move the mouse pointer inside the notepad++ window, I can see that wine_server_call() is called much more frequently, so wait_objects() seems to detect that there are WM_MOUSEMOVE messages available.
However, wine_server_call() neither returns WM_MOUSEMOVE messages nor any other messages but WM_TIMER. Sometimes even WM_TIMER messages are not returned.