[prev in list] [next in list] [prev in thread] [next in thread] 

List:       kde-bindings
Subject:    Re: [Kde-bindings] [bindings] [Bug 324061] New: QWidget.WinId property in Qyoto throws AccessViolati
From:       Dimitar Dobrev <dpldobrev () yahoo ! com>
Date:       2013-08-26 10:59:20
Message-ID: 1377514760.18858.YahooMailNeo () web122406 ! mail ! ne1 ! yahoo ! com
[Download RAW message or body]

[Attachment #2 (multipart/alternative)]




    Could you please specify on which OS you get this error?


________________________________
 From: "num.ani.cloud@gmail.com" <num.ani.cloud@gmail.com>
To: kde-bindings@kde.org 
Sent: Monday, August 26, 2013 1:51 PM
Subject: [Kde-bindings] [bindings] [Bug 324061] New: QWidget.WinId property \
in Qyoto throws AccessViolationException  

https://bugs.kde.org/show_bug.cgi?id=324061

            Bug ID: 324061
           Summary: QWidget.WinId property in Qyoto throws
                    AccessViolationException
    Classification: Unclassified
           Product: bindings
           Version: 4.9
          Platform: unspecified
                OS: MS Windows
            Status: UNCONFIRMED
          Severity: normal
          Priority: NOR
         Component: general
          Assignee: kde-bindings@kde.org
          Reporter: num.ani.cloud@gmail.com

(I'm Japanese, and I hope you to tolerate poor English.)

Hi, I'm using Qyoto. I tried to get window handle of instance of my widget
class inherited from QWidget, but when I access QWidget.WinId Property it \
threw AccessViolationException.
My program is as follows:

using QtGui;

class Program
{
    public static void Main( string[] args )
    {
        var app = new QApplication( args );
        var window = new MyWidget( null );
        window.Show();

        ulong id = window.WinId.Value;    // The exception was thrown from \
here

        QApplication.Exec();
    }
}

class MyWidget : QWidget
{
    public MyWidget( QWidget parent )
        : base( parent )
    {
    }
}

Is this a bug made by Qyoto? Or Is there something mistake in my program?

Reproducible: Always

Steps to Reproduce:
1. Set up project for using Qyoto.
2. Put source code into project and run.
Actual Results:  
The exception thrown from access for window.WinId

-- 
You are receiving this mail because:
You are the assignee for the bug.
_______________________________________________
Kde-bindings mailing list
Kde-bindings@kde.org
https://mail.kde.org/mailman/listinfo/kde-bindings


[Attachment #5 (text/html)]

<html><body><div style="color:#000; background-color:#fff; \
font-family:times new roman, new york, times, \
serif;font-size:12pt"><div><br><span></span></div><div style="color: rgb(0, \
0, 0); font-size: 16px; font-family: times new roman,new york,times,serif; \
background-color: transparent; font-style: normal;"><span \
class="tab">&nbsp;&nbsp;&nbsp; Could you please specify on which OS \
</span>you get this error?<span class="tab"></span></div><span \
class="tab"></span><div><br></div>  <div style="font-family: times new \
roman, new york, times, serif; font-size: 12pt;"> <div style="font-family: \
times new roman, new york, times, serif; font-size: 12pt;"> <div dir="ltr"> \
<hr size="1">  <font face="Arial" size="2"> <b><span \
style="font-weight:bold;">From:</span></b> "num.ani.cloud@gmail.com" \
&lt;num.ani.cloud@gmail.com&gt;<br> <b><span style="font-weight: \
bold;">To:</span></b> kde-bindings@kde.org <br> <b><span \
style="font-weight: bold;">Sent:</span></b> Monday,  August 26, 2013 1:51 \
PM<br> <b><span style="font-weight: bold;">Subject:</span></b> \
[Kde-bindings] [bindings] [Bug 324061] New: QWidget.WinId property in Qyoto \
throws AccessViolationException<br> </font> </div> <div \
class="y_msg_container"><br> <a \
href="https://bugs.kde.org/show_bug.cgi?id=324061" \
target="_blank">https://bugs.kde.org/show_bug.cgi?id=324061</a><br><br>&nbsp; \
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; Bug ID: 324061<br>&nbsp; &nbsp; &nbsp; \
&nbsp; &nbsp;  Summary: QWidget.WinId property in Qyoto throws<br>&nbsp; \
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; \
AccessViolationException<br>&nbsp; &nbsp; Classification: \
Unclassified<br>&nbsp; &nbsp; &nbsp; &nbsp; &nbsp;  Product: \
bindings<br>&nbsp; &nbsp; &nbsp; &nbsp; &nbsp;  Version: 4.9<br>&nbsp; \
&nbsp; &nbsp; &nbsp; &nbsp; Platform: unspecified<br>&nbsp; &nbsp; &nbsp; \
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; OS: MS Windows<br>&nbsp; &nbsp; &nbsp; \
&nbsp; &nbsp; &nbsp; Status: UNCONFIRMED<br>&nbsp; &nbsp; &nbsp; &nbsp; \
&nbsp; Severity: normal<br>&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; Priority: \
NOR<br>&nbsp; &nbsp; &nbsp; &nbsp;  Component: general<br>&nbsp; &nbsp; \
&nbsp; &nbsp; &nbsp; Assignee: <a ymailto="mailto:kde-bindings@kde.org"  \
href="mailto:kde-bindings@kde.org">kde-bindings@kde.org</a><br>&nbsp; \
&nbsp; &nbsp; &nbsp; &nbsp; Reporter: <a \
ymailto="mailto:num.ani.cloud@gmail.com" \
href="mailto:num.ani.cloud@gmail.com">num.ani.cloud@gmail.com</a><br><br>(I'm \
Japanese, and I hope you to tolerate poor English.)<br><br>Hi, I'm using \
Qyoto. I tried to get window handle of instance of my widget<br>class \
inherited from QWidget, but when I access QWidget.WinId Property it \
threw<br>AccessViolationException.<br>My program is as \
follows:<br><br>using QtGui;<br><br>class Program<br>{<br>&nbsp; &nbsp; \
public static void Main( string[] args )<br>&nbsp; &nbsp; {<br>&nbsp; \
&nbsp; &nbsp; &nbsp; var app = new QApplication( args );<br>&nbsp; &nbsp; \
&nbsp; &nbsp; var window = new MyWidget( null );<br>&nbsp; &nbsp; &nbsp; \
&nbsp; window.Show();<br><br>&nbsp; &nbsp; &nbsp; &nbsp; ulong id = \
window.WinId.Value;&nbsp; &nbsp; // The exception was thrown from \
here<br><br>&nbsp; &nbsp; &nbsp; &nbsp;  QApplication.Exec();<br>&nbsp; \
&nbsp; }<br>}<br><br>class MyWidget : QWidget<br>{<br>&nbsp; &nbsp; public \
MyWidget( QWidget parent )<br>&nbsp; &nbsp; &nbsp; &nbsp; : base( parent \
)<br>&nbsp; &nbsp; {<br>&nbsp; &nbsp; }<br>}<br><br>Is this a bug made by \
Qyoto? Or Is there something mistake in my program?<br><br>Reproducible: \
Always<br><br>Steps to Reproduce:<br>1. Set up project for using \
Qyoto.<br>2. Put source code into project and run.<br>Actual Results:&nbsp; \
<br>The exception thrown from access for window.WinId<br><br>-- <br>You are \
receiving this mail because:<br>You are the assignee for the \
bug.<br>_______________________________________________<br>Kde-bindings \
mailing list<br><a ymailto="mailto:Kde-bindings@kde.org" \
href="mailto:Kde-bindings@kde.org">Kde-bindings@kde.org</a><br><a \
href="https://mail.kde.org/mailman/listinfo/kde-bindings" \
target="_blank">https://mail.kde.org/mailman/listinfo/kde-bindings</a><br><br><br></div> \
</div> </div>   </div></body></html>



_______________________________________________
Kde-bindings mailing list
Kde-bindings@kde.org
https://mail.kde.org/mailman/listinfo/kde-bindings


[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic