#541 Split Pane: Both panes seem to have the focus

development
closed-fixed
Program (402)
9
2006-10-17
2006-08-20
Jens Guballa
No

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

Discussion

  • Thorsten Haude
    Thorsten Haude
    2006-08-30

    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.

     
  • Thorsten Haude
    Thorsten Haude
    2006-08-30

    • priority: 5 --> 4
    • assigned_to: nobody --> yooden
    • status: open --> open-accepted
     
  • Scott Tringali
    Scott Tringali
    2006-08-30

    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.

     
  • Thorsten Haude
    Thorsten Haude
    2006-08-30

    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.

     
  • Thorsten Haude
    Thorsten Haude
    2006-08-30

    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

     
  • Thorsten Haude
    Thorsten Haude
    2006-08-30

    • milestone: 103147 --> 103146
     
  • Thorsten Haude
    Thorsten Haude
    2006-09-05

    • milestone: 103146 --> development
     
  • Thorsten Haude
    Thorsten Haude
    2006-09-05

    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.

     
  • Thorsten Haude
    Thorsten Haude
    2006-09-06

    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.

     
  • Thorsten Haude
    Thorsten Haude
    2006-09-30

    • priority: 4 --> 9
    • status: open-accepted --> open-fixed
     
  • Thorsten Haude
    Thorsten Haude
    2006-10-08

    Changed some variable names.

     
  • Thorsten Haude
    Thorsten Haude
    2006-10-17

    • status: open-fixed --> closed-fixed