[Bug 16609] Wine's XDnD should support text/uri-list lines not ending in \r\n

wine-bugs at winehq.org wine-bugs at winehq.org
Sat Jun 13 13:47:33 CDT 2009


http://bugs.winehq.org/show_bug.cgi?id=16609


Damjan Jovanovic <damjan.jov at gmail.com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
           Keywords|                            |integration
             Status|UNCONFIRMED                 |ASSIGNED
          Component|-unknown                    |winex11.drv
            Summary|kde 4 drag&drop not working |Wine's XDnD should support
                   |(xdnd failure)              |text/uri-list lines not
                   |                            |ending in \r\n
     Ever Confirmed|0                           |1
         Difficulty|---                         |Hours




--- Comment #7 from Damjan Jovanovic <damjan.jov at gmail.com>  2009-06-13 13:47:32 ---
Since you're not reporting back, I'll see for myself.

My guess was right.

KDE4's Konqeuror (according to Synaptic) /  Dolphin (according to itself)
provides these:

file:///path/to/file1\r\n
file:///path/to/file2

Note the missing \r\n at the end of the last line.

Wine requires the \r\n at the end of each line. When you drag just 1 file,
you'll get nothing, because that one line without a trailing \r\n is ignored.

Who's right here?

RFC 2169 Appending A:
"3) As for all text/* formats, lines are terminated with a CR LF pair, although
clients should be liberal in accepting lines with only one of those
characters."

"lines" seems to imply all lines, including the last or only line?

---

What do other file managers do?

XFCE's Thunar seems to provide a file list just like Konqueror:

file:///path/to/file1\r\n
file:///path/to/file2

I guess we have to work around it on our side.

Confirming, setting component and difficulty, and assigning to myself.

-- 
Configure bugmail: http://bugs.winehq.org/userprefs.cgi?tab=email
Do not reply to this email, post in Bugzilla using the
above URL to reply.
------- You are receiving this mail because: -------
You are watching all bug changes.



More information about the wine-bugs mailing list