Closed Bug 36019 Opened 26 years ago Closed 26 years ago

Middle click in scrollbar should not load URL

Categories

(Core :: XUL, defect, P3)

x86
Linux
defect

Tracking

()

RESOLVED FIXED

People

(Reporter: vidiot, Assigned: akkzilla)

References

Details

In X, if you click the middle mouse button in a scrollbar, the scrollbar is supposed to center itself on the location of the cursor. It is a quick way to get to the top or bottom, i.e. click the middle button at the bottom or the top and the scrollbar will move there. Instead, the following error is reported: ->>>>>>>>>>>>>> Read Clipboard from memory JavaScript error: line 0: uncaught exception: [Exception... "Component returned failure code: 0x80004005 (NS_ERROR_FAILURE) [nsITransferable.getTransferData]" nsresult: "0x80004005 (NS_ERROR_FAILURE)" location: "JS frame :: chrome://navigator/content/navigator.js :: readFromClipboard :: line 1033" data: no] When the middle button is pressed in the scrollbar area, it is not supposed to be doing clipboard funtions. BTW, trying to use the query database to see if this bug is already there is nearly impossible. I used "scrollbar" as the query word and got such a long list that it would have taken forever to find (and possibly miss). Hopefully those who know can find this bug in the database, if it already exists.
The feature request is bug 24117, which I invite you to vote for. I'll leave this bug for the other problem, that middle-click over the scrollbar does the "take whatever's on the clipboard and load it in the browser window", which it shouldn't. I think that feature was implemented by akkana. Reassign to akkana, cc pavlov.
Assignee: trudelle → akkana
Severity: major → normal
Component: Widget → XP Toolkit/Widgets
Product: Architecture → Browser
QA Contact: nobody → jrgm
Summary: Middle cursor doesn't work with scrollbars → Middle click in scrollbar should not load URL
Version: unspecified → other
None of this JS is supposed to be necessary ... it's only there because the event system is so horked. Sigh. But I'll look at this in M17, if events don't get fixed before then so that we can remove all the workaround code.
Status: NEW → ASSIGNED
Target Milestone: --- → M17
*** Bug 36235 has been marked as a duplicate of this bug. ***
this bug is in reality fixed: Middle mouse button clicked over scrollbar now centers the slider where you clicked. This is the standard unix type behaviour and was finally implemented only a few days ago. :))))
This is now fixed (though I can't take credit for it), by the fix that made middle-click in the scrollbar scroll to the proper location.
Status: ASSIGNED → RESOLVED
Closed: 26 years ago
Resolution: --- → FIXED
You need to log in before you can comment on or make changes to this bug.