Trolltech Home | Qt-interest Home | Recent Threads | All Threads | Author | Date
All threads index page 3

Qt-interest Archive, August 2007
X Error: BadWindow, QTreeWidget


Message 1 in thread

 

Hi All

 

I am getting below error repeatedly, as I am trying to scroll
QTreeWidget.

Left my is application working fine.

I am using Qt 4.2.2.

 

X Error: BadWindow (invalid Window parameter) 3

  Major opcode: 10 (X_UnmapWindow)

  Resource id:  0x0

X Error: BadWindow (invalid Window parameter) 3

  Major opcode: 10 (X_UnmapWindow)

  Resource id:  0x0

 

Thanks,

Vijay 

 

 



DISCLAIMER:
This email (including any attachments) is intended for the sole use of the intended recipient/s and may contain material that is CONFIDENTIAL AND PRIVATE COMPANY INFORMATION. Any review or reliance by others or copying or distribution or forwarding of any or all of the contents in this message is STRICTLY PROHIBITED. If you are not the intended recipient, please contact the sender by email and delete all copies; your cooperation in this regard is appreciated.

Message 2 in thread

hi,

Generally these types of error comes, when u are updating/painting gui widget 
in non-gui thread. Are u updating QTreeWidget in user defined thread?????If 
yes, then don't do that, it will mess...Update the widget in non-gui thread 
is possible, by sending the customevent and make it in customevent slot...


Thanks and Regards,
Niranjan.


On Monday 13 August 2007 11:39, Vijay_Mehta wrote:
> Hi All
>
>
>
> I am getting below error repeatedly, as I am trying to scroll
> QTreeWidget.
>
> Left my is application working fine.
>
> I am using Qt 4.2.2.
>
>
>
> X Error: BadWindow (invalid Window parameter) 3
>
>   Major opcode: 10 (X_UnmapWindow)
>
>   Resource id:  0x0
>
> X Error: BadWindow (invalid Window parameter) 3
>
>   Major opcode: 10 (X_UnmapWindow)
>
>   Resource id:  0x0
>
>
>
> Thanks,
>
> Vijay
>
>
>
>
>
>
>
> DISCLAIMER:
> This email (including any attachments) is intended for the sole use of the
> intended recipient/s and may contain material that is CONFIDENTIAL AND
> PRIVATE COMPANY INFORMATION. Any review or reliance by others or copying or
> distribution or forwarding of any or all of the contents in this message is
> STRICTLY PROHIBITED. If you are not the intended recipient, please contact
> the sender by email and delete all copies; your cooperation in this regard
> is appreciated.

--
 [ signature omitted ] 

Message 3 in thread

Hi,

 

Thanks for response

My application has only one thread. I am getting these errors when I am
trying to scroll QTreeWidget. My application also has QTableWidget and
it is not showing any such type of errors while scrolling.

Below is screen shot of my QTreeWidget.

Have any other clue?????

 

 

 

 

Thanks,

Vijay Mehta

 

 

 

 

 

 

 

-----Original Message-----

From: Niranjan [mailto:niranjank@xxxxxxxxxxxx] 

Sent: Thursday, August 16, 2007 9:00 AM

To: Vijay_Mehta; qt-interest@xxxxxxxxxxxxx

Subject: Re: X Error: BadWindow, QTreeWidget

 

hi,

 

Generally these types of error comes, when u are updating/painting gui
widget 

in non-gui thread. Are u updating QTreeWidget in user defined
thread?????If 

yes, then don't do that, it will mess...Update the widget in non-gui
thread 

is possible, by sending the customevent and make it in customevent
slot...

 

 

Thanks and Regards,

Niranjan.

 

 

On Monday 13 August 2007 11:39, Vijay_Mehta wrote:

> Hi All

> 

> 

> 

> I am getting below error repeatedly, as I am trying to scroll

> QTreeWidget.

> 

> Left my is application working fine.

> 

> I am using Qt 4.2.2.

> 

> 

> 

> X Error: BadWindow (invalid Window parameter) 3

> 

>   Major opcode: 10 (X_UnmapWindow)

> 

>   Resource id:  0x0

> 

> X Error: BadWindow (invalid Window parameter) 3

> 

>   Major opcode: 10 (X_UnmapWindow)

> 

>   Resource id:  0x0

> 

> 

> 

> Thanks,

> 

> Vijay

