addwater icon indicating copy to clipboard operation
addwater copied to clipboard

[BUG] Searchbar size and blank space not handled properly

Open FedericoCalzoni opened this issue 1 year ago • 1 comments

Describe the bug The searchbar width and the blank space around it is not handled properly. When the window is resized, based on the speed in which the window is resized, different behaviors can happen.

  1. If it is resized slowly, the search-bar has correct size, but blank spaces may missing. The window is then hard to move given that there is no blank space.
  2. If it is resized fast, the searchbar is broken.

In both cases the searchbar becomes unusable when the window is very narrow.

To Reproduce Steps to reproduce the behavior:

  1. Resize width of browser window

Expected behavior The result should be consistent not depending from how the window is resized. I expect that the Menu bar should always show the following elements (even when the window is at its minimum size): go-back, go-forward, reload, spacing, searchbar, spacing, hamburger menu. Other element can be hidden or collapsed dynamically in the hamburger menu when there is not enough space. The searchbar should be always usable, and there should be an easy enough way to grab and move the window.

Given that different users may have different menu bar configurations, a reasonable choice, in my opinion, is to prioritize collapsing (hiding) the rightmost elements up to the search bar.

Maybe imposing a minimum width for the blank spaces and the search bar will be enough to fix the issues.

Screenshots

https://github.com/user-attachments/assets/eb359385-45e7-499f-b53e-673c8d37964f

Technical Details (please complete the following information):

 - Distribution: Arch Linux
 - Add Water version: 1.2.5

 - Browser: Firefox
 - Browser Package: Base
 - Browser Version: 135.0

FedericoCalzoni avatar Feb 06 '25 00:02 FedericoCalzoni

Thanks for reporting. Unfortunately, I can't really help because I don't make the theme; I only make the installer app. Send your report here

The theme dev is in the process of updating the theme for the latest FF update right now.

Sorry I couldn't be of more help.