Skip to content

Doc Switcher window icons have problems when Tab Bar 'Reduce' setting changed #8109

@sasumner

Description

@sasumner

Description of the Issue

When the Preferences > General > Tab Bar > Reduce setting is changed, the icons in the window with title Doc Switcher have display issues, until a Notepad++ restart is done.

Steps to Reproduce the Issue

  1. In Preferences > General, tick the Show box for Document List Panel
  2. Restart Notepad++, observe window called Doc Switcher on lefthand side
    Observe the icons for "new 1" in both the tab bar and the Doc Switcher window
  3. In Preferences > General > Tab Bar, untick the Reduce box
    Observe that tab bar icon for "new 1" tab has increased in size
    Observe that icon for "new 1" in Doc Switcher window has NOT increased in size
  4. Click on the "new 1" text in the Doc Switcher window
    Observe that the available space for the icon has NOT increased, but the icon image HAS increased in side so it is now ILL-FITTING!:
    image
  5. In Preferences > General > Tab Bar, tick the Reduce box
    Observe that tab bar icon for "new 1" tab has decreased in size
    Observe that icon for "new 1" in Doc Switcher window has NOT changed
  6. Click on the "new 1" text in the Doc Switcher window
    Observe that the icon has now DISAPPEARED!:
    image

Expected Behavior

  • After step 4, the available space for the icon becomes enlarged so that the entire non-Reduce'd icon fits.
  • After step 6, the icon doesn't disappear but rather appears and is sized correctly to a Reduce'd icon size.
  • In general, icons to change size in synchrony, and to not disappear of be poorly fit to the available space.

Actual Behavior

See most of the "Observe" comments in the "Steps to Repro" above, especially ones with ALL CAPS and BOLD.

Additional Information

After a restart of Notepad++, all is fine with Reduce 'd icons, if Reduce was ticked at the prior exiting of Notepad++:
image

After a restart of Notepad++, all is fine with non- Reduce 'd icons, if Reduce was unticked at the prior exiting of Notepad++:
image

Debug Information

Notepad++ v7.8.5 (64-bit)
Build time : Mar 4 2020 - 11:08:34
Path : C:.......\npp.7.8.5.bin.x64\notepad++.exe
Admin mode : OFF
Local Conf mode : ON
OS Name : Windows 10 Enterprise (64-bit)
OS Version : 1809
OS Build : 17763.1039
Plugins : mimeTools.dll NppConverter.dll NppExport.dll

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions