9758 Bug: Select Orphans behaviour fails to accord

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • chrisjj
    Carpal Tunnel
    • Apr 2008
    • 2537

    9758 Bug: Select Orphans behaviour fails to accord

    Select Orphans omits to select orphans that are folders.
  • Aaron
    Team Scooter
    • Oct 2007
    • 15995

    #2
    Hello Chris,

    The Select Orphans (Left, Right, Both) command currently only functions on files. To select Orphan folders, set the Folder View settings to "Compare File and Folder Structure" and then View Orphans (on either side). You can then apply a filter to filter out all files to see only the Orphan Folder structure.

    I'll add your request to our tracker, for the command to select folders.
    Aaron P Scooter Software

    Comment

    • chrisjj
      Carpal Tunnel
      • Apr 2008
      • 2537

      #3
      > The Select Orphans (Left, Right, Both) command currently only functions on files.

      Yup, that's what I am reporting.

      If you cannot fix the behaviour that it would be good to make the command label accord.

      > To select Orphan folders, set the Folder View settings to "Compare File and
      > Folder Structure" and then View Orphans (on either side). You can then
      > apply a filter to filter out all files to see only the Orphan Folder structure.

      Thanks, but that doesn't work - it shows non-orphan folders containing orphan files.

      If there's another procedure that will select all orphan objects so I can delete them, it would be good to hear.

      > I'll add your request to our tracker, for the command to select folders.

      Thanks Aaron.
      Last edited by chrisjj; 20-Apr-2009, 01:58 PM.

      Comment

      • Michael Bulgrien
        Carpal Tunnel
        • Oct 2007
        • 1772

        #4
        Originally posted by chrisjj
        > To select Orphan folders, set the Folder View settings to "Compare File and
        > Folder Structure" and then View Orphans (on either side). You can then
        > apply a filter to filter out all files to see only the Orphan Folder structure.

        Thanks, but that doesn't work - it shows non-orphan folders containing orphan files.
        Actually, this does work. If you filter out all files (-*.*) then the orphan toggles will cause orphan folders to be visible, and all other folders to be hidden.

        However... since, by nature, a folder tree cannot display a subfolder without displaying the entire branch between the root and that subfolder...an orphan subfolder will cause the parent folder (even if not an orphan itself) to remain visible. Furthermore, to show that the parent itself is not an orphan itself, the matching folder on the other side will also remain visible, but will be colored black instead of blue (indicating that there are no differences contained within the parent's matching folder on the other side).
        Last edited by Michael Bulgrien; 19-Apr-2009, 07:31 PM.
        BC v4.0.7 build 19761
        ¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯

        Comment

        • Zoë
          Team Scooter
          • Oct 2007
          • 2666

          #5
          If you select a folder and some, but not all, of it's contained files/folders, that folder's selection is ignored for the purposes of file operations. Change the filters to "Show Orphans", use "Select All", and delete. It will only delete the orphaned files and folders. Any that contain filtered items won't be deleted.
          Zoë P Scooter Software

          Comment

          • chrisjj
            Carpal Tunnel
            • Apr 2008
            • 2537

            #6
            > Actually, this does work.

            Hi Michael.

            > If you filter out all files (-*.*) then the orphan toggles will cause orphan
            > folders to be visible, and all other folders to be hidden.

            Well, it would do, except for:

            > an orphan subfolder will cause the parent folder (even if not an
            > orphan itself) to remain visible.

            Comment

            • chrisjj
              Carpal Tunnel
              • Apr 2008
              • 2537

              #7
              > Change the filters to "Show Orphans", use "Select All", and delete. It will
              > only delete the orphaned files and folders.

              Doesn't work here, e.g. on the attached it deletes the non-orphan right test1.

              BTW, when I tried this forum's "Upload File from a URL", it failed with
              "Upload failed due to failure writing temporary file."file.
              Last edited by chrisjj; 20-Apr-2009, 02:09 PM.

              Comment

              • Zoë
                Team Scooter
                • Oct 2007
                • 2666

                #8
                True, but only if test1 is empty. It won't delete non-orphan folders that contain anything. In any case, that's the closest you can get until we look into changing the selection behavior.
                Zoë P Scooter Software

                Comment

                • chrisjj
                  Carpal Tunnel
                  • Apr 2008
                  • 2537

                  #9
                  > True, but only if test1 is empty. It won't delete non-orphan folders that contain anything.

                  Again, not reproduced here e.g.

                  Comment

                  • Zoë
                    Team Scooter
                    • Oct 2007
                    • 2666

                    #10
                    Fine. It won't delete non-orphan folders that contain any non-orphans.
                    Zoë P Scooter Software

                    Comment

                    • chrisjj
                      Carpal Tunnel
                      • Apr 2008
                      • 2537

                      #11
                      > Fine.

                      Well, not for the stated requirement.

                      Can anyone suggest a working workaround? THanks.

                      Comment

                      • Michael Bulgrien
                        Carpal Tunnel
                        • Oct 2007
                        • 1772

                        #12
                        As Craig already said, there is no workaround until the Scooter team implements something to handle it...there is no easy way to deselect the parent folders that contain orphan subfolders (except to manually deselect them one at a time).

                        That being said, I would be the first to agree that a more robust set of selection options in the dropdown menu would be helpful...such as a "select orphan folders" option that does not select the parent folders. It's a good idea...so, with a little time and patience, I expect it has a good chance of being implemented...
                        BC v4.0.7 build 19761
                        ¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯

                        Comment

                        • chrisjj
                          Carpal Tunnel
                          • Apr 2008
                          • 2537

                          #13
                          > there is no easy way to deselect the parent folders that contain orphan
                          > subfolders (except to manually deselect them one at a time).

                          IME there is no easy way /including/ to manually deselect

                          > a "select orphan folders" option

                          Assuming that would (like current Select commands) replace rather than augment the current selection, then it is no substitute for a "Select orphans" command that does what it says.

                          > that does not select the parent folders.

                          I would prefer it to select (only) orphans regardless i.e. for it to exclude parent folders only if they were not orphans.

                          Comment

                          • Michael Bulgrien
                            Carpal Tunnel
                            • Oct 2007
                            • 1772

                            #14
                            Originally posted by chrisjj
                            Assuming that would (like current Select commands) replace rather than augment the current selection, then it is no substitute for a "Select orphans" command that does what it says.
                            Beyond Compare has always been file-based. This aspect of orphan handling has not changed from previous versions of the product. You are requesting an enhancement to the product, not a fix to "broken" functionality. This forum is a good place to discuss ideas that the Scooter team may or may not choose to implement in a future release...but please refrain from bashing core functionality that is working as designed.
                            BC v4.0.7 build 19761
                            ¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯

                            Comment

                            • Michael Bulgrien
                              Carpal Tunnel
                              • Oct 2007
                              • 1772

                              #15
                              Originally posted by chrisjj
                              Assuming that would (like current Select commands) replace rather than augment the current selection...
                              In my opinion, it would be nice if the select options in the Edit drop-down menu supported the Ctrl key modifier. In other words, if you're pressing the Ctrl key, the current selection would be augmented instead of replaced.
                              BC v4.0.7 build 19761
                              ¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯

                              Comment

                              Working...