Status bar bug since v20.60

Things you’d like to miss in the future...
oXYgen
Posts: 43
Joined: 26 May 2014 05:57

Status bar bug since v20.60

Post by oXYgen »

On small resolution screens (like 1024x768) searching via "Find Files" tab causes the status bar to look messy:

status_bar.png
status_bar.png (2.38 KiB) Viewed 1961 times

I have tested a lot of old versions including the following ones:
v20.60.0400 works good
v20.60.0407 is buggy

I believe the bug has been introduced in v20.60.0403 because it has three changes related to the status bar.

admin
Site Admin
Posts: 63607
Joined: 22 May 2004 16:48
Location: Win8.1, Win10, Win11, all @100%
Contact:

Re: Status bar bug since v20.60

Post by admin »

I don't manage to reproduce it.

oXYgen
Posts: 43
Joined: 26 May 2014 05:57

Re: Status bar bug since v20.60

Post by oXYgen »

Weird :eh: This may depend on the length of the paths displayed in the status bar.

I've tried to reproduce the bug on Windows 7 (x64) and Windows 10 (x64). Steps used:
  1. Change screen resolution to 1024x768.
  2. Clean install the latest XYplorer.
  3. Open C:\Windows.
  4. Start searching *.exe using "Find Files" tab with default options.
  5. Wait until the search is completed.
  6. If the bug is not seen, then proceed to the next steps.
  7. Restart XYplorer.
  8. Click "Find Now" to repeat the last search.
You may need to repeat steps 7-8 one more time because the bug seems to be elusive.

admin
Site Admin
Posts: 63607
Joined: 22 May 2004 16:48
Location: Win8.1, Win10, Win11, all @100%
Contact:

Re: Status bar bug since v20.60

Post by admin »

It always works alright here. I reduced the window size to 1024x768 to mimic your situation:
Attachments
2021-02-07_115458.png
2021-02-07_115458.png (11.44 KiB) Viewed 1883 times

oXYgen
Posts: 43
Joined: 26 May 2014 05:57

Re: Status bar bug since v20.60

Post by oXYgen »

Why don't you want to go with my steps? Unfortunately, reducing the window size is not enough. I've already tested this scenario without success. Moreover, you should not change anything (set options, maximize the window etc.). Just clean install XYplorer and try again with 1024x768 screen resolution. There must be no traces from previous installations (virtual machine?). I feel that this is the only way to reproduce the bug :bug:

admin
Site Admin
Posts: 63607
Joined: 22 May 2004 16:48
Location: Win8.1, Win10, Win11, all @100%
Contact:

Re: Status bar bug since v20.60

Post by admin »

OK, I did that. Unfortunately again no problem:
Attachments
2021-02-07_122946.png
2021-02-07_122946.png (13.79 KiB) Viewed 1873 times

admin
Site Admin
Posts: 63607
Joined: 22 May 2004 16:48
Location: Win8.1, Win10, Win11, all @100%
Contact:

Re: Status bar bug since v20.60

Post by admin »

Oh, now I found another way to reproduce it! :bug: Going to fix... :twisted:

oXYgen
Posts: 43
Joined: 26 May 2014 05:57

Re: Status bar bug since v20.60

Post by oXYgen »

Nice :tup:

oXYgen
Posts: 43
Joined: 26 May 2014 05:57

Re: Status bar bug since v20.60

Post by oXYgen »

v21.50.0115 - works better, but the bug still persists on 1280x1024 screen resolution. Try clicking "Find/Stop" button quickly several times while the search is in progress. I've found that the bug appears when the path section in the status bar changes its size and expands to the left. If you stop searching at this point, you should see overlapping sections again :(

admin
Site Admin
Posts: 63607
Joined: 22 May 2004 16:48
Location: Win8.1, Win10, Win11, all @100%
Contact:

Re: Status bar bug since v20.60

Post by admin »

OK, I'll try again in next beta.

oXYgen
Posts: 43
Joined: 26 May 2014 05:57

Re: Status bar bug since v20.60

Post by oXYgen »

I was wrong. Now I'm pretty sure the bug has been introduced in v19.80.0120:

Code: Select all

    + Flexible Status Bar: The right-most section of the Status Bar now 
      auto-adjusts its left position to show as much as possible of its 
      contents. Pretty cool if you have a smaller screen.
      Nothing to do for you, it just works.
I have to say that "flexible" doesn't work anymore. You just turned it off for small screen resolutions. It is not about fixing the bug, but disabling the declared feature (bad feature). It should be disabled for large screens too because the user has to focus on the text jumping back and forth. Reading the path from the status bar becomes a difficult task. I always hated that thing, but I did not know how to stop it. Since the status bar is not "flexible" for some resolutions, this feature has to be removed at all.

admin
Site Admin
Posts: 63607
Joined: 22 May 2004 16:48
Location: Win8.1, Win10, Win11, all @100%
Contact:

Re: Status bar bug since v20.60

Post by admin »

Yes, I had to turn it off for smaller screens because the available space simply does not allow for that feature.

You can tweak it off:

Code: Select all

v20.30.0007 - 2019-08-24 19:24
    + Added tweak to control the Flexible Status Bar feature (v19.80.0120 - 
      2019-03-25 18:44).
        StatusBarFlexyWidth=1
      Factory default and previously hard-coded value is 1. So now you can turn 
      it off. Might raise it to UI later.
How to tweak XYplorer.ini?
https://www.xyplorer.com/faq-topic.php?id=tweak

oXYgen
Posts: 43
Joined: 26 May 2014 05:57

Re: Status bar bug since v20.60

Post by oXYgen »

You've declared "flexible" feature for smaller screens in the change log. However, there are some issues:
  1. The user working on a PC with a small screen expects the feature to work, but it actually does not. So it is a bug and has to be fixed.
  2. Large screens doesn't need the status bar to be "flexible" because it is wide enough. Disabling the feature for small screens makes it useless. So it has to be removed.
  3. Even for large screens the window size is small by default. But there are still no overlapping sections. Why does the bug appear on small resolutions with the same window size? It has to be fixed.

admin
Site Admin
Posts: 63607
Joined: 22 May 2004 16:48
Location: Win8.1, Win10, Win11, all @100%
Contact:

Re: Status bar bug since v20.60

Post by admin »

Good points! :tup:

PS: Looked into it. Cannot do anything now. When I find the time I'll look into it again.

admin
Site Admin
Posts: 63607
Joined: 22 May 2004 16:48
Location: Win8.1, Win10, Win11, all @100%
Contact:

Re: Status bar bug since v20.60

Post by admin »

Should be fixed in next beta.

Post Reply