[Bug 19425] notepad: running notepad with a non-existent file and choosing yes to create a new file should do so immediately (appinstall)

wine-bugs at winehq.org wine-bugs at winehq.org
Sun Aug 9 18:19:25 CDT 2009


http://bugs.winehq.org/show_bug.cgi?id=19425





--- Comment #8 from Austin English <austinenglish at gmail.com>  2009-08-09 18:19:24 ---
(In reply to comment #1)
> Created an attachment (id=22781)
 --> (http://bugs.winehq.org/attachment.cgi?id=22781) [details]
> notepad: create missing file
> 
> attached a Q&D hack.
> only thing which should be done better is to handle returnvalue of DoSaveFile

I did some manual testing on windows.

If creating the file fails, notepad continues without creating a new file.

If the directory doesn't exist, you get a file not found error. E.g.,:

(In a read only directory):
> notepad foo.txt
# Notepad runs, choose yes, no file created.

(In any directory):
> notepad X:\foo.txt
# File not found

-- 
Configure bugmail: http://bugs.winehq.org/userprefs.cgi?tab=email
Do not reply to this email, post in Bugzilla using the
above URL to reply.
------- You are receiving this mail because: -------
You are watching all bug changes.



More information about the wine-bugs mailing list