Closed
Bug 112673
Opened 23 years ago
Closed 22 years ago
Text gets partially offset when scrolling
Categories
(Core :: Layout, defect)
Tracking
()
mozilla1.2alpha
People
(Reporter: bryner, Assigned: attinasi)
References
Details
Attachments
(1 file)
64.01 KB,
image/png
|
Details |
Sometimes when a line of text is only partially in view, and you then scroll so that the entire line is visible, the bottom part of the line of text ends up shifted one pixel to the right relative to the top part, creating an unintended "italics" effect. In the screen shot I'm about to attach, look at the line "in it's 8th printing, so it's been doing well.", at the end of the second article that's visible.
Reporter | ||
Comment 1•23 years ago
|
||
Sounds kinda like bug 16200 and unrelated to the font code.
Er, actually, that wouldn't explain it since you didn't scroll horizontally.
Comment 5•23 years ago
|
||
I've seen this too. Look at the "posted by", where only part of the text is offset. Scrolling vertically doesn't fix this, but selecting thte text, opening/closing a context menu above the text, and so on, does fix this. I saw this since I upgraded to RH7.2. I don't tihnk this is a font problem, since it fixes itsself on a repaint. IT could be an X problem, I guess. bryner and I both have different video cards, though.
Reporter | ||
Comment 7•23 years ago
|
||
I think so... looking at the "xmag of attachment 40047 [details]" on bug 87738, I don't see the pixel shift.
Comment 8•23 years ago
|
||
in attachment 40075 [details] the text
"me dice por co"
The "me di" is aligned with the bottom of the window.
The "ce por co" is shifted up one pixel
This an ugly font. Look at the 'e', 'c', and 'r', ugh. If this is outline
scaled fonts I would prefer not to use them.
Reporter | ||
Comment 9•23 years ago
|
||
Ok, so my problem shows a shift horizontally, the other shows a vertical shift.
Updated•23 years ago
|
Status: NEW → ASSIGNED
Reporter | ||
Comment 10•23 years ago
|
||
nominating for nsbeta1... this looks pretty bad when it happens.
Keywords: nsbeta1
Comment 12•23 years ago
|
||
I saw this on my window too. (in editor) It seems a problem with the problem with paint event. I don't think this is a text drawing problem in GFX. (What will happen to IMAGE if it is placed next to it ?) Not sure who should take a look at this. Someone familiar with paint event should inviegate it. Shanjian probably is not the right person to take this oen. give it to mcafee
Assignee: shanjian → mcafee
Updated•23 years ago
|
Target Milestone: --- → mozilla1.2
Comment 14•23 years ago
|
||
I see this every day -- use the mousewheel to scroll vertically, and everything below the point that was on the bottom when the scroll started will be offset by one pixel horizontally from everything above it. I've seen it on RH71 and RH72, on at least three different video cards, with different font setups (both raster and truetype), and I've never seen anything like this in any other app, so I doubt that it's an X, system, or X font problem. I don't see it on every page, though; it's sensitive to what text is at the bottom when the scroll happens. Would it help if I found a reproducible case?
Comment 15•23 years ago
|
||
yes, a reproducible case would help determine if the issue was in the font subsystem of the layout layer.
Comment 16•23 years ago
|
||
*** Bug 124745 has been marked as a duplicate of this bug. ***
Comment 17•23 years ago
|
||
See also bug 124745, does the scrolling offset explain the offset when a mozilla window is not on top and then moved to the top?
Comment 18•23 years ago
|
||
Perhaps if we draw a box around the text we can tell see if the box is offset as well as the text. If the box is partially offset then we should look at the code that repositions the pixels. If the box is fine but the glyphs are partly offset then we should look at the code that draws the glyphs. Maybe rendering the text a second time in an off screen window and bringing down the 2 sets of pixels and comparing.
Comment 19•23 years ago
|
||
It's not just scrolling. On Friday I saw this happen after a pulldown menu had covered the upper half of a line. Unfortunately I haven't found a reproducible case.
Comment 20•23 years ago
|
||
I found a non-scrolling case where I'm seeing this reproducibly: in the browser, do a Find In Page, type in a pattern, keep searching until "not found" dialog comes up. In my window manager, the smaller "not found" dialog comes up centered over the parent "Find" dialog, and is sized so that it obscures the top half of the Find dialog's buttons. Now dismiss the "not found" dialog, and notice that in the Find dialog, the top half of the Find button (both letters and border) is offset one pixel to the right compared to the lower half. The Cancel button is not affected.
Comment 21•23 years ago
|
||
> notice that ... the top half of the Find button (both letters
> and border) is offset one pixel to the right
Humm, that "and border" speaks to me.
Comment 23•23 years ago
|
||
Found another reproducible one. Go to slashdot.org, and resize your browser so that a headline (one of the big-white-block-letters-on-green headers) is half cut off at the bottom of the screen. Once you have the size right, hit reload (not sure if this step is required). Notice that the page displays first without the boxes down the right side of the page (I don't have any slashdot cookies; someone with a slashdot account might see a different format) and then redraws later with the right half of the table. Once it finally finishes shuffling things around and redrawing, scroll down with the mousewheel. The lower half of the header that was partially displayed will be offset one pixel to the right. Scrolling with page down doesn't cause this, only mousewheel scrolling.
Comment 24•23 years ago
|
||
*** Bug 126122 has been marked as a duplicate of this bug. ***
Comment 25•23 years ago
|
||
I mentioned that page up/down scrolling didn't cause this but mouse scrolling did. Shortly after I submitted, I discovered that scrolling down with the spacebar *does* trigger it. Slashdot turns out to be a good test case. Click around in slashdot comments to a story, using spacebar and the mousewheel to do your scrolling, and you'll see this happen quite often on italicised lines of comment text.
Comment 26•23 years ago
|
||
Pav: could this be caused by copying from the off screen buffer?
Comment 27•23 years ago
|
||
This might be related to the problem I have been experiencing in Mozilla with my web page @ http://linuxart.com/ (default leaf theme). When you move the mouse over any link (either text or img), it sometimes will shift it over and/or down by a pixel. This mostly happens in the middle column area, and I have not specified anything for it to do this in CSS or in HTML. I'm using validating XHTML and CSS (well, the CSS transparency hacks for the photos in Moz and IE do not validate, but everything else does). When scrolling, I see the same effect once in a while, for what it's worth.
Comment 28•22 years ago
|
||
(I think bug 133991 is another dup of this). I am seeing this as well, but on Win98. Changing OS to All. Another example can be seen at: http://www.sacbee.com/content/news/story/1987845p-2201460c.html -- after the page loads, simply 'mouse over' the left-hand floating toolbar. This should display some floated positioned tool-tip style -- but at the same time, portions of adjacent text actually shift slightly to the right by one pixel. Interestingly, this seems problem seems to magically go away if I leave the browser running for too long ...
OS: Linux → All
Comment 29•22 years ago
|
||
a user reports a reproducible case in comment #37 of bug 87738: http://bugzilla.mozilla.org/show_bug.cgi?id=87738#c37
Comment 30•22 years ago
|
||
Another page where it happens: http://www.linux.org.uk/ Every time I scroll I get broken text, when you select the broken text it is drawn correctly.
Comment 31•22 years ago
|
||
db@zigo, please look at bug 120918 and bug 80530, try to change your mozilla font prefs DPI settings, if it helps (for most people it does).
Comment 32•22 years ago
|
||
is this a dup of bug 80530?
Comment 33•22 years ago
|
||
Same web site and very similar screenshot to bug 80530. Resolving as duplicate. If you think this is not a duplicate, feel free to reopen. *** This bug has been marked as a duplicate of 80530 ***
Status: NEW → RESOLVED
Closed: 22 years ago
Resolution: --- → DUPLICATE
You need to log in
before you can comment on or make changes to this bug.
Description
•