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

List:       kde-devel
Subject:    Re: Fix for kfilewidget.cpp
From:       "Michael Howell" <mhowell123 () gmail ! com>
Date:       2008-10-18 3:03:10
Message-ID: a2927be10810172003j2505f5c5m4324fb7413bc58d9 () mail ! gmail ! com
[Download RAW message or body]

[Attachment #2 (multipart/alternative)]


> Could it be the "kfiledialog:///OpenDialog" that triggers a problem?
Nope. The KFileWidget documentaion explicitly says what this does: "An URL
starting with 'kfiledialog:///<keyword>' to start in the directory last used
by a filedialog in the same application that specified the same keyword."

On 10/17/08, Cyrille Berger <cberger@cberger.net> wrote:
>
> On Friday 17 October 2008, David Boosalis wrote:
> > Rafael.
> > Maybe some one more intimate with kword can address this issue.  I've
> seen
> > this problem for sometime with koffice in SVN and that's why I peaked a
> > little under the covers to see what it is the matter.  Eventually they
> have
> > to address it, or maybe it's just my system and this is all a mute point.
>
> Nope it's not just your system, well, at least I have heard other people
> having crash in kfilewidget at startup.
>
> As for the fancy things we do:
>
>     m_fileWidget = new KFileWidget(KUrl("kfiledialog:///OpenDialog"),
> this);
>     m_fileWidget->setOperationMode(KFileWidget::Opening);
>     m_fileWidget->setFilter(mimeFilter.join(" "));
>     layout->addWidget(m_fileWidget, 0, 0, 1, -1);
>
>
> and later:
>
>     m_fileWidget->accept();
>     emit openExistingUrl(m_fileWidget->selectedUrl());
>
> Could it be the "kfiledialog:///OpenDialog" that triggers a problem ? (no
> idea
> what it is suppose to mean, all I can say is that we have been using that
> start url for more than 3 years now ;) )
>
>
> --
>
> Cyrille Berger
>
>
> >> Visit http://mail.kde.org/mailman/listinfo/kde-devel#unsub to
> unsubscribe <<
>



-- 
Michael Howell
mhowell123@gmail.com

[Attachment #5 (text/html)]

&gt; Could it be the &quot;kfiledialog:///OpenDialog&quot; that triggers a \
problem?<br>Nope. The KFileWidget documentaion explicitly says what this does: \
&quot;An URL starting with &#39;kfiledialog:///&lt;keyword&gt;&#39; to start in the \
directory last used by a filedialog in the same application that specified the same \
keyword.&quot;<br> <br><div><span class="gmail_quote">On 10/17/08, <b \
class="gmail_sendername">Cyrille Berger</b> &lt;<a \
href="mailto:cberger@cberger.net">cberger@cberger.net</a>&gt; \
wrote:</span><blockquote class="gmail_quote" \
style="margin:0;margin-left:0.8ex;border-left:1px #ccc solid;padding-left:1ex"> On \
Friday 17 October 2008, David Boosalis wrote:<br> &gt; Rafael.<br> &gt; Maybe some \
one more intimate with kword can address this issue.&nbsp;&nbsp;I&#39;ve seen<br> \
&gt; this problem for sometime with koffice in SVN and that&#39;s why I peaked a<br>  \
&gt; little under the covers to see what it is the matter.&nbsp;&nbsp;Eventually they \
have<br> &gt; to address it, or maybe it&#39;s just my system and this is all a mute \
point.<br> <br>Nope it&#39;s not just your system, well, at least I have heard other \
people<br>  having crash in kfilewidget at startup.<br> <br> As for the fancy things \
we do:<br> <br>&nbsp;&nbsp;&nbsp;&nbsp;m_fileWidget = new \
KFileWidget(KUrl(&quot;kfiledialog:///OpenDialog&quot;), \
this);<br>&nbsp;&nbsp;&nbsp;&nbsp;m_fileWidget-&gt;setOperationMode(KFileWidget::Opening);<br>
 &nbsp;&nbsp;&nbsp;&nbsp;m_fileWidget-&gt;setFilter(mimeFilter.join(&quot; \
&quot;));<br>&nbsp;&nbsp;&nbsp;&nbsp;layout-&gt;addWidget(m_fileWidget, 0, 0, 1, \
-1);<br> <br> <br> and later:<br> \
<br>&nbsp;&nbsp;&nbsp;&nbsp;m_fileWidget-&gt;accept();<br>&nbsp;&nbsp;&nbsp;&nbsp;emit \
openExistingUrl(m_fileWidget-&gt;selectedUrl());<br>  <br> Could it be the \
&quot;kfiledialog:///OpenDialog&quot; that triggers a problem ? (no idea<br> what it \
is suppose to mean, all I can say is that we have been using that<br> start url for \
more than 3 years now ;) )<br>  <br> <br> --<br> <br>Cyrille Berger<br> <br><br> \
&gt;&gt; Visit <a href="http://mail.kde.org/mailman/listinfo/kde-devel#unsub">http://mail.kde.org/mailman/listinfo/kde-devel#unsub</a> \
to unsubscribe &lt;&lt;<br> </blockquote> </div><br><br clear="all"><br>-- \
<br>Michael Howell<br><a href="mailto:mhowell123@gmail.com">mhowell123@gmail.com</a>



>> Visit http://mail.kde.org/mailman/listinfo/kde-devel#unsub to unsubscribe <<


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

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