Closed Bug 181432 Opened 23 years ago Closed 19 years ago

clicking selected image should clear selection

Categories

(Core :: DOM: Selection, defect)

x86
All
defect
Not set
normal

Tracking

()

VERIFIED DUPLICATE of bug 326500

People

(Reporter: jruderman, Assigned: mjudge)

Details

(Whiteboard: EDITORBASE-)

Steps to reproduce: 1. Go to http://www.google.com/. 2. Drag the logo, select some text on the page, or Select All. 3. Click on the logo, which is a non-link image. Result: nothing happens. Expected: the selection should go away. I've been accidentally selecting images a lot lately, and I usually have to clear the selection before I can see the image well again. It's frustrating that it takes two tries to clear the selection. It's even more frustrating on http://www.penny-arcade.com/view.php3?date=2002-09-30&res=l because the space above the comic, which looks like a good place to click to clear the selection, is actually an image.
This bug is very similiar to bug 174163.
resolving this as invalid I don't think that clicking an image should clear the selection; that is inconsistent (and confusing to users when they inadvertently double-click). If you want to clear the selection in the browser, use command-click (on Macintosh) or control-click or click somewhere where there is no content (no images, no text, etc).
Status: NEW → RESOLVED
Closed: 23 years ago
Resolution: --- → INVALID
> I don't think that clicking an image should clear the selection; that is > inconsistent (and confusing to users when they inadvertently double-click). How would fixing this bug make Mozilla inconsistent, and with what? Clicking on text clears the selection. Clicking on dead space, which often looks the same as an image, clears the selection. Clicking an image in IE, Netscape 4, or Opera clears the selection. Clicking an image that is not selected does not cause it to become selected. I don't understand your comment about double-clicking. Where would a user be clicking that an accidental double-click would make fixing this bug a problem?
Status: RESOLVED → REOPENED
Resolution: INVALID → ---
nominating EDITORBASE to discuss behavior
Whiteboard: EDITORBASE
This is very definitely a bug, and it ruins play in a number of javasscript games. For example, try www.coonrod.net/games/freecell.html - every so often a card will get reversed instead of moved, and then even when it moves, the position stays selected, which is VERY odd. This worked fine with ie, opera and mozilla 1 and 1.1 but since 1.2 it's broken.
+linux moz 2002-12-12, phoenix 2002-12-18
OS: Windows XP → All
EDITORBASE-, a little annoying, but not a huge problem. Plus it isn't strictly an editor bug :-)
Whiteboard: EDITORBASE → EDITORBASE-
This is opposite to bug 120776, but I think that this one is right.
Bug 120776 is not exactly the opposite, if there is no anchor nor onclick handling on the clicked image, the selection should be cleared.
I know it's not traditional to dup older to newer, but I don't really care. There isn't anything useful here. *** This bug has been marked as a duplicate of 326500 ***
Status: REOPENED → RESOLVED
Closed: 23 years ago19 years ago
Resolution: --- → DUPLICATE
Status: RESOLVED → VERIFIED
You need to log in before you can comment on or make changes to this bug.