Project

General

Profile

Actions

Bug #12774

closed

TkDND cannot handle text/plain, text/uri-list type well

Added by dogatana (Toshihiko Ichida) over 7 years ago. Updated about 7 years ago.

Status:
Rejected
Assignee:
-
Target version:
-
ruby -v:
ruby 2.3.0p0 (2015-12-25 revision 53290) [i386-mingw32]
[ruby-core:77305]

Files

diff_u.txt (2.42 KB) diff_u.txt dogatana (Toshihiko Ichida), 09/18/2016 01:36 PM

Updated by dogatana (Toshihiko Ichida) over 7 years ago

  • File diff_u.txt diff_u.txt added
  • Subject changed from TkDND で text/plain を指定してmo to TkDND で text/plain, text/uri-list を指定時の動作不良
  • ruby -v set to ruby 2.3.0p0 (2015-12-25 revision 53290) [i386-mingw32]

I'm sorry that I posted this to ruby-core unintentionally.

It seems that I cannot change the property of this ticket

by myself, so I try to explain this in English

ext/tk/lib/tkextlib/tkdnd.rb cannot handle text and filelist well.

  1. text/plain:
    it does not give a plain text to caller but a array of Srting splitted by white space.
  2. text/uri-list: it gives unnecessarily encoded String .
  3. text/uri-list: it does not cover Windows filename that uses space and backspace in it.

There was a discussion about this in [http://blade.nagaokaut.ac.jp/cgi-bin/scat.rb/ruby/ruby-list/50357] and I suggested a patch to fix above issues.

Ruby 2.4 seems to have already dropped Tk, but I'm happy that this issues will bef fixed in the next release even if it's a gem.

I attach the result of "diff-u"

I'm sorry again for bothering you all

Updated by dogatana (Toshihiko Ichida) over 7 years ago

  • Subject changed from TkDND で text/plain, text/uri-list を指定時の動作不良 to TkDND cannot handle text/plain, text/uri-list type well

Updated by hsbt (Hiroshi SHIBATA) over 7 years ago

  • Status changed from Open to Rejected

Thank you for report. But tk has been extracted trunk branch.

Can you submit your patch to https://github.com/ruby/tk via pull request?

Thank you.

Updated by basex (Filipe Goncalves) about 7 years ago

There is no Issue tracker in https://github.com/ruby/tk
Where should we report bugs related with tk?

Actions

Also available in: Atom PDF

Like0
Like0Like0Like0Like0