Progress data in background window truncated/overlap
Moderators: Hacker, petermad, Stefan2, white
Re: Progress data in background window truncated/overlap
I fixed my previous post: I wrote download button instead of background button. I also added total size in k.
Re: Progress data in background window truncated/overlap
It appears that the issue causing the size numbers to not be visible due to weird overlapping has been resolved. However, there seems to be some variation in alignment now. The alignment can either be halfway between the progress bar and the Start button, or it can be aligned with the right side of the progress bar. And wouldn't using all available space be like the mockup in this screenshot? In the mockup, I made the progress percentage right-aligned, consistent with foreground copying.HISTORY.TXT wrote:12.05.23 Fixed: Copy in background (F5 - Enter - Background): Use all available space for number of files and size copied (32/64)
- ghisler(Author)
- Site Admin
- Posts: 50421
- Joined: 2003-02-04, 09:46 UTC
- Location: Switzerland
- Contact:
Re: Progress data in background window truncated/overlap
Yes, TC will align the size field to the right of the progress bar if there is enough space. Otherwise it will align it to the right of the number of files field and use all the available space up to the buttons. This is intentional because this way it makes the least jumps.However, there seems to be some variation in alignment now.
Author of Total Commander
https://www.ghisler.com
https://www.ghisler.com
Re: Progress data in background window truncated/overlap
If you look at my screenshot where the progress is at 8%, you see that there isn't enough space. The minus sign doesn't fit in there and it looks quite unreadable.ghisler(Author) wrote: 2023-05-18, 13:06 UTC Yes, TC will align the size field to the right of the progress bar if there is enough space.
What about using the design you see in my mockup? Wouldn't that be simpler and more in line with the design of foreground copying? Or is this design not possible or not to your liking?ghisler(Author) wrote: 2023-05-18, 13:06 UTC Otherwise it will align it to the right of the number of files field and use all the available space up to the buttons. This is intentional because this way it makes the least jumps.
- ghisler(Author)
- Site Admin
- Posts: 50421
- Joined: 2003-02-04, 09:46 UTC
- Location: Switzerland
- Contact:
Re: Progress data in background window truncated/overlap
Sorry, I cannot reproduce that.If you look at my screenshot where the progress is at 8%, you see that there isn't enough space. The minus sign doesn't fit in there and it looks quite unreadable.
Author of Total Commander
https://www.ghisler.com
https://www.ghisler.com
Re: Progress data in background window truncated/overlap
Here is an animated gif showing it.
- ghisler(Author)
- Site Admin
- Posts: 50421
- Joined: 2003-02-04, 09:46 UTC
- Location: Switzerland
- Contact:
Re: Progress data in background window truncated/overlap
There was no overlap, but the gap was a bit small (?).
Author of Total Commander
https://www.ghisler.com
https://www.ghisler.com
Re: Progress data in background window truncated/overlap
So you are seeing the minus sign that I don't see?
Re: Progress data in background window truncated/overlap
2ghisler(Author)
How many more reports of problems with this window does it take to finally be rewritten?
Its size is disastrously small! We could forget about it - if we ALL dialogs / windows of Total supported free resizing, as is possible in applications written in Qt, for example. But you have chosen the difficult path. Use only what was created... what year was the compiler you use released?
Most of these obsolete components are not suitable for modern operating systems. Either there is no support for resizing, or they don’t support multithreading, or they don’t support themes, or ... a bunch or ...
Maybe it's time to start changing the fundamentals?
How many more reports of problems with this window does it take to finally be rewritten?
Its size is disastrously small! We could forget about it - if we ALL dialogs / windows of Total supported free resizing, as is possible in applications written in Qt, for example. But you have chosen the difficult path. Use only what was created... what year was the compiler you use released?
Most of these obsolete components are not suitable for modern operating systems. Either there is no support for resizing, or they don’t support multithreading, or they don’t support themes, or ... a bunch or ...
Maybe it's time to start changing the fundamentals?
#146217 personal license
Re: Progress data in background window truncated/overlap
AntonyD,
Roman
The year when the compilers producing the fastest code were released.what year was the compiler you use released?
Roman
Mal angenommen, du drückst Strg+F, wählst die FTP-Verbindung (mit gespeichertem Passwort), klickst aber nicht auf Verbinden, sondern fällst tot um.
Re: Progress data in background window truncated/overlap
On modern computers, the main thing is not just speed - but functionality and extensibility.
If we stick to the fact that Total can still be launched on windows 3.11, the development of the product will definitely freeze, IMHO.
If we stick to the fact that Total can still be launched on windows 3.11, the development of the product will definitely freeze, IMHO.
#146217 personal license
Re: Progress data in background window truncated/overlap
2AntonyD
It's not the compiler that has any influence on resizable windows or multi-threading or anything else you mentioned. Anything compiled for Windows can use these features. It's just a matter of the actual implementation.
I agree that it's high time to increase the window size of the background transfer window (and also other windows) and/or make it resizable. Other issues will probably creep up when doing so because all GUI elements must get proper anchors and so on.
Still, please keep in mind that TC might be used on low resolutions of like 800x600 (Windows PE!) so it MUST work properly in such environments, too. It's annoying when GUI elements are too tight together but it's even more annoying when certain window elements can't be reached just because a window is too large for the current resolution because then it becomes unusable!
Regards
Dalai
It's not the compiler that has any influence on resizable windows or multi-threading or anything else you mentioned. Anything compiled for Windows can use these features. It's just a matter of the actual implementation.
I agree that it's high time to increase the window size of the background transfer window (and also other windows) and/or make it resizable. Other issues will probably creep up when doing so because all GUI elements must get proper anchors and so on.
Still, please keep in mind that TC might be used on low resolutions of like 800x600 (Windows PE!) so it MUST work properly in such environments, too. It's annoying when GUI elements are too tight together but it's even more annoying when certain window elements can't be reached just because a window is too large for the current resolution because then it becomes unusable!
Regards
Dalai
#101164 Personal licence
Ryzen 5 2600, 16 GiB RAM, ASUS Prime X370-A, Win7 x64
Plugins: Services2, Startups, CertificateInfo, SignatureInfo, LineBreakInfo - Download-Mirror
Ryzen 5 2600, 16 GiB RAM, ASUS Prime X370-A, Win7 x64
Plugins: Services2, Startups, CertificateInfo, SignatureInfo, LineBreakInfo - Download-Mirror
- ghisler(Author)
- Site Admin
- Posts: 50421
- Joined: 2003-02-04, 09:46 UTC
- Location: Switzerland
- Contact:
Re: Progress data in background window truncated/overlap
2white
Sorry, I found the problem now by explicitly setting the strings to what you had: There was a calculation error in my code where I added 4 to the available space instead of subtracting it, so in some cases the available space was seen as sufficient, while it wasn't.
Sorry, I found the problem now by explicitly setting the strings to what you had: There was a calculation error in my code where I added 4 to the available space instead of subtracting it, so in some cases the available space was seen as sufficient, while it wasn't.
Author of Total Commander
https://www.ghisler.com
https://www.ghisler.com
Re: Progress data in background window truncated/overlap
Tested OK using TC 11.00b4 32-bit and 64-bit.
Moderator message from: white » 2023-05-24, 23:14 UTC
Moved to Fixed bugs.