Split Pane: Both panes seem to have the focus
Brought to you by:
tringali
I simply opened any file in NEdit and I used the Split
Pane function (Strg+2). Now in both panes the cursor
is blinking as if both panes would have the focus.
This only changes to a correct behaviour after pane is
changed by mouse click into the second pane.
Note: This behaviour applies to the latest CVS version
of nedit (no patches were applied). When using the
official 5.5-binary, this problem does not occur.
Here is my build:
NEdit release of Aug 20, 2004
Built on: Linux, 486, GNU C
Built at: Aug 20 2006, 19:48:14
With Motif: 2.2.3 [@(#)Motif Version 2.2.3]
Running Motif: 2.2 [unknown]
Server: The X.Org Foundation 60802000
Visual: 24-bit TrueColor (ID 0x21, Default)
Locale: de_DE@euro
Best regards,
Jens
Logged In: YES
user_id=119143
This may have been cause by my change to fix #906878.
Seems to be only a display bug though, so I lower the prority.
Logged In: YES
user_id=11321
I think we should fix this before the next release, since it
was introduced recently. I think is this "finishing off"
that other bug.
Logged In: YES
user_id=119143
Indeed, that's why I assigned it to myself. You may have
missed it, but I tend to work on the bugs I adopt.
Logged In: YES
user_id=119143
Confirmed with 5.5:
NEdit 5.5
Sep 30, 2004
Built on: Linux, 486, GNU C
Built at: Apr 17 2005, 17:38:00
With Motif: 2.1.0 [@(#)GNU/LessTif Version 2.1 Release
0.93.94] (UNTESTED)
Running Motif: 2.1 [unknown]
Server: The XFree86 Project, Inc 40300001
Visual: 24-bit TrueColor (ID 0x23, Default)
Locale: de_DE@euro
Logged In: YES
user_id=119143
It is indeed a result of my fix for #906878: The cursor
blink is activated in movedCB, which is called for the new
panes.
So I wonder what I did see in the confirmation below. I
don't see it anymore.
Logged In: YES
user_id=119143
Ok, got it. I don't think the solution is optimal, a better
way to fix this would be an internal state about the focus
in the text widget or a more careful handling of the move
callback. Both require more changes than I'm willing to make
atm though.
Changed some variable names.