Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
QPainter errors when running Qt apps
View unanswered posts
View posts from last 24 hours
View posts from last 7 days

 
Reply to topic    Gentoo Forums Forum Index Desktop Environments
View previous topic :: View next topic  
Author Message
nikosai
n00b
n00b


Joined: 15 Apr 2005
Posts: 1

PostPosted: Fri Apr 15, 2005 12:02 pm    Post subject: QPainter errors when running Qt apps Reply with quote

I've just recently picked up an amd64 box, and I've found that when running Qt apps (particularly bad offenders are Rosegarden and Scribus), I get a flood of "QPainter::restore: empty stack error"s coming out on the console. Sometimes, especially in Rosegarden, the printing of these messages actually slows down the execution of the program to the point where it is no longer usable. I haven't ever seen these messages on my x86 box, which has almost identical software installed (except of course that it's all built for x86, not amd64). I'm using Qt 3.3.4. Any ideas would be appreciated as to what is causing this and what can be done.

Thanks.
Back to top
View user's profile Send private message
nanoczar
Apprentice
Apprentice


Joined: 10 Dec 2002
Posts: 192
Location: Henderson, TN

PostPosted: Tue Apr 26, 2005 10:28 pm    Post subject: Same here... Reply with quote

I have the same error on my P4 system. I am running ~x86 with qt-3.3.4-r3.
Anyone have an idea how to resolve this?

-Thanks - nanoczar
_________________
Don't fight the LaTeX. WORK with the LaTeX!! Become one with the LaTeX!!! - JIC
Back to top
View user's profile Send private message
cbradney
Apprentice
Apprentice


Joined: 08 May 2003
Posts: 245
Location: Luxembourg

PostPosted: Fri Apr 29, 2005 9:40 pm    Post subject: Reply with quote

I dont get these at all with Scribus, and I'm running/developing 1.2.2cvs and 1.3.0cvs all the time.
_________________
Scribus: Open Source Desktop Publishing http://www.scribus.net. Emerge it!
Back to top
View user's profile Send private message
nanoczar
Apprentice
Apprentice


Joined: 10 Dec 2002
Posts: 192
Location: Henderson, TN

PostPosted: Tue May 03, 2005 5:07 pm    Post subject: All KDE apps... Reply with quote

I seem to get the error with any application that uses qt. Applications like knotes, kcalc, etc. give me...
Code:
QPainter::setPen: Will be reset by begin()
knotes: WARNING: No standard resource yet.

Scribus on the other hand spits out...
Code:
QPainter::setPen: Will be reset by begin()
QPainter::restore: Empty stack error
QPainter::restore: Empty stack error
...

Applications that use gtk do not generate an error (as expected since it is not using qt).

Is this an actual bug or just a result of overzealous compiling and/or CFLAGS? I do find it odd that only nikosai and I seem to have this problem. Anyone else???
-nanoczar
_________________
Don't fight the LaTeX. WORK with the LaTeX!! Become one with the LaTeX!!! - JIC
Back to top
View user's profile Send private message
ktchan
n00b
n00b


Joined: 09 Jun 2006
Posts: 3
Location: Hong Kong

PostPosted: Fri Jul 20, 2007 3:51 am    Post subject: Reply with quote

I do have QPainter::begin:Painter is already active
you must end() the painter beforea second begin()

The xsession-error file is full of is.
I do use qt with scim and skim chinese input.

Regards

K.T.Chan
_________________
Old new commer
chan
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Desktop Environments All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum