#605998 "Text View" behaves weirdly

Package:
kompare
Source:
kompare
Description:
file difference viewer
Submitter:
Ulrich Eckhardt
Date:
2010-12-05 12:30:04 UTC
Severity:
normal
#605998#5
Date:
2010-12-05 12:27:03 UTC
From:
To:
Under the "Settings" menu, there is an option "Show Text View". There are
several things surprising with this text view:

1. The option is not saved anywhere, so if I select the text view, close
kompare and reopen it, the text view is gone and I have to activate it again.
I would have expected that kompare remembers things selected under "Settings".

2. The position in the text view is the last difference, regardless of which
position in the source/target views I selected previously. The position also
doesn't move, neither the position in the source/target view when moving
through the text view nor the one in the text view when moving through the
source/target views.

3. I can edit text in the text view. I have looked around a bit, but I
couldn't find any lasting effect of these edits. They neither show up in
source/target view nor after saving the files.

4. I can not really edit text in the text view. For example, trying to type a
space triggers a hotkey that is bound to "Apply Difference" instead.

5. I can't detach the text view from the main window. If I do, it looses all
its content and decoration. Further, I get a stream of errors on stdout:

  X Error: BadMatch (invalid parameter attributes) 8
    Major opcode: 62 (X_CopyArea)
    Resource id:  0x58053fc

These come every second or so while the mouse is inside the detached window
which I can still move and resize or reattach, which restores the content and
stops the errors. I tried with dolphin, which uses similar detachable windows
and there I don't have any such problems. I tried with both fluxbox and icewm
in order to rule out the WM as the problem for this.

Cheers!

Uli