Platform 1.x
  1. Platform 1.x
  2. PLO-50

"Open Containing Folder" doesn't work on Vista

    Details

    • Type: Bug Bug
    • Status: Closed Closed
    • Priority: Major Major
    • Resolution: Fixed
    • Affects Version/s: None
    • Fix Version/s: None
    • Environment:
      Operating System: Windows Vista
      Platform: Not Specified
    • Backlog Order:
      181,819
    • Bugzilla Id:
      819
    • Planning Category:
      fix (bug fixes, important improvements)
    • Iteration:
      DZ-2.1 (Nov 2009)

      Issue Links

        Activity

        Hide
        Igor Baltiyskiy added a comment -

        If we use JDK6, the problem will be resolved by using a generic solution: java.awt.Desktop.open(file.getParentFile()).
        Current implementation generates command that does nothing in Vista.

        Show
        Igor Baltiyskiy added a comment - If we use JDK6, the problem will be resolved by using a generic solution: java.awt.Desktop.open(file.getParentFile()). Current implementation generates command that does nothing in Vista.
        Hide
        Igor Baltiyskiy added a comment -

        Reworked FileActions to use Desktop.open. It will be accessible not only on Windows, but on all systems where java.awt.Desktop and java.awt.Desktop.Action.OPEN is supported.

        Actually, there is not much sense in "Open containing folder" action. There should be another action: "Show in folder", which brings up Explorer and selects the item there.
        There is a question as to how to do it. Actually all that java.awt.Desktop does is to simply call ShellExecute, which doesn't seem to do the trick in any way.

        Show
        Igor Baltiyskiy added a comment - Reworked FileActions to use Desktop.open. It will be accessible not only on Windows, but on all systems where java.awt.Desktop and java.awt.Desktop.Action.OPEN is supported. Actually, there is not much sense in "Open containing folder" action. There should be another action: "Show in folder", which brings up Explorer and selects the item there. There is a question as to how to do it. Actually all that java.awt.Desktop does is to simply call ShellExecute, which doesn't seem to do the trick in any way.

          People

          • Assignee:
            Igor Baltiyskiy
            Reporter:
            Igor Sereda
          • Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

            • Created:
              Updated:
              Resolved:

              Time Tracking

              Estimated:
              Original Estimate - 20m Original Estimate - 20m
              20m
              Remaining:
              Remaining Estimate - 0h
              0h
              Logged:
              Time Spent - 49m
              49m

                Structure Helper Panel