Found reason for random mainwindow resize
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.
> > >> 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
> > > 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
> Should I still limit the display to one message at a time?
> Milian Wolff
> mail at milianw.de
> KDevelop-devel mailing list
> KDevelop-devel at kdevelop.org
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?
-------------- next part --------------
An HTML attachment was scrubbed...
More information about the KDevelop-devel