[Interest] QLIneEdit Bug still valid ?

Petric Frank pfrank at gmx.de
Sun Jul 15 21:46:47 CEST 2012


Hello David,

Am Sonntag, 15. Juli 2012, 15:36:19 schrieb David Boosalis:
> Hi Petric.
> 
> SInce your changing the text in your code, as a work around why not
> disconnect the signal, change the text, then reconnect the signal

Thats alike what i did currently. It is in my opinion a crude solution. If you 
have more than a couple of line edits in your applications you have a lot mode 
"uneccessary code" in your application.
But wouldn't it better to be fixed the library itself ?

regards
  Petric

> On Sun, Jul 15, 2012 at 5:45 AM, Petric Frank <pfrank at gmx.de> wrote:
> > Hello,
> > 
> > developing an application using Qt 4.8.2 (Linux) i stumbled over a bug
> > with QLineEdit.
> > 
> > I used the signal textEdited(const QString &). According to the
> > documentation
> > this signal should not be emitted when i change the item using
> > setText(const
> > QString &). Despite the spec it is emitted at caling setText.
> > 
> > I found a bug item dated from 2010 which referring this issue:
> >   https://bugreports.qt-project.org/browse/QTBUG-15672
> > 
> > which is still maked as open and no progress have been made.
> > 
> > It seems this bugreport was lost somewhere.
> > 
> > Any hints where/how to patch the original Qt Source to fix this is
> > welcome.
> > 
> > regards
> > 
> >   Petric
> > 
> > _______________________________________________
> > Interest mailing list
> > Interest at qt-project.org
> > http://lists.qt-project.org/mailman/listinfo/interest




More information about the Interest mailing list