TC 7.50a: Quicksearch/Quickfilter: file display on exit

Please report only one bug per message!

Moderators: white, Hacker, petermad, Stefan2

Post Reply
StatusQuo
Power Member
Power Member
Posts: 1524
Joined: 2007-01-17, 21:36 UTC
Location: Germany

TC 7.50a: Quicksearch/Quickfilter: file display on exit

Post by *StatusQuo »

Hi,

in TC 7.50a:
when using Quickfilter to locate one of the last files and then leaving it with ESC/ESC, TC scrolls the file under the cursor to be displayed in the last line.
This does not work correctly when a horizontal scrollbar is displayed:
the scrollbar hides most of the cursor line (more or less, depending on window size).

:arrow: If a horizontal scrollbar is displayed, the list should be scrolled 1 additional line up compared to no-scrollbar-view.


To reproduce:
- enter e.g. Windows directory (more files than fitting in the window, thus showing vertical scrollbar)
- check and maybe adjust TC's window size: set cursor on the last displayed file => below the cursor there a few pixels of background and maybe 1 pixel of the next file name should be visible
- switch to a user defined view with activated horizontal scrollbar and enlarge the "Name" column far enough to show the horizontal scrollbar
- use Quicksearch to locate a file somewhere down in the list (not displayed when cursor is at the top), e.g. Zapotek.bmp
- enable Quickfilter mode (Ctrl+S), if not already active
- press ESC twice

Only a few pixels of the cursor are visible, the selected file name is almost completely covered by the scrollbar.
Who the hell is General Failure, and why is he reading my disk?
-- TC starter menu: Fast yet descriptive command access!
User avatar
petermad
Power Member
Power Member
Posts: 14795
Joined: 2003-02-05, 20:24 UTC
Location: Denmark
Contact:

Post by *petermad »

I can not reproduce this.

What is your setting of MinLineHeight ?
What is your current setting of FontSize, FontName, FontWeight and Iconsize32 ?
License #524 (1994)
Danish Total Commander Translator
TC 11.03 32+64bit on Win XP 32bit & Win 7, 8.1 & 10 (22H2) 64bit, 'Everything' 1.5.0.1371a
TC 3.50 on Android 6 & 13
Try: 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 »

Indeed, it's not as easy to reproduce as I thought (thanks for trying).

Below is a complete WINCMD.INI, please adjust the path for left/right to your TC directory.
After starting you just need to press Ctrl+Alt+U, ESC, ESC - the cursor should be out of the screen now.

Code: Select all

[left]
path=D:\Tools\WinCmd\
SpecialView=3

[right]
path=D:\Tools\WinCmd\
SpecialView=3

[Configuration]
QuickSearchAutoFilter=1
ResolutionSpecific=0

[CustomFields]
Widths1=93,35,48,72,19,9
Options1=-1|1
AutoLoad=0
Titles=Test_empty
Headers1=Größe\nDatum\nAttr\nHrdlnks
Contents1=[=tc.fullname]\n[=tc.fullname]\n[=tc.fullname]\n[=tc.fullname]

[AllResolutions]
x=0
y=0
dx=996
dy=547
maximized=0

Who the hell is General Failure, and why is he reading my disk?
-- TC starter menu: Fast yet descriptive command access!
User avatar
MVV
Power Member
Power Member
Posts: 8702
Joined: 2008-08-03, 12:51 UTC
Location: Russian Federation

Post by *MVV »

With my INI I can't confirm the bug, after double-escaping next item after selected is behind scroll-bar.

But with your INI I can confirm that selected item is hidden behind scrollbar.

BTW, this bug exist only when ResolutionSpecific is set to 0. If you remove ResolutionSpecific value from INI and restart TC, all will work as need. If you return line back, selected item will be hidden behind scrollbar again. Also there are another things that have influence since I can't confirm bug with my INI with ResolutionSpecific=0.
StatusQuo
Power Member
Power Member
Posts: 1524
Joined: 2007-01-17, 21:36 UTC
Location: Germany

Post by *StatusQuo »

MVV wrote:BTW, this bug exist only when ResolutionSpecific is set to 0.
Not here, I only set this to make reproducing easier.
Initially I noticed it with specific resolution settings in [1024x600 (8x16)] (same values there instead of [AllResolutions]).
Who the hell is General Failure, and why is he reading my disk?
-- TC starter menu: Fast yet descriptive command access!
Post Reply