Closed Bug 360793 Opened 19 years ago Closed 19 years ago

Adjusting drag-selection leaves areas with wrong color

Categories

(Core :: Graphics, defect)

x86
Linux
defect
Not set
normal

Tracking

()

RESOLVED WORKSFORME

People

(Reporter: MatsPalmgren_bugz, Unassigned)

References

()

Details

Attachments

(1 file)

STEPS TO REPRODUCE 1. load URL 2. scroll down to #42 3. click-left-drag-select starting to the right of the text and drag slowly upwards up to to "41" then down again and move the mouse over the left edge of the link "www.alibaba.com" a few times (see screenshot) ACTUAL RESULTS Blocks of lighter blue color appears where there is no selection. This is not the secondary selection color, which is grey. It appears to be the same color as is blended for selected images. I can reproduce the bug at the top of the page also, leaving some images appearing to be selected when they are not. Clicking on another window fixes it. Show/hide the context menu on the page repairs the damage where the menu was located, mostly. I can't reproduce the bug in a Firefox trunk debug build of the same date. PLATFORM AND BUILD Firefox debug build of REFLOW_20061031_BRANCH dated 2006-11-14 on Linux/x86_64.
Attached image Screenshot #1
The darker blue is the primary selection color.
It's a cairo-gtk2 build.
Component: GFX: Gtk → GFX: Thebes
QA Contact: gtk → thebes
(In reply to comment #0) > I can't reproduce the bug in a Firefox trunk debug build of the same date. What do you mean by of the same date? In order to determine if this is a reflow branch or a Cairo issue, you would really need to compare with a non-reflow Cairo build from 20061031.
I can reproduce the bug in Firefox nightly trunk 2006-10-31-04 and trunk 2006-11-25 (both cairo-gtk2 on Linux). The trunk debug build I tested was a non-cairo build dated 2006-11-14. So this is a cairo regression not a reflow-branch regression.
Summary: [reflow branch] Adjusting drag-selection leaves areas with wrong color → Adjusting drag-selection leaves areas with wrong color
Version: Other Branch → Trunk
I can't reproduce the specific issue on win32, but there's another thing here... the little 2x3 pixel bit in between each entry that shows up as a slightly lighter color is because there's a "shim" image there. We draw images as selected by painting a partially transparent rectangle over them, and I'm not sure how selected text is being drawn -- but that's the difference between those two issues. The problem that's being seen in the rest of the text is having it be drawn in the same color as that shim ends up being, which is a little odd, so there could be something related there.
I can't reproduce the problem at the URL anymore (possibly because the content at the URL have changed), Firefox 20070321 Linux. I think this might be the same problem as in bug 374765 (which has testcase and patch).
Depends on: 374765
''because there's a "shim" image there'' in comment 5 makes me think this was the same issue as bug 374765. Should be fixed now. -> WORKSFORME
Status: NEW → RESOLVED
Closed: 19 years ago
Resolution: --- → WORKSFORME
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: