Cannot adjust divider in the File Browser

I’m sure in a previous version it was possible to adjust the split between the filename and modified columns in the file browser side panel. Now they seem to be stuck and it’s really quite annoying as it masks long filenames. I don’t need the “modified” column to be that wide, but it scales accordingly.

Please can we return to an adjustable split?

Screenshot 2024-09-17 at 11.50.35

1 Like

I’m sure in a previous version it was possible to adjust the split between the filename and modified columns in the file browser side panel.

Not quite. The resizing was not implemented. Instead, the sizing behaviour was different as described in Only enlarge file name column when expanding file browser side panel · Issue #16659 · jupyterlab/jupyterlab · GitHub, quoting:

Please can we return to an adjustable split?

We cannot return to something that was not here, but here is the good news - I implemented resizing for file browser columns last month and it was merged into JupyterLab 4.3 branch:

In fact, follow-up PRs to this issue are what is blocking the 4.3 release, we will need to merge either:

to address File browser columns are not consistently positioned · Issue #16712 · jupyterlab/jupyterlab · GitHub (I personally don’t think it should be a release blocker, but it was tagged as such so it now became one)

4 Likes

Thanks for the comprehensive reply and work on a solution! I look forward to seeing it released :slight_smile:

2 Likes

I’m now running 4.3.1 and have the adjustable split in the file browser - nice! :blush:. However, it is a little unstable and will occasionally change the split position from one side to another. I’ve not yet worked out the exact conditions for this sudden change, but it usually on selection of a file (not necessarily opening the file).

@krassowski - I just worked it out - you’ve give the entritiy of file browser panel the ability to adjust the split - this means if you click and accidentally move by one pixel, the panel adjusts it’s split. This is pretty weird behaviour - only the title bar with “Name” and “Modified” needs to have the adjusability. The actual file browser should only be file select.

Hope this helps!

(PS I updated to 4.3.1_1 which is now throwing lots of ‘Kernel does not exist’ errors on launch)

@krassowski - additional evidence behaviour I just noticed - when Jupyter first loads this pane-wide adjust dragging doesn’t happen, instead click-and-drag will select and move files. But as soon as I once adjust the column split it seems to then make the whole file browser have that mode where click and dragging on a file will just adjust the column split.

1 Like

Oh, this sounds like a bug. I can reproduce this. Can you report this on Issues · jupyterlab/jupyterlab · GitHub ? No worries if you don’t have a GitHub account I can report it later

2 Likes