Page MenuHome

File browser remembers filters too well
Open, Confirmed, MediumPublic

Description

System Information
Operating system: Windows-10-10.0.17763 64 Bits
Graphics card: GeForce GTX 970/PCIe/SSE2 NVIDIA Corporation 4.5.0 NVIDIA 436.30

Blender Version
Broken: version: 2.81 (sub 14), branch: master, commit date: 2019-10-05 20:51, hash: rB4707f1982ddb
Worked: probably a week or two ago, before the "it remembers stuff" feature was implemented.

Short description of error
The new File Browser remembers various things, like its layout and filter settings, between invocations. After saving the current blend file, the file browser in the "Video Editing" workspace is set up for showing only blend files.

Exact steps for others to reproduce the error

  • Open Blender in factory default settings.
  • Set user preference Interface → Temporary Windows → File Browser to Full Screen.
  • Save the blend file to a directory that contains video files, say $DIR.
  • Add the "Video Editing" workspace from the "Video Editing" category.
  • Look at the file browser in the top left of the screen; it is showing $DIR (which IMO is good), but it doesn't show any of the video files (which is bad for a video editing workspace).
  • Look at the file browser's filter settings; it's set up to only show blend files.

Details

Type
Bug

Event Timeline

Brecht Van Lommel (brecht) lowered the priority of this task from Needs Triage by Developer to Confirmed, High.Mon, Oct 7, 4:58 PM
Julian Eisel (Severin) lowered the priority of this task from Confirmed, High to Needs Information from User.Mon, Oct 7, 5:51 PM

I can't recreate this here, at least not with given steps.
Opening a file browser through an operator like Ctrl+S intentionally runs a different initialization path than a regular file browser editor. Only in the former case we restore the settings.

The only way I see this could break is when the file browser is launched in full screen mode (PreferencesInterfaceEditorsTemporary Windows) from the already opened file browser editor in the Video Editing workspace. The old fullscreen code uses the same space data then for the regular and the fullscreen file browser. We might in fact want to change this here.

Anyway, I'm not sure how this could break and I can't recreate this. Are you sure the given steps are correct?

This is still needing feedback… You should be able to sort that at the studio directly?

Sybren wasn't here for most of last week, he will be back tomorrow I think.

Yup, I'll be @ BI tomorrow.

It requires setting the user pref Interface → Temporary Windows → File Browser to Full Screen. @Julian Eisel (Severin) and I did a quick test and it also happens in 2.79 (and probably older).

Julian Eisel (Severin) raised the priority of this task from Needs Information from User to Confirmed, Medium.EditedTue, Oct 15, 12:33 PM

It's also important that your mouse hovers the existing File Editor while doing Ctrl+S, Ctrl+O or whatever.
My earlier post explains what's happening. Basically it is an old issue from the way the fullscreen areas are designed/implemented.
Strictly speaking it isn't a bug even. I'd like to look into it nevertheless.

Again for the records, this was not introduced by our changes, they just made it more apparent.