Winetricks / winetricks

Winetricks is an easy way to work around problems in Wine
GNU Lesser General Public License v2.1
2.8k stars 403 forks source link

IE8 is broken since wine-5.7 #1593

Open DarkShadow44 opened 4 years ago

DarkShadow44 commented 4 years ago

Wine-5.7 (commit 0a12f258690b46f996b4890837ffdb4cea94ba70) changed the way fonts are loaded. They now go through "dosdevices/z:", but there is a workaround that renames that to "dosdevices/z:.bak_wt". The result is, that the window is infinitely small and can't be used - also breaking silent install.

We could either fix this in winetricks, unless you think that fonts should not be read through "z:". What do you say?

austin987 commented 4 years ago

I asked Alexandre about it in #winehackers a while back, because it also breaks ffdshow/dirac when winetricks sandbox is used: https://bugs.winehq.org/show_bug.cgi?id=49421 https://bugs.winehq.org/show_bug.cgi?id=49550

His opinion was that it should be fixed in wine.

That said, ie8 installs fine here in silent mode, and the resulting install works (for http sites, https doesn't work for some reason).

alessivs commented 3 years ago

https doesn't work for some reason

I have a WIP fix for this, for which I will open a PR in the next days. It requires a new Windows component (msi installer). For guidance, should this be in a new verb name or inside ie8?

austin987 commented 3 years ago

What's the component? Does it have any value on its own or is it an IE plugin/service pack/hotfix?

alessivs commented 3 years ago

What's the component? Does it have any value on its own or is it an IE plugin/service pack/hotfix?

Two hotfixes:

  1. Add support for TLS 1.1 and 1.2 (KB4019276) - comes from Win XP POS edition

  2. Cumulative security update for Internet Explorer 8 (KB4230450)

Plus two registry entries that enable control of the feature from IE 8 Internet Settings.

I currently don't remember why 2 was necessary, but I will revisit.

As far as I remember they weren't available for x64.

It does not have (much) value on its own, since it augments IE 8 MSHTML or the IE 8 application, and besides the installer it doesn't provide a GUI.

austin987 commented 3 years ago

I'd say a separate verb, A) so users with existing installs can install it, and B) 64-bit would be added by #1716 (when I get around to testing/reviewing).

alessivs commented 3 years ago

This issue seems solved by Wine 5.15 to Wine 6.0, the current stable, (EDIT: and broken again in the transition from Wine 6.4 to Wine 6.5, but perhaps for a different reason). More details after further testing.

alessivs commented 3 years ago

I can't tell with certainty, but some font issues could be related to the interaction of Wine and the packaging of 32-bit freetype2. A given Wine edition can experience the tiny installer window issue with an older freetype2, only to vanish with an update to the library. Sorry for the lack of details, as this comes from memory, and it's been tricky to try out different freetype packages without breaking the desktop.

Anyhow, I experienced font-related issues between Wine 5.7 and 5.14 as packaged by Arch, where IE8 installs but doesn't finish launching. The problem is absent in Wine 5.15 up to 6.4 (tried every Wine in between), where IE8 does function.

I experienced problems which–I think–are unrelated to fonts, starting with Wine 6.5. I decided to open two other issues to report my findings.