kimlimjustin/xplorer

Resizing window breaks view

angkira opened this issue · 4 comments

Description

Using Xplorer in half of screen I`m face to breaking a view - window tools, tabs

It is a minor bug just to remember abount responsive view :)

image

Steps To Reproduce

  1. Open Xplorer
  2. Make the window be small
  3. Open new tab

Expected behavior

Width of the tabs would reduce, maybe would be ellipsis

Xplorer Version

0.2.0

Operating System Version

Arch Linux

Additional Information

Nice file explorer, respect for using Tauri. not the Electron. Waiting for updates, continue using

image

Can't really reproduce the bug either on windows or Linux (the Linux VM I tried in is Garuda Linux, Arch Linux based distro), or do you even make it smaller?

Also, may I know if your OS is Arch Linux-based distro or clean installed Arch Linux?

A few tabs also increase height of row. Maybe it is better to set it to be constant.

It's actually constant here tho, maybe I'll try to make the sidebar collapsable when it's resized to small, but can't be done really soon tho

Issue 1

I've faced the same issue on macOS Monetary.

It occurred when I resized Xplorer around the 556px breakpoint
resized image of the xplorer window

Although I didn't find any bugs with the control buttons (Minimize, Maximize, Restore buttons) or with the tabs, the file-path element's height did increase.

Issue 2

The window does not resize when I open the developer inspector tools and resize it while the console is open, and then close it. Here is a video showing the problem:

Screen.Recording.2021-12-30.at.10.49.02.PM.mov

Suggestion for Issue 1

Perhaps you a minimum resize breakpoint can be added. For example, if the windows hit the 600px breakpoint, you can't resize anymore. Another method could be to collapse the sidebar.