Skip to content

UI Search field and it's search counter interfere with each other / unreadable #264

@kulfoon

Description

@kulfoon

Prerequisites

  • I verified that this is not a filter issue
  • This is not a support issue or a question
  • I performed a cursory search of the issue tracker to avoid opening a duplicate issue
    • Your issue may already be reported.
    • I searched for "search" and "search field" both old and new uBO issues tracker
  • I tried to reproduce the issue when...
    • uBlock Origin is the only extension
    • uBlock Origin with default lists/settings
    • using a new, unmodified browser profile
  • I am running the latest version of uBlock Origin
  • I checked the documentation to understand that the issue I report is not a normal behavior

Description

Search field and it's search counter interfere with each other making the search count unreadable if the search phrase is longer.

A specific URL where the issue occurs

[A specific URL is MANDATORY for issue happening on a web page, even if it happens "everywhere"]

  • 3rd-party filters pane (after clicking at a list name and then it gets opened in a new tab)
    moz-extension://4e42f46c-7391-4300-81d4-54a4d5e25d6e/asset-viewer.html?url=ublock-filters

  • My filters pane
    moz-extension://4e42f46c-7391-4300-81d4-54a4d5e25d6e/dashboard.html#1p-filters.html

  • Whitelist pane
    moz-extension://4e42f46c-7391-4300-81d4-54a4d5e25d6e/dashboard.html#whitelist.html

Steps to Reproduce

  1. Go to any Pane listed above
  2. Enter a longer search phrase for. ex. ##+js(abort-on-property-write.js, Fingerprint2)
  3. Notice that the search count number and a part of the search phrase are unreadable

Firefox
ff_long

Opera
o_long

  1. Shorten the search phrase to like ##+js(abort-on- (on Firefox) or to ##+js(abort-on-prope (on Opera)
  2. Notice the issue is gone.

Firefox
ff_short

Opera
o_short

Expected behavior:

[What you expected to happen]

Search field and it's search counter shouldn't interfere with each other and shuld be readable when entering a longer search phrase. Either move the search counter outside the search field and put it in it's own field, or make some kind of separation in the search field between the search phrase and the search count number which will remove the collision, if not possible then maybe just make the search field longer.

Actual behavior:

[What actually happened]

Search field and it's search counter interfere with each other making the search count unreadable if the search phrase is longer.

Your environment

  • uBlock Origin version: 1.17.0
  • Browser Name and version: Firefox 62.0.3 & Opera 56.0.3051.36
  • Operating System and version: Win 7 U SP1 64

Also I have a secondary similiar derivative issue / enhancement ( I think it's not worth to open a separate issue just for it so I put it there) : I noticed a lack of the search count in search fields of:

  • My rules pane
    moz-extension://4e42f46c-7391-4300-81d4-54a4d5e25d6e/dashboard.html#dyna-rules.html

(Screenshoot from Firefox)
ff_my_rules

  • The Logger
    moz-extension://4e42f46c-7391-4300-81d4-54a4d5e25d6e/logger-ui.html

(Screenshoot from Firefox)
ff_logger

Maybe it would be good to add it there to.

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't workingfixedissue has been addressed

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions