[TC 10.0b7] Wrong Button Size & Position

Bug reports will be moved here when the described bug has been fixed

Moderators: white, Hacker, petermad, Stefan2

User avatar
thomasmolover
Member
Member
Posts: 160
Joined: 2016-12-12, 01:32 UTC

[TC 10.0b7] Wrong Button Size & Position

Post by *thomasmolover »

If checked the Font -> auto adjust dlhbox to large font, the copy/move dlgbox button would display strange

like this

https://imgur.com/a/MYsNEBV

my monitor is 4k & 150%
User avatar
thomasmolover
Member
Member
Posts: 160
Joined: 2016-12-12, 01:32 UTC

Re: [TC 10.0b7] Wrong Button Size & Position

Post by *thomasmolover »

I did not set any display options for TC to adapt to zoom
User avatar
ghisler(Author)
Site Admin
Site Admin
Posts: 48021
Joined: 2003-02-04, 09:46 UTC
Location: Switzerland
Contact:

Re: [TC 10.0b7] Wrong Button Size & Position

Post by *ghisler(Author) »

1. Which font do you use for dialogs?
2. Why do you set the DPI to 96? Can you uncheck this please?
Author of Total Commander
https://www.ghisler.com
User avatar
thomasmolover
Member
Member
Posts: 160
Joined: 2016-12-12, 01:32 UTC

Re: [TC 10.0b7] Wrong Button Size & Position

Post by *thomasmolover »

1. The error happened with any font, include Arial, Time New Roman and any Chinese font etc.
2. This is one of my test, if Uncheck this, the error happened. I must set the DPI with any number like 96 144 & uncheck the auto adjust.

https://imgur.com/a/IBpn5UY
User avatar
thomasmolover
Member
Member
Posts: 160
Joined: 2016-12-12, 01:32 UTC

Re: [TC 10.0b7] Wrong Button Size & Position

Post by *thomasmolover »

If edited the wincmd.ini ShowCopyOptions=1, the button display exactly
User avatar
ghisler(Author)
Site Admin
Site Admin
Posts: 48021
Joined: 2003-02-04, 09:46 UTC
Location: Switzerland
Contact:

Re: [TC 10.0b7] Wrong Button Size & Position

Post by *ghisler(Author) »

Unfortunately I cannot reproduce it, not even with ShowCopyOptions=1.

Could you please send me your wincmd.ini to support at ghisler dot com? You should remove sensitive data like directory history and bookmarks, but please keep other sections like [Configuration] or the resolution-specific which look like this: [3840x2160 (8x16)]
Author of Total Commander
https://www.ghisler.com
User avatar
thomasmolover
Member
Member
Posts: 160
Joined: 2016-12-12, 01:32 UTC

Re: [TC 10.0b7] Wrong Button Size & Position

Post by *thomasmolover »

I've send the ini pack to your email address

There may be a problem with my narrative.
What I mean is, if ShowCopyOptions=0, then this error will appear, if on the contrary ShowCopyOptions=1, then the display is normal in any state.

I read the ini file, there is no sections about the resolution in the file.
User avatar
ghisler(Author)
Site Admin
Site Admin
Posts: 48021
Joined: 2003-02-04, 09:46 UTC
Location: Switzerland
Contact:

Re: [TC 10.0b7] Wrong Button Size & Position

Post by *ghisler(Author) »

I see - unfortunately I was unable to reproduce the bug. I also looked through the sources, but the width of the OK button isn't changed in that dialog.

I will try settings the width of the OK button to the same width as the background button. Hopefully this will fix the problem you have. Please check it with TC 10 beta 8 when it comes out later this week. Thanks!
Author of Total Commander
https://www.ghisler.com
User avatar
thomasmolover
Member
Member
Posts: 160
Joined: 2016-12-12, 01:32 UTC

Re: [TC 10.0b7] Wrong Button Size & Position

Post by *thomasmolover »

OMG! I seem to know how the error happended!

There If the WDX plugins AUTORUN enabled the module MoveOptionsButton with action, the Error Occube!!!

I moved the action line, that the button run OK.
User avatar
thomasmolover
Member
Member
Posts: 160
Joined: 2016-12-12, 01:32 UTC

Re: [TC 10.0b7] Wrong Button Size & Position

Post by *thomasmolover »

I test the TC version 1 by 1, And the problem was made by autorun Plugins in all of TC 10.0beta 64bit with high resolution, but not in 9.xx.
User avatar
thomasmolover
Member
Member
Posts: 160
Joined: 2016-12-12, 01:32 UTC

Re: [TC 10.0b7] Wrong Button Size & Position

Post by *thomasmolover »

This problem seems to be caused by the button row of the TC 10.0 Copy Options dialog box being too full.
User avatar
ghisler(Author)
Site Admin
Site Admin
Posts: 48021
Joined: 2003-02-04, 09:46 UTC
Location: Switzerland
Contact:

Re: [TC 10.0b7] Wrong Button Size & Position

Post by *ghisler(Author) »

I'm trying to fix the width in beta 8, but it depends on when AUTORUN changes the button width - if it does it after my function, then it will still be wrong...
Author of Total Commander
https://www.ghisler.com
User avatar
thomasmolover
Member
Member
Posts: 160
Joined: 2016-12-12, 01:32 UTC

Re: [TC 10.0b7] Wrong Button Size & Position

Post by *thomasmolover »

I found that if the TC adopts a high-resolution screen, the property setting UI button of the TC WFX plug-in will not be displayed completely due to the change of the window size, as shown in the figure.

https://imgur.com/undefined

If the copy UI button display error is due to the autorun plug-in being affected by the windows display mechanism, it is judged as an error.
User avatar
ghisler(Author)
Site Admin
Site Admin
Posts: 48021
Joined: 2003-02-04, 09:46 UTC
Location: Switzerland
Contact:

Re: [TC 10.0b7] Wrong Button Size & Position

Post by *ghisler(Author) »

Unfortunately your imgur link doesn't work, could you check it please?
Author of Total Commander
https://www.ghisler.com
User avatar
thomasmolover
Member
Member
Posts: 160
Joined: 2016-12-12, 01:32 UTC

Re: [TC 10.0b7] Wrong Button Size & Position

Post by *thomasmolover »

Yes, I upload again!

https://imgur.com/a/ClYzeWP
Post Reply