[Bug 23166] X-Blade's launcher does not display background, button images and cannot be closed.
wine-bugs at winehq.org
wine-bugs at winehq.org
Wed May 23 11:27:04 CDT 2018
https://bugs.winehq.org/show_bug.cgi?id=23166
Kimmo Myllyvirta <kimmo.myllyvirta at gmail.com> changed:
What |Removed |Added
----------------------------------------------------------------------------
CC| |kimmo.myllyvirta at gmail.com
--- Comment #17 from Kimmo Myllyvirta <kimmo.myllyvirta at gmail.com> ---
Created attachment 61489
--> https://bugs.winehq.org/attachment.cgi?id=61489
hack
Still an issue with wine 3.8. Debugged it more.
For example, main.html from launcher.dat (zip file) has;
<link rel="stylesheet" href="./main.css" type="text/css">
<link rel="stylesheet" href="./sliding_bar.css" type="text/css">
<link rel="stylesheet" href="./collapse_list.css" type="text/css">
It does not load those stylesheets at all. After modifying those lines to;
<link rel="stylesheet" href="main.css" type="text/css">
<link rel="stylesheet" href="sliding_bar.css" type="text/css">
<link rel="stylesheet" href="collapse_list.css" type="text/css">
Then it loads the stylesheets, and the launcher looks ok. There's more similar
cases, not limited to only those.
This is a bug in UrlCanonicalizeW;
0009:trace:shell:UrlCombineA (base "", Relative "./main.css", Combine size
2048, flags 00000000) using W version
0009:trace:shell:UrlCombineW (base L"", Relative L"./main.css", Combine size
2048, flags 00000000)
0009:trace:shell:UrlCanonicalizeW (L"", 0x1c0520, 0x33cd30, 0x00000000)
*pcchCanonicalized: 2084
0009:trace:shell:UrlCanonicalizeW (L"./main.css", 0x1c1568, 0x33cd30,
0x00000000) *pcchCanonicalized: 2084
0009:trace:shell:UrlCanonicalizeW Simplified, orig <L"./main.css">, simple
<L"">
0009:trace:shell:UrlCanonicalizeW Simplified, orig <L"./main.css">, simple
<L"./main.css">
0009:trace:shell:UrlCanonicalizeW result L"./main.css"
0009:trace:shell:ParseURLW L"" 0x33cd34
0009:trace:shell:UrlCombineW no scheme detected in Base
Which is incorrect result, UrlCanonicalizeW should return "main.css".
See the tests in shlwapi, url.c, TEST_CANONICALIZE, the above case is marked as
"todo";
{"./A", 0, S_OK, "A", TRUE},
The test case passes with the attached hack, launcher looks as it should be,
and also exit and run game -buttons work.
--
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