Re: NSControls failing to set status/label on BigEndian/64bit

Riccardo Mottola <[email protected]>
Newsgroups gmane.comp.lib.gnustep.devel
Message-ID <[email protected]>
Hi Fred,

Fred Kiefer wrote:
> 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).

I put a log statement "after" and I always get back zero, like this:

2021-01-06 15:18:32.285 Ink[10368:10368] NSCell initWithCoder tmp_int: 0 
state 0
2021-01-06 15:18:32.286 Ink[10368:10368] Replace All not keycoding version 3
2021-01-06 15:18:32.291 Ink[10368:10368] _highlightsByMask 0  - 
_showAltStateMask 0
2021-01-06 15:18:32.292 Ink[10368:10368] NSCell initWithCoder tmp_int: 0 
state 0
2021-01-06 15:18:32.292 Ink[10368:10368] Replace not keycoding version 3
2021-01-06 15:18:32.293 Ink[10368:10368] _highlightsByMask 0  - 
_showAltStateMask 0
2021-01-06 15:18:32.294 Ink[10368:10368] NSCell initWithCoder tmp_int: 0 
state 0
2021-01-06 15:18:32.295 Ink[10368:10368] Replace & Find not keycoding 
version 3
2021-01-06 15:18:32.296 Ink[10368:10368] _highlightsByMask 0  - 
_showAltStateMask 0
2021-01-06 15:18:32.296 Ink[10368:10368] NSCell initWithCoder tmp_int: 0 
state 0
2021-01-06 15:18:32.297 Ink[10368:10368] Previous not keycoding version 3
2021-01-06 15:18:32.298 Ink[10368:10368] _highlightsByMask 0  - 
_showAltStateMask 0
2021-01-06 15:18:32.299 Ink[10368:10368] NSCell initWithCoder tmp_int: 0 
state 0
2021-01-06 15:18:32.300 Ink[10368:10368] Next not keycoding version 3
2021-01-06 15:18:32.302 Ink[10368:10368] _highlightsByMask 0  - 
_showAltStateMask 0

this is coherent to it being 0 later... (It is always after the output 
of the line saying "notkeycoding version 3)... how to delve deeper?

Riccardo

Riccardo
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.