Closed
Bug 230081
Opened 21 years ago
Closed 15 years ago
Proper cursors for frame (or pane) resizing
Categories
(Core :: Layout: Images, Video, and HTML Frames, enhancement, P4)
Tracking
()
RESOLVED
FIXED
People
(Reporter: bugzilla, Assigned: enndeakin)
References
(Blocks 1 open bug, )
Details
Attachments
(3 files, 1 obsolete file)
Currently, Mozilla uses double-headed arrow cursors for resizing frames horizontally and vertically. A few Windows application use custom (or native?) cursors for resizing frames or panes in an application. CSS3 col-resize and row-resize cursors are for table columns and rows and are not best for frames resizing. Comment #14 of bug 18958 suggests there is an unique pair of cursors for resizing frames and/or panes. I confirm seeing this in a few Windows applications like Simply Web 2000 where the user can resize the lower pane. Small demo upcoming.
Reporter | ||
Comment 1•21 years ago
|
||
If you're using MSIE 6 for Windows, then you can view each of these cursor gifs as real .cur cursors. I can create a pair of small[er] resizing frame cursors or modify current shape of cursor, or color, etc..
Reporter | ||
Updated•21 years ago
|
Priority: -- → P4
Comment 2•21 years ago
|
||
Well, isn't this a dupe of bug 18958 ? It seems to me that this will be solved when we implement CSS3 (bug 163174). The current behaviour is NOT Windows-standard, but for CSS.
Reporter | ||
Comment 3•21 years ago
|
||
No, I don't see this as a dup of bug 18958. "col-resize" cursor should be used in situations where one resizes the columns of a table. When one resizes frames or a pane, then one should use a specific cursor for that. That is what some Windows-based applications already do too. Bug 163174 should have no impact at all on this bug. This bug is a refinement on proper cursor to use in precise contextual situations.
Reporter | ||
Comment 4•20 years ago
|
||
Windows (at least XP) uses native cursor for specific context. For pane resizing, Windows does not use the col-resize cursor but a different cursor. Start/Run.../Open: regedit.exe/View/Split will show an horizontal pane resizer cursor
Reporter | ||
Comment 5•20 years ago
|
||
Comment on attachment 138400 [details] 3 Gifs showing resizing frame cursors <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01//EN" "http://www.w3.org/TR/html4/strict.dtd"> <html lang="en"> <head profile="http://www.ietf.org/rfc/rfc2731.txt"> <meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1"> <meta http-equiv="Content-Language" content="en"> <meta http-equiv="Content-Style-Type" content="text/css"> <meta name="DC.authoor" content="Gérard Talbot"> <meta name="DC.subject" content="Frame and/or pane resizing cursors"> <meta name="DC.date.created" content="2004-01-04T09:54:03+11:00" scheme="W3CDTF"> <meta name="DC.date.modified" content="2004-12-19T09:54:03+11:00" scheme="W3CDTF"> <title>Bug 230081: proper cursors for frame or pane resizing</title> <style type="text/css" media="screen, tv, projection"> body {margin: 64px;} table {margin: 0px auto; background-color: #DCDCDC; border-collapse: collapse;} th, td {border: 16px solid #D0D0D0; /*ActiveBorder */} img {width: 32px; height: 32px;} </style> </head> <body> <p>The cursors are 32x32 bits, 2 colors, 326 bytes only and are viewable under MSIE 6 for Windows. The frame or pane resizing cursors are sometimes used in windows applications. E.g. Simply Web 2000 (a Windows-based text-to-speech browser) and MS-Windows regedit.exe use such typical cursor to resize the panes. The gray color corresponds roughly to default color for frameborder under Windows.</p> <table cellpadding="16" rules="all" frame="box" border="16"> <tr><th>Cursor property name</th><th>Rendering in a .gif</th></tr> <tr style="cursor: url('http://www.gtalbot.org/GRAPHICS/ICO/VframeresizedividerLarge.cur'), auto;"><td>Large vertical frame resizer</td><td><img src="http://www.gtalbot.org/GRAPHICS/GIF/Cursor_VFrameResizeLarge.gif" title="Large frame resize divider cursor" alt="A large vertical frame resize divider cursor"></td></tr> <tr style="cursor:url('http://www.gtalbot.org/GRAPHICS/ICO/VframeresizedividerMediu m.cur'), auto;"><td>Medium vertical frame resizer</td><td><img src="http://www.gtalbot.org/GRAPHICS/GIF/Cursor_VFrameResizeMedium.gif" title="Medium frame resize divider cursor" alt="A medium vertical frame resize divider cursor"></td></tr> <tr style="cursor:url('http://www.gtalbot.org/GRAPHICS/ICO/HframeresizedividerMediu m.cur'), auto;"><td>Medium horizontal frame resizer</td><td><img src="http://www.gtalbot.org/GRAPHICS/GIF/Cursor_HFrameResizeMedium.gif" title="Medium frame resize divider cursor" alt="A medium horizontal frame resize divider cursor"></td></tr> </table> </body></html>
Reporter | ||
Comment 6•20 years ago
|
||
oops...sorry about comment #5; this was a mistake.
Reporter | ||
Comment 7•20 years ago
|
||
If you're using MSIE 6 for Windows, then you can view each of these cursor gifs as real .cur cursors. I can create a pair of small[er] resizing frame cursors or modify current shape of cursor, or color, etc..
Attachment #138400 -
Attachment is obsolete: true
Reporter | ||
Updated•20 years ago
|
hrm, i'm not strictly opposed to this change. fwiw, camino uses <-| singly directed arrows. (!?) safari and omniweb use the standard cursor. macie, [mac]opera use <-|-> arrows with a bar. [win]regedit uses <-|-> arrows with a bar [win]explorer/ie use <--> arrows
Status: UNCONFIRMED → NEW
Ever confirmed: true
Comment 9•20 years ago
|
||
The cursors provided by bug 163174 do not correspond with any cursors I can obtain from my system. The pictures in attachment 169108 [details] do resemble them but are much larger than I expect. Clockwise from top left, these resizers are a) psp/excel splitter b) Tree view column resizer c) regedt32/netwatch splitter 4) explorer splitter
Comment 10•20 years ago
|
||
Comment on attachment 172552 [details]
Four resizers
I notice that IE seems to use the top left cursor for the CSS property but the
bottom left cursor to resize frames.
Reporter | ||
Updated•19 years ago
|
Assignee | ||
Comment 11•15 years ago
|
||
Comment on attachment 392711 [details] [diff] [review] use ew and ns cursors instead r=dbaron I checked that we use native cursors for these types (actually it's true for both new and old) on all of cocoa, gtk2, and windows2. (That wouldn't be true for diagonal resizers; see bug 474693 comment 1. The resize cursors that we synthesize are (a) all the diagonal ones on cocoa and (2) nesw-resize and nwse-resize on gtk2 (but NOT the more specific versions, ne-resize, nw-resize, se-resize, and sw-resize, which GTK provides))
Attachment #392711 -
Flags: review?(dbaron) → review+
Assignee | ||
Comment 13•15 years ago
|
||
http://hg.mozilla.org/mozilla-central/rev/33ffeaec3c87
Status: ASSIGNED → RESOLVED
Closed: 15 years ago
Resolution: --- → FIXED
Updated•6 years ago
|
Product: Core → Core Graveyard
Updated•6 years ago
|
Component: Layout: HTML Frames → Layout: Images
Product: Core Graveyard → Core
You need to log in
before you can comment on or make changes to this bug.
Description
•