Can we make the search bar less possessive?

Want something added? Ask for it here.
Post Reply
User avatar
OneCD
Full Member
Full Member
Posts: 131
Joined: March 4th, 2017, 3:47 pm

Can we make the search bar less possessive?

Post by OneCD » February 7th, 2018, 2:29 pm

Hello,

Using SABnzbd 2.3.2 with the 'Glitter - night' interface from source (master branch) and accessed via FireFox 58.0 on Debian Stretch.

The 'Search' bar works very well.

But when clearing it, the field remains in a 'wide' mode. If I click on a queue page number box, the search bar shrinks back to its normal width but my selected page is not shown. I then need to click my preferred page number again.

Would it be possible to change this behaviour so the search bar does not intercept the mouse-click? Instead, it would do its shrink-thing and my selected queue page would be shown?

Thank you.
Stuff I like: Apache BASH CouchPotato CRON Debian DNSMasq Entware-3x FireFox GitHub ImageMagick Kate KDE LibreELEC Netrunner NFS NVIDIA OpenVPN Orvibo S20 Python Raspberry Pi RAID SABnzbd+ SickRage Transmission Usenet VirtualBox WordPress XFCE

User avatar
safihre
Administrator
Administrator
Posts: 2377
Joined: April 30th, 2015, 7:35 am
Location: Switzerland
Contact:

Re: Can we make the search bar less possessive?

Post by safihre » February 7th, 2018, 3:17 pm

Hmm yeah, that's a browser thing.
The width is set using the "focused" state of the element, bit hard to circumvent that.
But if you do a very quick click anywhere else it will also 'defocus' and the next click should register.

User avatar
OneCD
Full Member
Full Member
Posts: 131
Joined: March 4th, 2017, 3:47 pm

Re: Can we make the search bar less possessive?

Post by OneCD » February 7th, 2018, 4:06 pm

Would it help if the search field width was fixed instead of variable? I've never understood why it goes wide then narrow. ;)
Stuff I like: Apache BASH CouchPotato CRON Debian DNSMasq Entware-3x FireFox GitHub ImageMagick Kate KDE LibreELEC Netrunner NFS NVIDIA OpenVPN Orvibo S20 Python Raspberry Pi RAID SABnzbd+ SickRage Transmission Usenet VirtualBox WordPress XFCE

User avatar
safihre
Administrator
Administrator
Posts: 2377
Joined: April 30th, 2015, 7:35 am
Location: Switzerland
Contact:

Re: Can we make the search bar less possessive?

Post by safihre » February 8th, 2018, 6:29 am

For better fit in case of longer pagination and mobile, and also for a bit of effects (I'll admit).

User avatar
OneCD
Full Member
Full Member
Posts: 131
Joined: March 4th, 2017, 3:47 pm

Re: Can we make the search bar less possessive?

Post by OneCD » February 8th, 2018, 1:55 pm

No worries. Thanks @safihre. :)
Stuff I like: Apache BASH CouchPotato CRON Debian DNSMasq Entware-3x FireFox GitHub ImageMagick Kate KDE LibreELEC Netrunner NFS NVIDIA OpenVPN Orvibo S20 Python Raspberry Pi RAID SABnzbd+ SickRage Transmission Usenet VirtualBox WordPress XFCE

User avatar
safihre
Administrator
Administrator
Posts: 2377
Joined: April 30th, 2015, 7:35 am
Location: Switzerland
Contact:

Re: Can we make the search bar less possessive?

Post by safihre » February 8th, 2018, 2:02 pm

Maybe some day I'll improve the interface overall, with newer techniques and proper API calls.. Maybe someday.
Still oozes patchwork in the backend and Javascript :|

Post Reply