http://bugs.winehq.org/show_bug.cgi?id=30301
Bug #: 30301 Summary: Remove Notepad, WordPad, Internet Explorer, etc Product: Wine Version: unspecified Platform: x86 OS/Version: Linux Status: UNCONFIRMED Severity: normal Priority: P2 Component: programs AssignedTo: wine-bugs@winehq.org ReportedBy: Eldmannen+wine@gmail.com Classification: Unclassified
Wine is a third-party implementation of the Windows API. It is *not* a reimplementation of the Windows operating system.
Why does Wine come with built-in clones of Windows software components such as Notepad, Wordpad, Internet Explorer, etc?
It should use the host platforms' native text editor, word processor and web browser.
http://bugs.winehq.org/show_bug.cgi?id=30301
Henri Verbeet hverbeet@gmail.com changed:
What |Removed |Added ---------------------------------------------------------------------------- Status|UNCONFIRMED |RESOLVED Resolution| |INVALID
--- Comment #1 from Henri Verbeet hverbeet@gmail.com 2012-03-29 06:59:57 CDT --- (In reply to comment #0)
Why does Wine come with built-in clones of Windows software components such as Notepad, Wordpad, Internet Explorer, etc?
Generally because applications expect those to be present and try to directly start e.g. notepad or iexplore.
It should use the host platforms' native text editor, word processor and web browser.
It will at least try, provided mime types etc. are properly set up.
http://bugs.winehq.org/show_bug.cgi?id=30301
Vitaliy Margolen vitaliy-bugzilla@kievinfo.com changed:
What |Removed |Added ---------------------------------------------------------------------------- Status|RESOLVED |CLOSED
--- Comment #2 from Vitaliy Margolen vitaliy-bugzilla@kievinfo.com 2012-03-29 08:08:56 CDT --- Closing invalid
http://bugs.winehq.org/show_bug.cgi?id=30301
--- Comment #3 from Eldmannen Eldmannen+wine@gmail.com 2012-03-29 09:53:02 CDT --- (In reply to comment #1)
(In reply to comment #0)
Why does Wine come with built-in clones of Windows software components such as Notepad, Wordpad, Internet Explorer, etc?
Generally because applications expect those to be present and try to directly start e.g. notepad or iexplore.
Then those should be links or redirects to xdg-open.
http://bugs.winehq.org/show_bug.cgi?id=30301
--- Comment #4 from Austin English austinenglish@gmail.com 2012-03-29 12:26:53 CDT --- (In reply to comment #3)
(In reply to comment #1)
(In reply to comment #0)
Why does Wine come with built-in clones of Windows software components such as Notepad, Wordpad, Internet Explorer, etc?
Generally because applications expect those to be present and try to directly start e.g. notepad or iexplore.
Then those should be links or redirects to xdg-open.
Depending on how the application invokes, that is already the case for urls.
http://bugs.winehq.org/show_bug.cgi?id=30301
--- Comment #5 from Eldmannen Eldmannen+wine@gmail.com 2012-03-29 16:41:29 CDT --- (In reply to comment #4)
(In reply to comment #3)
(In reply to comment #1)
(In reply to comment #0)
Why does Wine come with built-in clones of Windows software components such as Notepad, Wordpad, Internet Explorer, etc?
Generally because applications expect those to be present and try to directly start e.g. notepad or iexplore.
Then those should be links or redirects to xdg-open.
Depending on how the application invokes, that is already the case for urls.
Can't we get rid of notepad, wordpad, iexplore? Wouldn't that be desirable?
How about make them symlinks or something?
http://bugs.winehq.org/show_bug.cgi?id=30301
--- Comment #6 from Austin English austinenglish@gmail.com 2012-03-29 17:37:34 CDT --- (In reply to comment #5)
(In reply to comment #4)
(In reply to comment #3)
(In reply to comment #1)
(In reply to comment #0)
Why does Wine come with built-in clones of Windows software components such as Notepad, Wordpad, Internet Explorer, etc?
Generally because applications expect those to be present and try to directly start e.g. notepad or iexplore.
Then those should be links or redirects to xdg-open.
Depending on how the application invokes, that is already the case for urls.
Can't we get rid of notepad, wordpad, iexplore? Wouldn't that be desirable?
How about make them symlinks or something?
No, a lot of programs depend on having the resources available.
http://bugs.winehq.org/show_bug.cgi?id=30301
--- Comment #7 from Eldmannen Eldmannen+wine@gmail.com 2012-03-29 17:47:33 CDT --- (In reply to comment #6)
Can't we get rid of notepad, wordpad, iexplore? Wouldn't that be desirable?
How about make them symlinks or something?
No, a lot of programs depend on having the resources available.
But with symlinks, it would be invisible to the programs, and the resources would be available. Just that it would integrate better with the host system and yield a more pleasant native-like user experience.
Symlinks aren't viable? Why not?
http://bugs.winehq.org/show_bug.cgi?id=30301
--- Comment #8 from Vitaliy Margolen vitaliy-bugzilla@kievinfo.com 2012-03-29 21:21:32 CDT --- (In reply to comment #7)
Symlinks aren't viable? Why not?
Some "smart" windows applications what to call _the_ notepad.exe that is located in c:\windows\system32. Or worse yet, start it, then wrap it's window inside it's own window to do some stuff. This is not possible with native Linux applications.
http://bugs.winehq.org/show_bug.cgi?id=30301
--- Comment #9 from Eldmannen Eldmannen+wine@gmail.com 2012-03-30 06:58:08 CDT --- (In reply to comment #8)
(In reply to comment #7)
Symlinks aren't viable? Why not?
Some "smart" windows applications what to call _the_ notepad.exe that is located in c:\windows\system32. Or worse yet, start it, then wrap it's window inside it's own window to do some stuff. This is not possible with native Linux applications.
So, ln -s ~/.wine/drive_c/windows/notepad.exe /usr/bin/gedit Would not work?
Yes, some badly coded applications has the path hardcoded as a string such as "c:\windows\system32\notepad.exe" A better way would be to use environment variables such "%windir%\system32\notepad.exe". Are there any better way than that?
The Wine website or wiki should have a page with guidelines on how to write portable good.
http://bugs.winehq.org/show_bug.cgi?id=30301
--- Comment #10 from Vitaliy Margolen vitaliy-bugzilla@kievinfo.com 2012-03-30 08:36:30 CDT --- (In reply to comment #9)
So, ln -s ~/.wine/drive_c/windows/notepad.exe /usr/bin/gedit Would not work?
No it won't. Already explained to you why. Read above.
http://bugs.winehq.org/show_bug.cgi?id=30301
--- Comment #11 from Eldmannen Eldmannen+wine@gmail.com 2012-04-01 07:41:15 CDT --- So recreating components is the best solution?
What about calc.exe, etc and other software.
http://bugs.winehq.org/show_bug.cgi?id=30301
Dan Kegel dank@kegel.com changed:
What |Removed |Added ---------------------------------------------------------------------------- CC| |dank@kegel.com
--- Comment #12 from Dan Kegel dank@kegel.com 2012-04-01 11:07:18 CDT --- Notepad is relied on by a number of apps. Nothing that I know of relies on calc.
http://bugs.winehq.org/show_bug.cgi?id=30301
--- Comment #13 from Austin English austinenglish@gmail.com 2012-04-01 15:01:44 CDT --- (In reply to comment #12)
Notepad is relied on by a number of apps. Nothing that I know of relies on calc.
Bug 15555