View Single Post
  #10 (permalink)  
Old April 28th, 2004
zab
Guest
 
Posts: n/a
Default Re: Magnet URI dialog

Quote:
Originally posted by limenut
This is a minor cosmetic bug. So it isn't a biggie.

Running LimeWire 3.9.6 beta, java 1.4.2_04, in SuSE Linux 9.0 (at 800x600). When you copy a magnet URI to the clipboard, then switch to LimeWire, LimeWire stretches the dialog box to the width of the full magnet URI. So what I see is a dialog box that is wider than my screen can fit.

One sample URI that causes this is this:
magnet:?xt=urn:sha1:GZLEHA3FR46YNHEU5AEFUTAM5HYEEE MF &dn=LimeWireLinux.bin &xs=http://<my-ip>:6346/uri-res/N2R ?urn:sha1:GZLEHA3FR46YNHEU5AEFUTAM5HYEEEMF
(intentionally broken up with spaces to prevent it from stretching the forum's width)

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)