Found reason for random mainwindow resize
Milian Wolff
mail at milianw.de
Tue Jul 26 21:22:01 UTC 2011
Aleix Pol, 26.07.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/d39f33b190ec37d24839d4db50729781f2e12
> > c0d
> >
> > 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.
where else? plasma-style notifications are simply too much "in your face"
imo...
> Does it show the full message on the tooltip or something?
yes, it does.
--
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/abc8a9c2/attachment.sig>
More information about the KDevelop-devel
mailing list