Naezr / ShyFox

A very shy little theme that hides the entire browser interface in the window border
Mozilla Public License 2.0
1.46k stars 24 forks source link

Laggy Search Bar experience #74

Closed daedalus-ode closed 2 months ago

daedalus-ode commented 3 months ago

1st up. Amazing work. Respect and thanks to all who made this. A tiny issue popped up when trying to search something while the search bar is hidden. When trying to type something into the focused address bar, you can feel a significant lag. Similar experience occurs for the floating toolbar also. Hiding/floating an element causes it to become less snappy. I'm working on a mid tier laptop. Is that really an issue?

Replicating the issue:

  1. Hide Search/Address bar
  2. Press Ctrl+L
  3. Type anything quickly
synqqrawr commented 3 months ago

I'm on a Intel Core i7-6500U. It's not too bad for me. Though, I find it practically unusable with IMEs (I'm talking about FCITX here).

@Naezr you could make an option to disable it via:

@import url("search-bar-tweak-blah-blah.css") (-moz-bool-pref: "uc.tweak.XXX");

Although I find that it makes the search bar a little weird.

Naezr commented 3 months ago

Respect and thanks to all who made this.

If you're interested, I created this theme and am working on it alone.

On my old laptop (dual core i7-7500u, 12gb ram, gtx 950m) I also experienced some lags with a game open in the background or something else heavy. Also Browser Toolbox can cause some pretty noticeable lags.

My new laptop is doing better, but again the causes of lags are the same. In vanilla Firefox there are practically no animations, so lags are not felt there. However, Firefox's html/css code is quite convoluted and the added confusion of having such a complex theme written on top of it affects performance.

Naezr commented 2 months ago

you could make an option to disable it via:

An ShyFox update has been released, so

shyfox.disable.floating.search > true

This setting disables the floating search bar. If it gets rid of the lags, be happy. Otherwise, don't be happy, because the lags is for another reason.

synqqrawr commented 2 months ago

you could make an option to disable it via:

An ShyFox update has been released, so

shyfox.disable.floating.search > true

This setting disables the floating search bar. If it gets rid of the lags, be happy. Otherwise, don't be happy, because the lags is for another reason.

image

It looks like this now. :P

Naezr commented 2 months ago

изображение Your system, browser version? Did you use any other modifications before installing ShyFox? Does the same problem appear on a clean profile?

synqqrawr commented 2 months ago

image

Ya, seems like a me issue for me :P. mybad. (also ignore that terrible default theme, i don't know what happened

Naezr commented 2 months ago

also ignore that terrible default theme, i don't know what happened

image

synqqrawr commented 2 months ago

Yes I'm aware. I was too lazy to change that :P