Closed
Bug 1212956
Opened 10 years ago
Closed 10 years ago
Scrolling blanking results page
Categories
(Webtools Graveyard :: DXR, defect)
Webtools Graveyard
DXR
Tracking
(firefox44 affected)
RESOLVED
FIXED
| Tracking | Status | |
|---|---|---|
| firefox44 | --- | affected |
People
(Reporter: Gijs, Assigned: erik)
References
Details
STR:
1. Open: https://dxr.mozilla.org/mozilla-central/search?q=windowwatcher&=mozilla-central&redirect=true
2. scroll down
Where did my results go?
For more fun:
STR:
1. Open: https://dxr.mozilla.org/mozilla-central/search?q=windowwatcher&=mozilla-central&redirect=true
2. add path:idl to the search and hit enter in the box
Where did my results go? Oh, it helpfully decided to auto-tick "case sensitive" which I didn't ask for, and now it gets 0 results because it's trying to be case-sensitive.
This is destroying my productivity more and more every day. I can't trust the tool that's supposed to just be "grep" on our entire codebase (but slightly more clever).
Flags: needinfo?(erik)
| Assignee | ||
Comment 1•10 years ago
|
||
Hmm, I can't reproduce your first scenario. Does a reload do anything? (It shouldn't, as we now have proper cachebusting for JS and such.)
As for the second, the case-sensitive checkbox is a lost cause, and we're ripping it out; see bug 1184747. The patch looks pretty good; I'll try to land it soon.
Flags: needinfo?(erik)
| Reporter | ||
Comment 2•10 years ago
|
||
(In reply to Erik Rose [:erik][:erikrose] from comment #1)
> Hmm, I can't reproduce your first scenario. Does a reload do anything? (It
> shouldn't, as we now have proper cachebusting for JS and such.)
It works now, but when I reported this it wasn't just me for whom it was broken, see http://logs.glob.uno/?c=mozilla%23developers#c1309371 and responses from bholley, froydnj and bz.
Comment 3•10 years ago
|
||
I was going to pop in a suggest maybe one of the web heads was being weird, when #1 happened to me... scrolled down and everything blinked and disappeared. I can make it happen reliably atm.
| Assignee | ||
Comment 4•10 years ago
|
||
Aha! I got it to happen for me in Safari. Now I can chase it down. Apologies, Gijs, and thanks, Kendall!
| Assignee | ||
Comment 5•10 years ago
|
||
Looks like it has to do with the Case-sensitive checkbox (drat that thing). When I check it in Firefox, the bad behavior shows up.
| Assignee | ||
Updated•10 years ago
|
Summary: DXR is randomly breaking → Scrolling blanking results page
| Assignee | ||
Updated•10 years ago
|
Assignee: nobody → erik
| Assignee | ||
Comment 7•10 years ago
|
||
Reducing a bit, this happens when...
1. The query string does not match case-sensitively.
2. The query string has no `case` param.
3. The case-sensitivity flag saved in localstorage is on.
I'm not sure where URLs without a case param come from, but we shouldn't behave weirdly regardless.
Comment 8•10 years ago
|
||
Commit pushed to master at https://github.com/mozilla/dxr
https://github.com/mozilla/dxr/commit/e57c862b36c96a9c5f049f6db939c7a31ef4431c
Keep results from blanking on scroll. Fixes bug #1212956. Fixes bug #1072546.
The query run by infinite scroll is built from, among other things, the state of the Case-sensitive checkbox. Make sure that's synced up with the case param of the querystring on load.
Updated•10 years ago
|
Status: NEW → RESOLVED
Closed: 10 years ago
Resolution: --- → FIXED
Comment 9•10 years ago
|
||
Commit pushed to master at https://github.com/mozilla/dxr
https://github.com/mozilla/dxr/commit/6c1aca647e1bec9d42c096136b433d542a9a2311
Fix scroll blanking issues. Fix bug 1212956.
This is sort of a wallpaper, but even so. We shouldn't clear the result page if we're appending.
Updated•5 years ago
|
Product: Webtools → Webtools Graveyard
You need to log in
before you can comment on or make changes to this bug.
Description
•