by brigandish · 4y ago · 0 comments
For a laugh, check out this bug[1] for the history page, extant since Firefox 11!, that means deletion is incredibly slow and tiresome. What makes me laugh even more is that history is stored in a SQLite database, meaning that deletion should be very easy and quick but they've decided to create some horrible extraction over the top that inevitably uses Javascript of some sort.
Just delete the stuff and refresh the page. Or don't, inform the user to close and reopen it themself, it would still be an improvement by a long way. Jesus wept, I know about Chesterton's Fence but how hard can this really be?
As this comment by a team committer shows, the direction of the product is wrongheaded and tells me all I need to know about why FF has fallen so far behind Chrome in market share:
> We understand this is still an issue, and we recognise that it is a pain point for people who do hit it. However, it likely involves a significant amount of non-trivial work to fix. At the moment our focus is on improving other areas of Firefox, and we don't have the time available to dedicate to this.
I mean, who removes history entries by selecting thousands of them manually? Okay, this guy, but who else?
I don't remember who named it like that, but the associated anecdote was about typing "BBBB" somewhere in Excel(I think it was the function search input), and how unlikely it was to ever happen.
Personally I've pasted the wrong thing into search bars more than once and they exhibit a range of behaviours.
Hence, to see something like this be fixed would be a sign that developer time is going into the core product. It could be anything else more fundamental than whatever I've seen announced by Mozilla lately.
I’ve often done it to clear out useless repetitive history entries that are just clogging up results when typing in the address/search bar. Ideally it would simply not make entries for some kinds of redirects and I could define rules of URLs to exclude, but in the absence of that I might just go through once or twice a year and delete a few of the biggest repetitive patterns. And how slow it’s been for the last decade has been rather frustrating at times. I just tried deleting a couple of thousand (I use Nightly, where a fix apparently landed last week) and it took half a second, which is much more relaxing than the ten or twenty seconds of full-blocking CPU thrashing that it used to be.
[1] https://hg.mozilla.org/integration/autoland/rev/04e6abff2792
I know the answer, because it's UI update code. I don't fucking care about the fancy UI updates, delete the entries and get out of my way. Javascript in most websites is obnoxious enough, in a browser it had better be good or it's beyond obnoxious, much like your reply.