Closed Bug 36235 Opened 26 years ago Closed 26 years ago

paste clipboard onto scrollbar??

Categories

(Core :: XUL, defect, P3)

x86
Linux
defect

Tracking

()

VERIFIED DUPLICATE of bug 36019

People

(Reporter: spam, Assigned: mjudge)

Details

Attachments

(1 file)

Linux build ID 2000-041808 if you select some text on a webpage and left-click the scrollbar area or slider, there's output to console: ->>>>>>>>>>>>>> Write Clipboard to memory If you left-click scrollbar instead you get: JavaScript error: line 0: uncaught exception: [Exception... "Not enough arguments [nsIClipboard.getData]" nsresult: "0x80570001 (NS_ERROR_XPC_NOT_ENOUGH_ARGS)" location: "JS frame :: chrome://bookmarks/content/bookmarks.js :: doPaste :: line 188" data: no] If you click middle-button - it will paste whatever you had on clipboard into the URL field. All this while clicking on scrollbar or scrollbar slider. Expected functionality: Not being able to either copy or paste to a scrollbar.
See bug 36019 for the problem with middle-click. I'll leave it to akkana to mark this a dup or leave it open if the left-click JS exception is something to worry about.
Assignee: asadotzler → akkana
Component: Browser-General → XP Toolkit/Widgets
Assignee: akkana → mjudge
Well, an exception when left-clicking certainly seems like something that shouldn't happen. I have nothing to do with left clicks on scrollbars, though. Maybe Mike knows something about it.
Sorry! It's a RIGHT-click on scrollbar that provokes the JS error. And it also pops up a concext menu but not the one i'd expect on a frameless page. (testpage was http://www.mozilla.org) Attaching screenshot. The procedure here was simply: 1: start mozilla 2: let it load mozilla.org webpage (default) 3: Select some text 4: RIGHT-click on scrollbar
an additional weirdness with this click - in the middle of listing context menu coordinates, console output states: "Client side image maps not supported yet, sorry!" - To expand a little on my expected behaviour here: As i see it, a clipboard-sensitive area should end where a scrollbar begins.
See bug 24117, "[gfx scrollbar] Middle mouse button click should position scrollbar", marked enhancement... it looks like middle-mouse clicks on the scrollbar should either do that, or nothing. If bug 24117 is not going to get implemented, it should be nothing -- which is bug 36019, "Middle click in scrollbar should not load URL". As for as right-clicking on the scrollbar goes, the general case is bug 27289, "scrollbar context menu loads last context menu"; there is also bug 30497, "Right clicking on scrollbar while dragging it causes a crash". This bug need not be concerned with right-clicking on the scrollbar. The "Client side image maps not supported yet, sorry!" problem should go away when bug 27289 is fixed, but if you are concerned go ahead and add a comment to that bug. All in all, this bug is covered; marking as a DUP of bug 36019. *** This bug has been marked as a duplicate of 36019 ***
Status: UNCONFIRMED → RESOLVED
Closed: 26 years ago
Resolution: --- → DUPLICATE
Well. I can't see it's quite covered. We're still left with a clipboard action when a left-click on scrollbar is performed. Why should there be clipboard activity triggered at all when i click a scrollbar? Every time the LEFT mouse-button is clicked on the scrollbar, the clipboard is written to memory (if a selection exists). Doesn't seem right. The reason many bugs are filed on this - with suggested behaviour - is (as i see it) basically because there's a designflaw here right from the start, and it cause confusion. And I have never seen that behaviour in any other application. But the essense of this bug is: Clicking a scrollbar shouldn't have anything to do with a clipboard at all.
Sorry for the spam. New QA Contact for Browser General. Thanks for your help Joseph (good luck with the new job) and welcome aboard Doron Rosenberg
QA Contact: jelwell → doronr
verified
Status: RESOLVED → VERIFIED
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Creator:
Created:
Updated:
Size: