TC7rc5 - Lister, HTML text, Copy URL, wrong URL copied

The behaviour described in the bug report is either by design, or would be far too complex/time-consuming to be changed

Moderators: Hacker, petermad, Stefan2, white

Post Reply
User avatar
white
Power Member
Power Member
Posts: 5784
Joined: 2003-11-19, 08:16 UTC
Location: Netherlands

TC7rc5 - Lister, HTML text, Copy URL, wrong URL copied

Post by *white »

* View a HTML file (F3 View).
* Place the mouse cursor over a hyperlink and do not use the mouse anymore.
* Enable text cursor (F6) if not enabled yet.
* Move the text cursor to a hyperlink
* Press the context menu key
* Press "U" to copy the URL to clipboard.

The link at the mouse cursor is copied and not the link at the text cursor.


[edit]
Same thing happens for "Download target as" if this is available in the context menu.
[/edit]
Last edited by white on 2007-06-06, 08:22 UTC, edited 1 time in total.
User avatar
DrShark
Power Member
Power Member
Posts: 1872
Joined: 2006-11-03, 22:26 UTC
Location: Kyiv, 68/262
Contact:

Post by *DrShark »

white wrote:The link at the mouse cursor is copied and not the link at the text cursor.
This is valid, I think...
Maybe one improvement can be here is showing context menu over the link which must be copied.
User avatar
petermad
Power Member
Power Member
Posts: 16024
Joined: 2003-02-05, 20:24 UTC
Location: Denmark
Contact:

Post by *petermad »

Confirmed!
License #524 (1994)
Danish Total Commander Translator
TC 11.51 32+64bit on Win XP 32bit & Win 7, 8.1 & 10 (22H2) 64bit, 'Everything' 1.5.0.1391a
TC 3.60b4 on Android 6, 13, 14
TC Extended Menus | TC Languagebar | TC Dark Help | PHSM-Calendar
StatusQuo
Power Member
Power Member
Posts: 1524
Joined: 2007-01-17, 21:36 UTC
Location: Germany

Post by *StatusQuo »

Confirmed.
The same happens using the context menu via keyboard now (Shift-F10 or Win menu key).
Who the hell is General Failure, and why is he reading my disk?
-- TC starter menu: Fast yet descriptive command access!
User avatar
Sam_Zen
Power Member
Power Member
Posts: 700
Joined: 2005-02-08, 22:59 UTC
Location: NL
Contact:

Post by *Sam_Zen »

Confirmed.
2) Although placing the mouse over a hyperlinks first results in activation of the browser to go for the URL.
Which I have to cancel, and is quite annoying. Can this behaviour be disabled ?

I've got simple stats-files with a hyperlink on every line, so tested further.
It came out to be even worse. If one repeats the procedure from 4) things get quite out of control ...
The second time the copied link was a random line in the list.
A few repeats further the context-menu only showed 'Copy all URLs' instead of the normal 3 items...
0.618033988
User avatar
white
Power Member
Power Member
Posts: 5784
Joined: 2003-11-19, 08:16 UTC
Location: Netherlands

Post by *white »

Sam_Zen wrote:Confirmed.
2) Although placing the mouse over a hyperlinks first results in activation of the browser to go for the URL.
Which I have to cancel, and is quite annoying. Can this behaviour be disabled ?
I can not confirm this behavior. Moving the cursor over a link without clicking does nothing (clean install).
Sam_Zen wrote: I've got simple stats-files with a hyperlink on every line, so tested further.
It came out to be even worse. If one repeats the procedure from 4) things get quite out of control ...
The second time the copied link was a random line in the list.
A few repeats further the context-menu only showed 'Copy all URLs' instead of the normal 3 items...
I can not confirm this either. Note that when the window is scrolling the mouse cursor would be on something else!

BTW. There are no normal 3 items. The number of items depends on the kind of link. A relative link will have only two items.
User avatar
ghisler(Author)
Site Admin
Site Admin
Posts: 50475
Joined: 2003-02-04, 09:46 UTC
Location: Switzerland
Contact:

Post by *ghisler(Author) »

Not really a big problem - TC copies the link for which the tooltip is shown, and doesn't offer the option if the mouse cursor isn't over any URL at all. Therefore it should be clear to the user what hotlink is copied. I will think about a solution for keyboard users after the release of TC7.
Although placing the mouse over a hyperlinks first results in activation of the browser to go for the URL.
This only happens when you actually left click on the hotlink. To copy the URL, it's sufficient to right click on it.
Author of Total Commander
https://www.ghisler.com
User avatar
Sam_Zen
Power Member
Power Member
Posts: 700
Joined: 2005-02-08, 22:59 UTC
Location: NL
Contact:

Post by *Sam_Zen »

I see. I didn't notice the connection with the tooltip.
So my remarks at 2) are nonsense. Now I tested it the right way.
0.618033988
Post Reply