[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [lmi] lmi + wine-3.0 (Debian 3.0-1) = purple fungus
From: |
Vadim Zeitlin |
Subject: |
Re: [lmi] lmi + wine-3.0 (Debian 3.0-1) = purple fungus |
Date: |
Wed, 7 Mar 2018 14:05:22 +0100 |
On Wed, 7 Mar 2018 01:46:58 +0000 Greg Chicares <address@hidden> wrote:
GC> On 2018-03-06 23:20, Vadim Zeitlin wrote:
GC> > On Tue, 6 Mar 2018 22:53:30 +0000 Greg Chicares <address@hidden> wrote:
GC> [...]
GC> > GC> On the first page, I see almost everything except that date field.
GC> >
GC> > The only controls I see are the listbox, with its "Policy" label, the
GC> > "Effective date" label with or without the accompanying date field
GC> > depending on whether "Windows Version" is set to "XP" or "10" in winecfg,
GC> > the comments field with its label and the 3 buttons. I don't see anything
GC> > else...
GC>
GC> Let me be paraphrase that to be sure I understand. I think you're
GC> saying that
GC> <emphasis> with "Windows Version" set to "XP" <emphasis>
GC> <emphasis> AND ALSO <emphasis>
GC> <emphasis> with "Windows Version" set to "10" <emphasis>
GC> you see only a small handful of the controls that should be present.
GC> To repeat, setting it to "10" doesn't help, and setting it to "XP"
GC> also doesn't help--either way, numerous controls are missing, so...
GC>
GC> > [...] What I see (or rather don't see) is much more
GC> > serious however, as it makes the problem unusable.
GC>
GC> ...it's utterly unusable. Is that really what you're saying?
Yes. There is a minor detail: with "Windows Version" set to XP I do see at
least the effective date control itself, and not just its label, while with
"Windows Version" set to "10", I only see the label. I think I do have an
explanation for this, however: wxWidgets assumes that Windows >= Vista (and
I confirmed that the date picker control is still shown for "Windows
Version" set to "2003", but disappears when it's set to "Vista" or later)
supports DTM_GETIDEALSIZE message which allows the date picker to tell us
how big it wants to be. Wine doesn't support this message, however,
independently of the version, and this explains why the control is
invisible: it simply has 0 size. I've created a ticket for this in Wine
bugzilla: https://bugs.winehq.org/show_bug.cgi?id=44680 and, as mentioned
there, it would be possible to work around this in wxMSW itself, but I
don't know if it's worth it, especially as you can only use "XP" as version
anyhow for different reasons.
I still don't have any explanation for why don't I see any other controls,
even with "XP" version, nor why is nothing purple for me with "10". I could
try debugging the former and probably will end up doing it just because
this is so mysterious, even if it's not particularly important as I never
test lmi in Wine anyhow (I do it on either a physical machine with MSVC or
in a VM with MinGW). Arguably, the first thing I should do is to try
building lmi using the official makefiles under Linux, which is something I
had never done yet...
GC> Are you running wine in a chroot?
In a Buster chroot on a more or less standard (there is some extra stuff
needed to make all the hardware on this notebook to work, but it really
shouldn't be relevant here) Debian Stretch system.
Regards,
VZ