#24873 closed defect (bug) (fixed)
Revisions: bugs when reloading on initial revision
| Reported by: | adamsilverstein | Owned by: | markjaquith |
|---|---|---|---|
| Priority: | normal | Milestone: | 3.6 |
| Component: | Revisions | Version: | 3.5.2 |
| Severity: | normal | Keywords: | has-patch commit |
| Cc: | Focuses: |
Description (last modified by )
Changeset [24667] introduced a bug where the revisions screen loads incorrectly if the selected revision is the original (1st) revision. to reproduce: go to the revisions screen; move the slider handle to the 1st (left in LTR) position; reload the page - expected behaviour is to see the diff, instead a no change diff is displayed.
Changeset [24814] introduced a bug where the tooltip placement is off, initially, for the leftmost tooltip position; to reproduce, go to the revisions screen; move the slider handle to the 1st (left in LTR) position; reload the page; hover over the leftmost revision WITHOUT first hovering over any other tick marks, the tooltip will be way off position to the left
Attachments (5)
Change History (15)
#1
@
13 years ago
upon further testing, i have noticed that reloading the revisions screen on the non initial revisions breaks with this patch applied, investigating; the tooltip placement is corrected by the patch, resubmitting with only that change.
#3
@
13 years ago
I wasn't able to reproduce the first issue by getting a blank diff, but I was able to see an issue when loading with the first revisions selected. Basically, when you load with the first revision selected it is comparing FROM the last revision TO the first. 28873.3.diff checks to see if we're looking at the first revision and sets the FROM to 0.
#5
@
13 years ago
I can reproduce the first bug exactly, as long as the first revision and last revision match. In that case, when it compares the two, you see a no change diff.
![(please configure the [header_logo] section in trac.ini)](/chrome/site/your_project_logo.png)
corrects bugs when loading revisions screen on initial revision with diff display and tooltip placement