Skip to content

Filesystem Browser fixes#271

Merged
tedwaine merged 3 commits into
AcademySoftwareFoundation:developfrom
kenmcgaugh:filesystem_browser_fixes
Jun 18, 2026
Merged

Filesystem Browser fixes#271
tedwaine merged 3 commits into
AcademySoftwareFoundation:developfrom
kenmcgaugh:filesystem_browser_fixes

Conversation

@kenmcgaugh

@kenmcgaugh kenmcgaugh commented Jun 9, 2026

Copy link
Copy Markdown
Contributor

This PR fixes a few big issues and adds a couple of small improvements to the Filesystem Browser. Here is the complete rundown...

Added ".mxf" as a media file extension.

Changed the Filesystem Browser hotkey from "B" to "Meta+B" as it was clashing with the the existing "B" hotkey to view the blue channel.

When no playlist exists, a "File System Import" playlist was being created and viewed, but not inspected. Added a change to also make it the inspected playlist.

Reworked the UI instantiation logic to leverage the built-in xstudio panel API. This fixed the broken hotkey, which required adding a button to the action bar as well.

Removed the "Plugins|Browser Open" menu as the new action bar button does the same thing.

Removed the "View|Panels" menu as it just wasn't working and it was redundant.

Reworked the drag-and-drop to allow it to work from the pop-out window version of the browser the same way it works from the embedded panel version. Previously it just didn't work in the pop-out window.

Modified the preview logic to prevent from being triggered excessively.

Changing any of the filter settings causes a refresh of the current path. This provides both immediate results for any media directly within the current path, and also resets the deep-scan so it can be manually triggered again. Previously there was no easy way to force a refresh when changing the filter settings (that I could see).

Fixed a couple of error messages.

Fixed a focus issue when triple-clicking in the path field to select the whole text.

@kenmcgaugh kenmcgaugh force-pushed the filesystem_browser_fixes branch from 55a8cbe to 2f7286f Compare June 9, 2026 20:42
Changed the Filesystem Browser hotkey from "B" to "Meta+B" as it was clashing with the the existing "B" hotkey to view the blue channel.

When no playlist exists, a "File System Import" playlist was being created and viewed, but not inspected. Added a change to also make it the inspected playlist.

Reworked the UI instantiation logic to leverage the built-in xstudio panel API. This fixed the broken hotkey, which required adding a button to the action bar as well.

Removed the "Plugins|Browser Open" menu as the new action bar button does the same thing.

Removed the "View|Panels" menu as it just wasn't working and it was redundant.

Reworked the drag-and-drop to allow it to work from the pop-out window version of the browser the same way it works from the embedded panel version. Previously it just didn't work in the pop-out window.

Modified the preview logic to prevent from being triggered excessively.

Changing any of the filter settings causes a refresh of the current path. This provides both immediate results for any media directly within the current path, and also resets the deep-scan so it can be manually triggered again. Previously there was no easy way to force a refresh when changing the filter settings (that I could see).

Fixed a couple of error messages.

Fixed a focus issue when tripple-clicking in the path field to select the whole text.

Signed-off-by: Ken McGaugh <ken@mcgaugh.co.uk>
Signed-off-by: Ken McGaugh <ken@wetafx.co.nz>
Signed-off-by: Ken McGaugh <ken@mcgaugh.co.uk>
Signed-off-by: Ken McGaugh <ken@wetafx.co.nz>
…nt but with vastly different names:

    mypath = "/path/to/media.mov"
    m1 = myplaylist.add_media(mypath)
    m2 = myplaylist.add_media(URI(mypath))

The m1 media item will have the name "/path/to/media.mov" whereas the m2 media item will have the name "media".

This discrepancy comes up with the new filesystem browser when adding media via drag-n-drop vs. double clicking.

The fix here is to make it so that the first method procuces the shorter name matching the second method.

Signed-off-by: Ken McGaugh <ken@mcgaugh.co.uk>
Signed-off-by: Ken McGaugh <ken@wetafx.co.nz>
@kenmcgaugh kenmcgaugh force-pushed the filesystem_browser_fixes branch from 2f7286f to 906a1ec Compare June 17, 2026 01:39
@tedwaine tedwaine merged commit 8e761c7 into AcademySoftwareFoundation:develop Jun 18, 2026
2 of 3 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants