[PATCH] fix line edit in ksirc
Andrew Stanley-Jones
asj at cban.com
Sat Nov 23 16:37:49 GMT 2002
On Sat, 23 Nov 2002, Ellis Whitehead wrote:
> > > > > > Ok to apply?
> > > > >
> > > > > I think that's a workaround for the real bug: the lineedit receives
> > > > > multiple accel events for any shift key combination. It's the same
> > >
>
> The attached patch should fix the problem. What is Shift+Backspace supposed
> to do though? It's acting the same as Backspace for me.
>
ahistlineedit in ksirc may be a bit fishy and odd, but the underlying
problem isn't there. The reason ksirc acts funny under shift-key
combination is due to it receive 2 events for every key press.
I've dumped the events out and tried to find any differences in them but I
can't. My first guess at a work around was to filter out one of them, but
I can't. This multiple accel events is a bug somewhere higher up in kde.
Shift-backspace is simply an example, presumably it's supposed to work
just like backspace. Try shift-left shift-right, etc. Hard to select 1
character that way. Shift-ins is even more fun.
The patch seems to work, it solves the problem for now in kSirc.
-Andrew
---
Andrew Stanley-Jones | "It's kind of fun to do the impossible."
EE, LongEz N87KJ | -- Walt Disney
More information about the kde-core-devel
mailing list