Found reason for random mainwindow resize

Aleix Pol aleixpol at kde.org
Tue Jul 26 14:38:22 UTC 2011


On Tue, Jul 26, 2011 at 4:23 PM, Milian Wolff <mail at milianw.de> wrote:

> 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
>
> --
> KDevelop-devel mailing list
> KDevelop-devel at kdevelop.org
> https://barney.cs.uni-potsdam.de/mailman/listinfo/kdevelop-devel
>
>
Cool you fixed it! :)

I think it's not very useful to have these messages there anyway, but yes,
it would be good.

Does it show the full message on the tooltip or something?

Aleix
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.kde.org/pipermail/kdevelop-devel/attachments/20110726/2896c160/attachment.html>


More information about the KDevelop-devel mailing list