https://ibb.co/mBnzqHp
Here I tried to cancel the copy process and got this dialog. And got a few questions:
1) Why there are 2 areas with collapsed text, marked by ellipses inside the string and with red lines by me?
Yes, I understand that we must somehow to fit veeeeerrrry-loooong string into current size.
BUT! For this it should be enough to cut only MIDDLE part of the whole string! Not somewhere in it beginning,
not somewhere in the end. ONLY in the middle! And ONLY once!
2) Why tooltip was places so dooooown below? And not near the mouse cursor?
Suggestion: in this form we even could use multiline-label instead of the single-line as it is now! In this case (probably even in most cases) we would not even need hints and shortening of the text - we could see everything at once!
[TC11b7] Too truncated file path in the dialog box
Moderators: Hacker, petermad, Stefan2, white
[TC11b7] Too truncated file path in the dialog box
#146217 personal license
- ghisler(Author)
- Site Admin
- Posts: 50390
- Joined: 2003-02-04, 09:46 UTC
- Location: Switzerland
- Contact:
Re: [TC11b7] Too truncated file path in the dialog box
I think I'm using DT_PATH_ELLIPSIS here for truncating. I will heck why it is so short, and why the tooltip is so far down.
Author of Total Commander
https://www.ghisler.com
https://www.ghisler.com
Re: [TC11b7] Too truncated file path in the dialog box
Looks like bug is fixed now
But I really still don't understand = why the path gets TWO zones with ellipsis when trimmed - there should have been one enough - at the end of the line. But okay. let it be so. Now, in general terms, it looks quite nice and convenient.
But I really still don't understand = why the path gets TWO zones with ellipsis when trimmed - there should have been one enough - at the end of the line. But okay. let it be so. Now, in general terms, it looks quite nice and convenient.
Last edited by AntonyD on 2023-06-22, 10:47 UTC, edited 1 time in total.
#146217 personal license
- ghisler(Author)
- Site Admin
- Posts: 50390
- Joined: 2003-02-04, 09:46 UTC
- Location: Switzerland
- Contact:
Re: [TC11b7] Too truncated file path in the dialog box
That's the doing of the DT_PATH_ELLIPSIS parameter passed to DrawText: When the available space is too narrow, DrawText still draws too far with this parameter, so I now combine it with DT_END_ELLIPSIS to avoid any cut characters.
Author of Total Commander
https://www.ghisler.com
https://www.ghisler.com
Re: [TC11b7] Too truncated file path in the dialog box
Ok, this one could be moved to Fixed section of the forum.
#146217 personal license
Re: [TC11b7] Too truncated file path in the dialog box
Moderator message from: white » 2023-06-22, 12:52 UTC
Moved to Fixed bugs.