Closed
Bug 493020
Opened 16 years ago
Closed 16 years ago
The side-by-side diff in pages history is not properly aligned
Categories
(support.mozilla.org :: Knowledge Base Software, task, P1)
support.mozilla.org
Knowledge Base Software
Tracking
(Not tracked)
VERIFIED
FIXED
1.1
People
(Reporter: underpass_bugzilla, Assigned: ecooper)
References
()
Details
(Keywords: regression, Whiteboard: sumo_only)
Attachments
(1 file)
339 bytes,
patch
|
paulc
:
review+
|
Details | Diff | Splinter Review |
User-Agent: Mozilla/5.0 (X11; U; Linux i686; it; rv:1.9.0.10) Gecko/2009042315 Firefox/3.0.10
Build Identifier:
Until a few days ago, when invoking the side-by-side diff of two different versions of a page, the text was equally alligned in the two columns.
Now this seems to be broken, and it's difficult to track the changes in a page.
Reproducible: Sometimes
Actual Results:
Example:
https://support.mozilla.com/tiki-pagehistory.php?locale=en-US&page=Keyboard+shortcuts&compare=1&oldver=31&newver=32&diff_style=sidediff-full
Expected Results:
Oddly enough, some pages still show the correct behaviour:
https://support.mozilla.com/tiki-pagehistory.php?page=%2ANo+sound+in+Firefox&compare=1&oldver=11&newver=12&diff_style=sidediff-full
Summary: The side-by-side diff is not properly alligned → The side-by-side diff in pages history is not properly alligned
Comment 1•16 years ago
|
||
Simone, is this one aligned right?
https://support.mozilla.com/tiki-pagehistory.php?locale=en-US&page=*Keyboard+shortcuts&compare=1&oldver=31&newver=32&diff_style=sidediff-full
This is the staging version of the first link you provided. Maybe you can provide a few more examples so we can see if there's a pattern?
Paul, it is not. I'll show you the result:
http://img98.imageshack.us/img98/5872/diff2.png
Other example:
https://support.mozilla.com/tiki-pagehistory.php?page=Page+Info+window&compare=1&oldver=24&newver=25&diff_style=sidediff-full
Comment 4•16 years ago
|
||
Eric, do you have time to look at this? Laura?
Simone mentions this bug is very important :) for updating the article v3.5
Status: UNCONFIRMED → NEW
Ever confirmed: true
Comment 5•16 years ago
|
||
Is this a regression or has it always been this bad? This looks pretty horrible and I'm worried about the 3.5 release which is quickly approaching.
SUMO 1.2 is scheduled for a June 11 release. I'd love to see a patch for this asap and then we can figure out how to best get this out so localizers can start to update documentation for 3.5 without having to go through the pain Simone and friends did.
Comment 7•16 years ago
|
||
Do we know when it regressed?
Looking at list of the fixed bugs in the 1.0.2 release, I found bug 450342
Comment 10•16 years ago
|
||
Ah, that definitely looks like the cause of this. Good catch Simone! Eric, can you take a look at this?
Assignee: nobody → smirkingsisyphus
Target Milestone: --- → 1.2
Updated•16 years ago
|
Keywords: regression
Updated•16 years ago
|
Whiteboard: wanted in 1.1.1
Updated•16 years ago
|
Whiteboard: wanted in 1.1.1
Target Milestone: 1.2 → 1.1.1
Assignee | ||
Comment 11•16 years ago
|
||
(In reply to comment #10)
> Ah, that definitely looks like the cause of this. Good catch Simone! Eric, can
> you take a look at this?
Yeah, it seems line wrapping isn't something that meshes well with a lot of the diff styles. I'd say the approach would be:
1) back out r24453/r24454 from bug 450432 as a solution for this bug
2) move this to 1.1
3) reopen bug 450432 with a reference to this one and decide on a better approach
4) move bug 450432 to 1.1.1
I'd much rather have this fixed and deal with bug 450432 in the interim. Sound reasonable?
Updated•16 years ago
|
Priority: -- → P1
Reporter | ||
Comment 12•16 years ago
|
||
ecooper: if I can vote, I say "Aye" to your solution. :)
Assignee | ||
Comment 13•16 years ago
|
||
(In reply to comment #12)
> ecooper: if I can vote, I say "Aye" to your solution. :)
David what's your take? Do you want to go this route (comment 11)?
Comment 14•16 years ago
|
||
Eric, what does bug 450432 have to do with this problem? I don't really follow, I'm afraid.
The reason why we need to fix the diff issue in 1.1.1 is because we want the fix to be available _before_ Firefox 3.5 is released. If your proposed approach in comment 11 aims to still do that while not regressing other things, I am fine with the approach (but still don't quite understand it).
Assignee | ||
Comment 15•16 years ago
|
||
(In reply to comment #14)
> Eric, what does bug 450432 have to do with this problem? I don't really follow,
> I'm afraid.
>
> The reason why we need to fix the diff issue in 1.1.1 is because we want the
> fix to be available _before_ Firefox 3.5 is released. If your proposed approach
> in comment 11 aims to still do that while not regressing other things, I am
> fine with the approach (but still don't quite understand it).
I'm dumb. Bug 450342.
It'll make sense with that one.
Comment 16•16 years ago
|
||
I still don't really understand the proposed shuffling with the bugs. I looked at the screenshot of how it looked like before the other bug was fixed (attachment 333491 [details]) and it looks quite horrible. Are you suggesting we go back to that state?
Assignee | ||
Comment 17•16 years ago
|
||
(In reply to comment #16)
> I still don't really understand the proposed shuffling with the bugs. I looked
> at the screenshot of how it looked like before the other bug was fixed
> (attachment 333491 [details]) and it looks quite horrible. Are you suggesting we go back
> to that state?
I have a trivial fix (one-line CSS change) that I'll apply when I get settled in for today's meeting that seems to take care of this without the hassle of what I said in comment 11.
Comment 18•16 years ago
|
||
Please submit a patch and have Laura or Paul review!
Assignee | ||
Comment 19•16 years ago
|
||
It seems you need to use min-width as it won't render properly with just width. Anyway, very trivial fix that seems to take care of the problem. I think.
Attachment #379703 -
Flags: review?(paul.craciunoiu)
Comment 20•16 years ago
|
||
Comment on attachment 379703 [details] [diff] [review]
v1
I tested this on:
https://support.mozilla.com/tiki-pagehistory.php?locale=en-US&page=Keyboard+shortcuts&compare=1&oldver=31&newver=32&diff_style=sidediff-full
(my local URL of course)
And about 2 others. Looks good!
Attachment #379703 -
Flags: review?(paul.craciunoiu) → review+
Reporter | ||
Comment 21•16 years ago
|
||
Sorry, Paul, did you try this on support-stage or even on the production site?
The link you provided I see just like before: not well formatted.
Platforms tested:
Mozilla/5.0 (X11; U; Linux i686; it; rv:1.9.0.10) Gecko/2009042315 Firefox/3.0.10
Mozilla/5.0 (Windows; U; Windows NT 5.1; it; rv:1.9.0.10) Gecko/2009042316 Firefox/3.0.10
Updated•16 years ago
|
Comment 22•16 years ago
|
||
Simone, Paul was just reviewing Eric's patch, but it hasn't been committed to stage yet. Eric (or Paul) will do it shortly though. :)
Comment 23•16 years ago
|
||
(In reply to comment #20)
> (From update of attachment 379703 [details] [diff] [review])
> I tested this on:
> https://support.mozilla.com/tiki-pagehistory.php?locale=en-US&page=Keyboard+shortcuts&compare=1&oldver=31&newver=32&diff_style=sidediff-full
> (my local URL of course)
> And about 2 others. Looks good!
I should say, Eric, since we have both min- and max-width equal (and IE6 doesn't support these AFAIK), why not just replace both with a fixed with?
Reporter | ||
Comment 24•16 years ago
|
||
(In reply to comment #20)
> I tested this on: [snip]
> And about 2 others. Looks good!
Sorry :-[
I read "tested" and I did not understand... I will not post other comments...
Thanks :-)
Assignee | ||
Comment 25•16 years ago
|
||
(In reply to comment #23)
> (In reply to comment #20)
> > (From update of attachment 379703 [details] [diff] [review] [details])
> > I tested this on:
> > https://support.mozilla.com/tiki-pagehistory.php?locale=en-US&page=Keyboard+shortcuts&compare=1&oldver=31&newver=32&diff_style=sidediff-full
> > (my local URL of course)
> > And about 2 others. Looks good!
>
> I should say, Eric, since we have both min- and max-width equal (and IE6
> doesn't support these AFAIK), why not just replace both with a fixed with?
It renders slightly differently (vs. using just width). I'm not sure which looks better, of course.
Comment 26•16 years ago
|
||
Can we get this checked in so Simone and others can test please?
Assignee | ||
Comment 27•16 years ago
|
||
r26388/r26389
Stage will be updated with these changes when the minify cache refreshes. Please give it about two hours to let it purge itself.
Status: NEW → RESOLVED
Closed: 16 years ago
Resolution: --- → FIXED
This is looking good to me on https://support-stage.mozilla.org/tiki-pagehistory.php?locale=en-US&page=Keyboard+shortcuts&compare=1&oldver=31&newver=32&diff_style=sidediff-full&login&login, but I'll let others (Simone) test as well, before I verify.
Comment 29•16 years ago
|
||
I'm joining the positive choir (well, only duo so far): it's looking a lot better! :)
Reporter | ||
Comment 30•16 years ago
|
||
We are a trio, then. The text is now well alligned (tried with several page as samples, will try with some more later) :)
The only strange thing I still see is something probably related to the character encoding in the page, since the letters à è etc. are sometimes showed with as �
Thanks, Simone -- I'm going to verify this, and if we see any regressions, we can file them anew.
Status: RESOLVED → VERIFIED
Summary: The side-by-side diff in pages history is not properly alligned → The side-by-side diff in pages history is not properly aligned
Updated•16 years ago
|
Target Milestone: 1.1.1 → 1.1
Updated•16 years ago
|
Whiteboard: sumo_only
You need to log in
before you can comment on or make changes to this bug.
Description
•