Closed Bug 382283 Opened 17 years ago Closed 6 years ago

Implement "accelerated" scrolling for Gtk2 for page with position:fixed elements.

Categories

(Core :: Web Painting, defect)

x86
Linux
defect
Not set
normal

Tracking

()

RESOLVED INVALID

People

(Reporter: stephen.moehle, Assigned: stephen.moehle)

Details

Attachments

(1 file, 1 obsolete file)

User-Agent:       Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.9a5pre) Gecko/20070528 Firefox/3.0a5pre
Build Identifier: Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.9a5pre) Gecko/20070528 Firefox/3.0a5pre

Implement the same type of scrolling under Gtk2 (Linux, Sun, BSD, etc.) that was done for Windows in bug 343430 for pages with postion:fixed elements. Basically, implement the clipping rectangle in nsWindow::Scroll() for Gtk2.

Unfortunately, the patch I have uses gdk_windows_move_region() which is only available in Gtk2 2.8, which is higher than the current minimum requirement. So this fix cannot be used until http://wiki.mozilla.org/Linux/Runtime_Requirements, or something close, is adopted.

Reproducible: Always
Implement the clipping rect for nsWindow::Scroll() for Gtk2. Make view changes for bug 343430 apply to Gtk2 as well as Windows. Implement nsWindow::ScrollRect() for Gtk2 because it was there.
All of the test cases in bug 343430, bug 324819, and their various duplicates all  work fine as best as I can tell with this patch.
Reassigning to you ... don't forget to request review when those runtime requirements are adopted (I think they will become official sometime soon)
Assignee: roc → smoehle
Attached patch better fixSplinter Review
Better fix. Make dropdown lists in the Firefox UI, such as fonts on the Preferences dialog, scroll properly. See the changes to nsViewManager::UpdateViewAfterScroll().
Attachment #266441 - Attachment is obsolete: true
QA Contact: ian → layout.view-rendering
Component: Layout: View Rendering → Layout: Web Painting
Closing GTK2 related bugs since we removed GTK2 support at the beginning of 2018 in bug 1278282. Probably best to open a new bug in the unlikely event that any of these are still relevant.
Status: UNCONFIRMED → RESOLVED
Closed: 6 years ago
Resolution: --- → INVALID
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Creator:
Created:
Updated:
Size: