http://bugs.winehq.org/show_bug.cgi?id=9314
Summary: Borland C++ Builder 5 expects registry values to be read in the same order they were written Product: Wine Version: 0.9.43. Platform: PC-x86-64 OS/Version: Linux Status: NEW Severity: normal Priority: P2 Component: wine-advapi32 AssignedTo: wine-bugs@winehq.org ReportedBy: mikolaj.zalewski@gmail.com
Created an attachment (id=7584) --> (http://bugs.winehq.org/attachment.cgi?id=7584) test
It arranges the component palettes in the same order in which it read the values from the registry (even if MSDN exlicitly says not to rely on the order in which the values are read). We store the values in the alphabetical order to binsearch them so the palettes under Wine are in alphabetical order instead of the configured order.
I attach a small test showing that under Windows the values are read in the same order as they were written.
http://bugs.winehq.org/show_bug.cgi?id=9314
Austin English austinenglish@gmail.com changed:
What |Removed |Added ---------------------------------------------------------------------------- Keywords| |testcase
http://bugs.winehq.org/show_bug.cgi?id=9314
--- Comment #1 from Austin English austinenglish@gmail.com 2008-10-22 13:53:18 --- Is this still an issue in current (1.1.6 or newer) wine? Can you port your testcase to the wine test suite?
http://wiki.winehq.org/ConformanceTests
http://bugs.winehq.org/show_bug.cgi?id=9314
--- Comment #2 from Nikolay Sivov bunglehead@gmail.com 2009-01-14 20:11:53 --- Created an attachment (id=18702) --> (http://bugs.winehq.org/attachment.cgi?id=18702) testcase patch
Converted to testcase diff with some corrections. Sent to maillist too: http://www.winehq.org/pipermail/wine-patches/2009-January/067746.html
http://bugs.winehq.org/show_bug.cgi?id=9314
Nikolay Sivov bunglehead@gmail.com changed:
What |Removed |Added ---------------------------------------------------------------------------- CC| |bunglehead@gmail.com
http://bugs.winehq.org/show_bug.cgi?id=9314
Nikolay Sivov bunglehead@gmail.com changed:
What |Removed |Added ---------------------------------------------------------------------------- Attachment #18702|0 |1 is obsolete| |
http://bugs.winehq.org/show_bug.cgi?id=9314
--- Comment #3 from Nikolay Sivov bunglehead@gmail.com 2009-01-15 09:09:26 --- Tests are in git now
http://source.winehq.org/git/wine.git?a=commit;h=1a38b7bf5e561a89c571feab719...
http://bugs.winehq.org/show_bug.cgi?id=9314
--- Comment #4 from Austin English austinenglish@gmail.com 2009-07-16 13:02:56 --- Those todo's still aren't fixed: http://source.winehq.org/git/wine.git/?a=blob;f=dlls/advapi32/tests/registry...
http://bugs.winehq.org/show_bug.cgi?id=9314
--- Comment #5 from Austin English austinenglish@gmail.com 2010-04-29 18:04:51 --- Still present: http://source.winehq.org/git/wine.git/?a=blob;f=dlls/advapi32/tests/registry...
http://bugs.winehq.org/show_bug.cgi?id=9314
Vijay Kamuju infyquest@gmail.com changed:
What |Removed |Added ---------------------------------------------------------------------------- CC| |infyquest@gmail.com
--- Comment #6 from Vijay Kamuju infyquest@gmail.com 2011-09-13 17:34:27 CDT --- it sure seems the order is not fixed yet
http://bugs.winehq.org/show_bug.cgi?id=9314
Daniel Jelinski djelinski1@gmail.com changed:
What |Removed |Added ---------------------------------------------------------------------------- CC| |djelinski1@gmail.com
--- Comment #7 from Daniel Jelinski djelinski1@gmail.com 2012-09-07 14:50:29 CDT --- *** Bug 31525 has been marked as a duplicate of this bug. ***
http://bugs.winehq.org/show_bug.cgi?id=9314
Nikolay Sivov bunglehead@gmail.com changed:
What |Removed |Added ---------------------------------------------------------------------------- CC|bunglehead@gmail.com |
https://bugs.winehq.org/show_bug.cgi?id=9314
--- Comment #8 from Austin English austinenglish@gmail.com --- (In reply to Austin English from comment #5)
Still present: http://source.winehq.org/git/wine.git/?a=blob;f=dlls/advapi32/tests/registry. c#l1511
https://source.winehq.org/git/wine.git/blob/778c2ab6f9c7dc1d5ff0d340d8e4571a...
still present.
https://bugs.winehq.org/show_bug.cgi?id=9314
--- Comment #9 from Austin English austinenglish@gmail.com --- (In reply to Austin English from comment #8)
(In reply to Austin English from comment #5)
Still present: http://source.winehq.org/git/wine.git/?a=blob;f=dlls/advapi32/tests/registry. c#l1511
https://source.winehq.org/git/wine.git/blob/ 778c2ab6f9c7dc1d5ff0d340d8e4571a888cdb8a:/dlls/advapi32/tests/registry. c#l1786
still present.
Still in wine-1.7.53-212-g12abd19
https://bugs.winehq.org/show_bug.cgi?id=9314
Austin English austinenglish@gmail.com changed:
What |Removed |Added ---------------------------------------------------------------------------- Keywords| |download
--- Comment #10 from Austin English austinenglish@gmail.com --- Adding download since there are tests in the test suite for it (so anyone can test).
https://bugs.winehq.org/show_bug.cgi?id=9314
Omega Software development@winomega.com changed:
What |Removed |Added ---------------------------------------------------------------------------- CC| |development@winomega.com
--- Comment #11 from Omega Software development@winomega.com --- *** Bug 44596 has been marked as a duplicate of this bug. ***
https://bugs.winehq.org/show_bug.cgi?id=9314
Nikolay Sivov bunglehead@gmail.com changed:
What |Removed |Added ---------------------------------------------------------------------------- Summary|Borland C++ Builder 5 |Borland C++ Builder |expects registry values to |5/Delphi 7 expect registry |be read in the same order |values to be read in the |they were written |same order they were | |written
https://bugs.winehq.org/show_bug.cgi?id=9314
--- Comment #12 from Omega Software development@winomega.com --- Hi
This affects Borland Delphi 7 too. It's still present with Wine 3.2 (I sent a duplicate, see bug 44596).
https://bugs.winehq.org/show_bug.cgi?id=9314
joaopa jeremielapuree@yahoo.fr changed:
What |Removed |Added ---------------------------------------------------------------------------- CC| |jeremielapuree@yahoo.fr
--- Comment #13 from joaopa jeremielapuree@yahoo.fr --- Bug still occurs with wine-5.11.
https://bugs.winehq.org/show_bug.cgi?id=9314
Fabian Maurer dark.shadow4@web.de changed:
What |Removed |Added ---------------------------------------------------------------------------- CC| |dark.shadow4@web.de
--- Comment #14 from Fabian Maurer dark.shadow4@web.de --- Still marked todo as of wine-9.0.