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

List:       kde-devel
Subject:    Re: I developed a workaround for Qt5.4 DND bug that KDE apps might need
From:       PCMan <pcman.tw () gmail ! com>
Date:       2016-01-16 13:35:03
Message-ID: CAAMR6=4v3_8X60UP39-xpJMWd1BuWwsBDaM-wukhQ=gJE4_shw () mail ! gmail ! com
[Download RAW message or body]

[Attachment #2 (multipart/alternative)]


On Sat, Jan 16, 2016 at 6:20 PM, Kevin Krammer <krammer@kde.org> wrote:

> Hi,
>
> On Saturday, 2016-01-16, 12:43:53, PCMan wrote:
>
> > Since DND is crucial for a modern desktop environment and it's an
> upstream
> > bug, I believe that KDE is also affected.
> > Luckily I found some quick workarounds, so I'm gonna share it with you.
> >
> > https://github.com/lxde/pcmanfm-qt/pull/295/files
> >
> > I made it an independent C++ class which is licensed under LGPL, so it
> can
> > easily be reused by other Qt projects.
> > Just add two lines in your main() and it will work automagically.
> >
> > The bug still exists in Qt 5.5 and it's not yet fixed in Qt upstream.
>
> Sorry, this may be a stupid question: is this a proper fix or more like a
> hack?
>
It's a quick hack rather than a proper fix.
The pusepose of this hack is simple.
Make it work for the window period before the users get the latest Qt which
contain a proper fix.


> If the former, has it been submitted upstream?
>
There's a patch in the Qt bug tracker, but nobody tests it.
The bug is left there for quite some time.
Even if it's fixed, for distributions like Debian, it takes ages for the
users to get the update.
So it's good to have some workaround. :-)

Cheers!


>
> Cheers,
> Kevin
> --
> Kevin Krammer, KDE developer, xdg-utils developer
> KDE user support, developer mentoring
>
>
> >> Visit http://mail.kde.org/mailman/listinfo/kde-devel#unsub to
> unsubscribe <<
>
>

[Attachment #5 (text/html)]

<div dir="ltr"><div class="gmail_extra"><div class="gmail_quote">On Sat, Jan 16, 2016 \
at 6:20 PM, Kevin Krammer <span dir="ltr">&lt;<a href="mailto:krammer@kde.org" \
target="_blank">krammer@kde.org</a>&gt;</span> wrote:<br><blockquote \
class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc \
solid;padding-left:1ex">Hi,<br> <span class=""><br>
On Saturday, 2016-01-16, 12:43:53, PCMan wrote:<br>
<br>
&gt; Since DND is crucial for a modern desktop environment and it&#39;s an \
upstream<br> &gt; bug, I believe that KDE is also affected.<br>
&gt; Luckily I found some quick workarounds, so I&#39;m gonna share it with you.<br>
&gt;<br>
&gt; <a href="https://github.com/lxde/pcmanfm-qt/pull/295/files" rel="noreferrer" \
target="_blank">https://github.com/lxde/pcmanfm-qt/pull/295/files</a><br> &gt;<br>
&gt; I made it an independent C++ class which is licensed under LGPL, so it can<br>
&gt; easily be reused by other Qt projects.<br>
&gt; Just add two lines in your main() and it will work automagically.<br>
&gt;<br>
&gt; The bug still exists in Qt 5.5 and it&#39;s not yet fixed in Qt upstream.<br>
<br>
</span>Sorry, this may be a stupid question: is this a proper fix or more like a \
hack?<br></blockquote><div>It&#39;s a quick hack rather than a proper \
fix.<br></div><div>The pusepose of this hack is simple.<br>Make it work for the \
window period before the users get the latest Qt which contain a proper \
fix.<br></div><div>  </div><blockquote class="gmail_quote" style="margin:0 0 0 \
.8ex;border-left:1px #ccc solid;padding-left:1ex"> If the former, has it been \
submitted upstream?<br></blockquote><div>There&#39;s a patch in the Qt bug tracker, \
but nobody tests it.<br>The bug is left there for quite some time.<br></div><div>Even \
if it&#39;s fixed, for distributions like Debian, it takes ages for the users to get \
the update.<br></div><div>So it&#39;s good to have some workaround. \
:-)<br></div><div><br>Cheers!<br></div><div>  </div><blockquote class="gmail_quote" \
style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"> <br>
Cheers,<br>
Kevin<br>
<span class="HOEnZb"><font color="#888888">--<br>
Kevin Krammer, KDE developer, xdg-utils developer<br>
KDE user support, developer mentoring<br>
</font></span><br><br>
&gt;&gt; Visit <a href="http://mail.kde.org/mailman/listinfo/kde-devel#unsub" \
rel="noreferrer" target="_blank">http://mail.kde.org/mailman/listinfo/kde-devel#unsub</a> \
to unsubscribe &lt;&lt;<br> <br></blockquote></div><br></div></div>


[Attachment #6 (text/plain)]


>> 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