Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Drop-down list with preset filter expressions in logger #787

Closed
gorhill opened this issue Oct 5, 2015 · 10 comments
Closed

Drop-down list with preset filter expressions in logger #787

gorhill opened this issue Oct 5, 2015 · 10 comments

Comments

@gorhill
Copy link
Owner

gorhill commented Oct 5, 2015

No description provided.

@gorhill
Copy link
Owner Author

gorhill commented Dec 18, 2018

Context for translators:

a

"eventful" is to show only the items in the logger for which uBO actually did something: blocked, allowed, redirected, hid, etc.

@gwarser
Copy link
Contributor

gwarser commented Dec 22, 2018

Anyone seeing this?

image

Input shrinks in width when I start typing and logger content changes, clicking on "V" restores it back.

@okiehsch
Copy link
Contributor

Looks fine on my end.
image

@gwarser
Copy link
Contributor

gwarser commented Dec 22, 2018

Firefox only?

@okiehsch
Copy link
Contributor

okiehsch commented Dec 22, 2018

First screenshot is with chromium, it also works fine with Firefox stable on my end.
image

@gwarser
Copy link
Contributor

gwarser commented Dec 22, 2018

I see this on all branches of Firefox. Left and right borders of the input switches between 8 and 2.

OK: top/bottom - 0; left/right - 8
Bad: top/bottom - 2; left/right - 2

When typing, after short delay, width changes temporarily from 240 to 252 and then back. Something with "Toggle filtering" button status (color?)?

@gorhill
Copy link
Owner Author

gorhill commented Dec 23, 2018

I've not seen this behavior on my side. Does this happen in a new profile?

@gwarser
Copy link
Contributor

gwarser commented Dec 23, 2018

Yes

@gorhill
Copy link
Owner Author

gorhill commented Dec 24, 2018

Ok I can reproduce some changes in width, though not as pronounced as what you report. Now I can investigate.

@gorhill
Copy link
Owner Author

gorhill commented Dec 24, 2018

It's related to the background color set by uBO, somehow. No need to type characters in the field, what matters is that the input field's focus is toggled:

  1. Open inspector
  2. Bring forth Rules inspector
  3. Inspect the input field
  4. Check :focus on it
  5. Toggle background-color property on uBO's rule input:focus
  6. Resize a just a bit the logger window
  7. Goto 5.

You will see a change in the size of the input field depending on whether the background color property is that of uBO or the user agent's default one.

Forcing a default background color to something fixes the issue. Alternatively, removing the rule input:focus also fixes the issue.

gorhill added a commit that referenced this issue Dec 24, 2018
@gorhill gorhill closed this as completed May 19, 2019
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants