Found reason for random mainwindow resize

Milian Wolff mail at milianw.de
Tue Jul 26 14:23:34 UTC 2011


David Nolden, 19.06.2011:
> 2011/6/18 Milian Wolff <mail at milianw.de>:
> > On Wednesday 08 June 2011 14:30:55 Niko Sams wrote:
> >> Hi,
> >> 
> >> while driving home and hacking in the train I found the reason for the
> >> strange mainwindow resizing milian and alex had during typing kDebug()
> >> <<. I also had it while doing that, but I was already in a string
> >> (kDebug() << "foooo). The reason is that the backgroundparser parses
> >> the file while parsing and fails - as
> >> the statement is not finished. It then displays a red message in the
> >> status bar to state
> >> that.
> >> For some reason this message is displayed multiple times - concated. And
> >> exactly that makes the mainwindow resize.
> >> I reproduced it by typing fast.
> > 
> > Yeah, I finally saw that myself. What can we do about it? Here are my
> > ideas sorted by my personal preference:
> > 
> > a) make sure that given error message is only shown once at a time
> > c) only show one error at a time and make the next one visible thereafter
> > b) prevent the statusbar from resizing the whole page
> > 
> > actually a) shouldn't be too hard I think, lets see...
> 
> I'd prefer first b) then a), in this order. Because by fixing b) you
> fix the framework, by a) you only workaround the problem.

I've fixed this now with 
http://commits.kde.org/kdevplatform/d39f33b190ec37d24839d4db50729781f2e12c0d

Should I still limit the display to one message at a time?

bye
-- 
Milian Wolff
mail at milianw.de
http://milianw.de
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 198 bytes
Desc: This is a digitally signed message part.
URL: <http://mail.kde.org/pipermail/kdevelop-devel/attachments/20110726/d5b6be97/attachment.sig>


More information about the KDevelop-devel mailing list