[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: NSControls failing to set status/label on BigEndian/64bit
From: |
Fred Kiefer |
Subject: |
Re: NSControls failing to set status/label on BigEndian/64bit |
Date: |
Wed, 6 Jan 2021 10:16:37 +0100 |
> Am 06.01.2021 um 01:06 schrieb Riccardo Mottola <riccardo.mottola@libero.it>:
>
> On 2021-01-05 08:07:59 +0000 Fred Kiefer <fredkiefer@gmx.de> wrote:
>
>>> line 1094, after the mask is calculated, do you expect it to be always 0,
>>> both for on and off state? It is always 0 for me.
>> As you can see a few lines above the value of mask depends on
>> _cell.is_highlighted and _cell.state. You should output these two values as
>> well. Next it could be either _highlightsByMask or _showAltStateMask. Sou
>> you need to check these values as well. If they are zero you should go back
>> to the decoding method and see wether these values get decoded correctly.
>> The best way to check is to do the same on a 32 bit or 64 little endian
>> system and compare the results. Form files should decode the same for both
>> systems.
>
> It looks totally different, this is what I see on amd64:
> 2021-01-05 23:15:22.654 Ink[2501:123181007659016] is highlghted 0 - state 0 -
> altStateMask 0 - highlightByMask 6
> 2021-01-05 23:15:22.683 Ink[2501:123181007659016] is highlghted 0 - state 0 -
> altStateMask 0 - highlightByMask 6
> 2021-01-05 23:15:22.746 Ink[2501:123181007659016] is highlghted 0 - state 0 -
> altStateMask 0 - highlightByMask 6
> 2021-01-05 23:15:31.179 Ink[2501:123181007659016] is highlghted 0 - state 0 -
> altStateMask 0 - highlightByMask 6
> 2021-01-05 23:15:31.180 Ink[2501:123181007659016] is highlghted 0 - state 0 -
> altStateMask 0 - highlightByMask 6
> 2021-01-05 23:15:31.181 Ink[2501:123181007659016] is highlghted 0 - state 0 -
> altStateMask 0 - highlightByMask 6
> 2021-01-05 23:15:31.182 Ink[2501:123181007659016] is highlghted 0 - state 0 -
> altStateMask 0 - highlightByMask 6
> 2021-01-05 23:15:31.182 Ink[2501:123181007659016] is highlghted 0 - state 0 -
> altStateMask 0 - highlightByMask 6
> 2021-01-05 23:15:31.187 Ink[2501:123181007659016] is highlghted 0 - state 1 -
> altStateMask 1 - highlightByMask 1
> 2021-01-05 23:15:31.191 Ink[2501:123181007659016] is highlghted 0 - state 1 -
> altStateMask 0 - highlightByMask 1
> 2021-01-05 23:15:31.195 Ink[2501:123181007659016] is highlghted 0 - state 1 -
> altStateMask 1 - highlightByMask 1
>
> This on PPC64
> 2021-01-06 00:12:47.720 Ink[48256:48256] is highlghted 0 - state 0 -
> altStateMask 0 - highlightByMask 0
> 2021-01-06 00:12:47.722 Ink[48256:48256] is highlghted 0 - state 0 -
> altStateMask 0 - highlightByMask 0
> 2021-01-06 00:12:47.724 Ink[48256:48256] is highlghted 0 - state 0 -
> altStateMask 0 - highlightByMask 0
> 2021-01-06 00:12:47.727 Ink[48256:48256] is highlghted 0 - state 0 -
> altStateMask 0 - highlightByMask 0
> 2021-01-06 00:12:47.729 Ink[48256:48256] is highlghted 0 - state 0 -
> altStateMask 0 - highlightByMask 0
> 2021-01-06 00:12:47.792 Ink[48256:48256] is highlghted 0 - state 0 -
> altStateMask 1 - highlightByMask 0
> 2021-01-06 00:12:47.862 Ink[48256:48256] is highlghted 0 - state 0 -
> altStateMask 0 - highlightByMask 0
> 2021-01-06 00:12:47.866 Ink[48256:48256] is highlghted 0 - state 0 -
> altStateMask 1 - highlightByMask 0
>
>
> we see indeed state is always zero and the highlightByMask too.... Where is
> it decoded?
You should concentrate on the _highlightByMask which gets decoded in line 1905
(_showAltStateMask is handled just below).
- NSControls failing to set status/label on BigEndian/64bit, Riccardo Mottola, 2021/01/03
- Re: NSControls failing to set status/label on BigEndian/64bit, Fred Kiefer, 2021/01/03
- Re: NSControls failing to set status/label on BigEndian/64bit, Riccardo Mottola, 2021/01/04
- Re: NSControls failing to set status/label on BigEndian/64bit, Riccardo Mottola, 2021/01/04
- Re: NSControls failing to set status/label on BigEndian/64bit, Fred Kiefer, 2021/01/05
- Re: NSControls failing to set status/label on BigEndian/64bit, Riccardo Mottola, 2021/01/05
- Re: NSControls failing to set status/label on BigEndian/64bit,
Fred Kiefer <=
- Re: NSControls failing to set status/label on BigEndian/64bit, Riccardo Mottola, 2021/01/06
- Re: NSControls failing to set status/label on BigEndian/64bit, Fred Kiefer, 2021/01/06
- Re: NSControls failing to set status/label on BigEndian/64bit, Wolfgang Lux, 2021/01/06
- Re: NSControls failing to set status/label on BigEndian/64bit, Wolfgang Lux, 2021/01/06
- Re: NSControls failing to set status/label on BigEndian/64bit, Fred Kiefer, 2021/01/06
- Re: NSControls failing to set status/label on BigEndian/64bit, Riccardo Mottola, 2021/01/06
- Re: NSControls failing to set status/label on BigEndian/64bit, Wolfgang Lux, 2021/01/06
- Re: NSControls failing to set status/label on BigEndian/64bit, Fred Kiefer, 2021/01/06
- Re: NSControls failing to set status/label on BigEndian/64bit, Wolfgang Lux, 2021/01/07
- Re: NSControls failing to set status/label on BigEndian/64bit, Riccardo Mottola, 2021/01/07