> 

> 

> 

> 

> 

> 

> 

> DISCLAIMER:

> This email (including any attachments) is intended for the sole use of
the

> intended recipient/s and may contain material that is CONFIDENTIAL AND

> PRIVATE COMPANY INFORMATION. Any review or reliance by others or
copying or

> distribution or forwarding of any or all of the contents in this
message is

> STRICTLY PROHIBITED. If you are not the intended recipient, please
contact

> the sender by email and delete all copies; your cooperation in this
regard

> is appreciated.

 

--
 [ signature omitted ] 

JPEG image


Message 4 in thread

hi,

Its ok. But r u doing any event with QTreeWidget object in  your thread. I 
mean,  r u trying to calling any function of widget in a thread??


Thanks and Regards,
Niranjan.

On Thursday 16 August 2007 10:01, you wrote:
> Hi,
>
>
>
> Thanks for response
>
> My application has only one thread. I am getting these errors when I am
> trying to scroll QTreeWidget. My application also has QTableWidget and
> it is not showing any such type of errors while scrolling.
>
> Below is screen shot of my QTreeWidget.
>
> Have any other clue?????
>
>
>
>
>
>
>
>
>
> Thanks,
>
> Vijay Mehta
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
> -----Original Message-----
>
> From: Niranjan [mailto:niranjank@xxxxxxxxxxxx]
>
> Sent: Thursday, August 16, 2007 9:00 AM
>
> To: Vijay_Mehta; qt-interest@xxxxxxxxxxxxx
>
> Subject: Re: X Error: BadWindow, QTreeWidget
>
>
>
> hi,
>
>
>
> Generally these types of error comes, when u are updating/painting gui
> widget
>
> in non-gui thread. Are u updating QTreeWidget in user defined
> thread?????If
>
> yes, then don't do that, it will mess...Update the widget in non-gui
> thread
>
> is possible, by sending the customevent and make it in customevent
> slot...
>
>
>
>
>
> Thanks and Regards,
>
> Niranjan.
>
> On Monday 13 August 2007 11:39, Vijay_Mehta wrote:
> > Hi All
> >
> >
> >
> >
> >
> >
> >
> > I am getting below error repeatedly, as I am trying to scroll
> >
> > QTreeWidget.
> >
> >
> >
> > Left my is application working fine.
> >
> >
> >
> > I am using Qt 4.2.2.
> >
> >
> >
> >
> >
> >
> >
> > X Error: BadWindow (invalid Window parameter) 3
> >
> >
> >
> >   Major opcode: 10 (X_UnmapWindow)
> >
> >
> >
> >   Resource id:  0x0
> >
> >
> >
> > X Error: BadWindow (invalid Window parameter) 3
> >
> >
> >
> >   Major opcode: 10 (X_UnmapWindow)
> >
> >
> >
> >   Resource id:  0x0
> >
> >
> >
> >
> >
> >
> >
> > Thanks,
> >
> >
> >
> > Vijay
> >
> >
> >
> >
> >
> >
> >
> >
> >
> >
> >
> >
> >
> >
> >
> > DISCLAIMER:
> >
> > This email (including any attachments) is intended for the sole use of
>
> the
>
> > intended recipient/s and may contain material that is CONFIDENTIAL AND
> >
> > PRIVATE COMPANY INFORMATION. Any review or reliance by others or
>
> copying or
>
> > distribution or forwarding of any or all of the contents in this
>
> message is
>
> > STRICTLY PROHIBITED. If you are not the intended recipient, please
>
> contact
>
> > the sender by email and delete all copies; your cooperation in this
>
> regard
>
> > is appreciated.
>
> --
>
> To unsubscribe - send a mail to qt-interest-request@xxxxxxxxxxxxx with
> "unsubscribe" in the subject or the body.
>
> List archive and information: http://lists.trolltech.com/qt-interest/
>
>
>
>
>
>
>
> DISCLAIMER:
> This email (including any attachments) is intended for the sole use of the
> intended recipient/s and may contain material that is CONFIDENTIAL AND
> PRIVATE COMPANY INFORMATION. Any review or reliance by others or copying or
> distribution or forwarding of any or all of the contents in this message is
> STRICTLY PROHIBITED. If you are not the intended recipient, please contact
> the sender by email and delete all copies; your cooperation in this regard
> is appreciated.

--
 [ signature omitted ]