WinSetView puzzle

Page 1 of 2 12 LastLast

  1. Posts : 478
    Windows 10
       #1

    WinSetView puzzle


    Just installed WinSetViews and it's clearly going to be very handy tool. But I'm puzzled by the following odd behaviour.

    All I've done so far is to configure 'Global', with Detail view and a column arrangement. All other Folder Types are untouched.

    In the manual I read:
    "With all Inherit boxes checked, all folder types will get the same settings as Global."

    This has mostly worked as expected. But strange exceptions arise when opening some folders during a 'Save As'. They get displayed with the correct columns but use Large Icon view.

    I've not been able to confidently determine consistent factor(s), but my screenshots show a couple of examples.

    WinSetView puzzle-windowsviewpuzzle3.jpg

    WinSetView puzzle-windowsviewpuzzle4.jpg


    Version 21H2 (OS Build 19044.2006)
      My Computer


  2. Posts : 16,950
    Windows 10 Home x64 Version 22H2 Build 19045.4170
       #2

    Terry,

    Application Open & SaveAs dialogs don't use File explorer. They use a separate component that merely resembles File explorer.

    @LesFerch - Can you help Terry?

    Denis
      My Computer


  3. Posts : 23,271
    Win 10 Home ♦♦♦19045.4355 (x64) [22H2]
       #3

    I'm not sure the "save as" dialog windows are affected by WinSetView.
    That may be affected only from within the individual programs themselves.
      My Computer


  4. Posts : 478
    Windows 10
    Thread Starter
       #4

    Dennis, @Ghot,

    Thanks both. I think you're right, looks like it's application-based.

    I tried saving from four image editors: IrfanView (as in my earlier examples), Paint Shop Pro, FastStone Image Viewer, Microsoft's built-in Paint 3D. All except the last opened in Large Icons view. Paint followed WinSetView.

    Quite reasonable of a graphics app to use a picture view, of course. Just not what I want for my current project
      My Computer


  5. Posts : 23,271
    Win 10 Home ♦♦♦19045.4355 (x64) [22H2]
       #5

    Terrypin said:
    Dennis, @Ghot,

    Thanks both. I think you're right, looks like it's application-based.

    I tried saving from four image editors: IrfanView (as in my earlier examples), Paint Shop Pro, FastStone Image Viewer, Microsoft's built-in Paint 3D. All except the last opened in Large Icons view. Paint followed WinSetView.

    Quite reasonable of a graphics app to use a picture view, of course. Just not what I want for my current project


    Well, at the top right of the save window, there's a little drop down arrow. You can choose the view you want in the save dialog.
    I don't know if your choice will stick or not... but it's there.

    You might have to choose, for each application.
    This is from my Paint Shop Pro...

    WinSetView puzzle-image2.png
      My Computer


  6. Posts : 989
    Microsoft Windows 10 Home
       #6

    Terrypin said:
    Just installed WinSetViews and it's clearly going to be very handy tool. But I'm puzzled by the following odd behaviour.

    All I've done so far is to configure 'Global', with Detail view and a column arrangement. All other Folder Types are untouched.

    In the manual I read:
    "With all Inherit boxes checked, all folder types will get the same settings as Global."

    This has mostly worked as expected. But strange exceptions arise when opening some folders during a 'Save As'. They get displayed with the correct columns but use Large Icon view.

    I've not been able to confidently determine consistent factor(s), but my screenshots show a couple of examples.

    WinSetView puzzle-windowsviewpuzzle3.jpg

    WinSetView puzzle-windowsviewpuzzle4.jpg


    Version 21H2 (OS Build 19044.2006)
    You actually have a hybrid view going on in your first scfeenshot. Note that while the icons are large, you have the column headers and column info found in a Details view. I was able to recreate this by setting the dialog view to Details, closing the dialog, editing the saved view settings in the regisry, and then re-launching the dialog.

    WinSetView puzzle-comdlglegacy-details-large-icos.png

    So perhaps WinSetViews got the icon mode right but forgot to set icon size. While LesFerch looks into that, you can do a couple of things:

    • Correct As-you-go : Toggling the view mode of the dialog to a view other than Details and then back to Details should fix the view for that folder.
    • Correct your saved views via code:
      Code:
      $Bags = 'HKCU:\Software\Classes\Local Settings\Software\Microsoft\Windows\Shell\Bags'
      gci $Bags -s | ? PSChildName -match 'ComDlgLegacy' | gci | ? {$_.Property.Count} | gp | ? {($_.Mode -eq 4) -and ($_.IconSize -ne 16)} | %{
          Set-ItemProperty $_.PSPath IconSIze 16
      }


    If you opt for the code, Copy & Paste!! -- that would have saved you some time in your other thread!
      My Computer


  7. Posts : 478
    Windows 10
    Thread Starter
       #7

    Ghot said:
    Well, at the top right of the save window, there's a little drop down arrow. You can choose the view you want in the save dialog.
    I don't know if your choice will stick or not... but it's there.

    You might have to choose, for each application.
    @Ghot,
    Thanks, that's an embarrasingly simple solution. Once changed, it does stick. I was getting lazy, expecting WinSetView to open every folder browsing window in accordance with my Global setting!

    - - - Updated - - -

    KeithM said:
    You actually have a hybrid view going on in your first scfeenshot. Note that while the icons are large, you have the column headers and column info found in a Details view. I was able to recreate this by setting the dialog view to Details, closing the dialog, editing the saved view settings in the regisry, and then re-launching the dialog.

    So perhaps WinSetViews got the icon mode right but forgot to set icon size. While LesFerch looks into that, you can do a couple of things:

    • Correct As-you-go : Toggling the view mode of the dialog to a view other than Details and then back to Details should fix the view for that folder.
    • Correct your saved views via code:
    Thanks, I'll opt for the simple toggle suggestion.
      My Computer


  8. Posts : 745
    Windows 10/11
       #8

    As Keith pointed out, those folders really are in Details view, but have an additional thumbnail displayed are displaying with a large icon. I've never seen this before and, so, I'm intrigued. I'll investigate to determine if my app is missing something or if there's a new feature opportunity.
    Last edited by LesFerch; 13 Oct 2022 at 00:40.
      My Computer


  9. Posts : 989
    Microsoft Windows 10 Home
       #9

    LesFerch said:
    As Keith pointed out, those folders really are in Details view, but have an additional thumbnail displayed (i.e. a "hybrid" view). I've, never seen this before and, so, I'm intrigued. I'll investigate to determine if my app is missing something or if there's a new feature opportunity.
    LesFerch, to clarify, it's not an "additional thumbnail", it's the icon that's always there in a Dtails view, but it's displaying at the wrong size. It's easy enough to re-create if you're curious:
    1. Deternine the bag # for any file folder of your choosing.
    2. With any app that uses the legacy-style dialog, launch the dialog and navigate to the folder. It doesn't matter if it's the Open, Save, or SaveAs dialog --- they all share a singel view state. And you don't have to complete the acdtion of the dialog -- you can simply close it.
    3. In RegEdit, navigate to the associated bag, and then the ComDlgLegacy\<FolderTypeID> subkey.
    4. Change the value of IconSize to a noticably larger value, like 96 or so.
    5. Launch the dialog again and it should display with the modified icon size.


    My one suspicion is that it might have something to do with the fact that the TopViews that specify Detais view (LogicalViewMode = 1) don't explicitly specify a value for IconSize, so the software may be drawing on that TopView but then supplying its own "default" IconSize since none was supplied with the TopView.
      My Computer


  10. Posts : 745
    Windows 10/11
       #10

    @KeithM You were bang on. The TopView for Pictures specifies an IconSize of 96. When that FolderType entry is changed to Details (LogicalViewMode=1), without changing the IconSize, it's not a problem in File Explorer or modern dialogs, but is an issue with legacy dialogs, like the dialog for RegEdit Export or IrfanView's Open/Save.

    I've updated WinSetView to now set the IconSize to 16 for Details, 32 for Content, and 48 for Tiles.

    I could add a feature for a custom icon size for these views, but since it only works in legacy dialogs, there's not much point.

    Les
      My Computer


 

  Related Discussions
Our Sites
Site Links
About Us
Windows 10 Forums is an independent web site and has not been authorized, sponsored, or otherwise approved by Microsoft Corporation. "Windows 10" and related materials are trademarks of Microsoft Corp.

© Designer Media Ltd
All times are GMT -5. The time now is 00:37.
Find Us




Windows 10 Forums