View Single Post
  #17 (permalink)  
Old April 30th, 2004
limenut limenut is offline
Enthusiast
 
Join Date: July 12th, 2003
Posts: 46
limenut is flying high
Default Re: Re: Magnet URI dialog

Quote:
Originally posted by zab
Magnets can contain anything and everything (and sometimes the same item several times), so there is no standard way to extract a more human-readable representation of the file contained in the magnet.

Setting a fixed maximum length may be an option but it is unlikely it will be in 4.0. Feel free to look around the code - we're open for ideas/suggestions. (com/limegroup/gnutella/gui/search/MagnetClipboardListener.java is where most of the related stuff happens)
When spaces are intentionally added into the magnet URI, LimeWire properly wraps the magnet URI in the dialog. Without spaces, no wrapping occurs and it simply makes the width of the window be as wide as the magnet URI is, no matter how long the magnet URI is, even if the resulting dialog doesn't even fit the screen. That is what I was referring to. So if someone actually wanted to read the entire magnet URI, they have to drag the dialog around and if the URI is long enough, it might even be possible that the Yes and No buttons might not even be visible on the screen when copying a magnet URI without having to drag the dialog box around.

Last edited by limenut; April 30th, 2004 at 03:55 AM.