Closed
Bug 218312
Opened 21 years ago
Closed 21 years ago
OS/2 drag/drop & copy/paste updates
Categories
(Core :: DOM: Copy & Paste and Drag & Drop, enhancement)
Tracking
()
RESOLVED
FIXED
People
(Reporter: dragtext, Assigned: mkaply)
Details
Attachments
(2 files, 1 obsolete file)
1.45 KB,
application/octet-stream
|
Details | |
13.76 KB,
patch
|
jhpedemonte
:
review+
|
Details | Diff | Splinter Review |
User-Agent: Mozilla/5.0 (OS/2; U; Warp 4.5; en-US; rv:1.5b) Gecko/20030813 Build Identifier: Mozilla/5.0 (OS/2; U; Warp 4.5; en-US; rv:1.5b) Gecko/20030813 The attached patch offers some minor changes for OS/2: - Mouse copy/paste has been revised to more nearly emulate native behavior. It now uses mouse movement rather than button-press order when deciding whether to copy or paste. - Drags from Mozilla have been given more informative icons. Urls display the standard WPS Url icon while text uses a fairly generic textfile icon. Mozilla-only drags continue to use the system file icon. - Per the comment on Bugzilla #216920, nsWindow::ReleaseDragHPS has been reworked and renamed ReleaseIfDragHPS. Files affected: Makefile.in nsDragService.cpp nsWindow.h nsWindow.cpp resource.h widget.rc res/dndtext.ico [new] res/dndurl.ico [new] Reproducible: Always Steps to Reproduce:
Reporter | ||
Comment 1•21 years ago
|
||
Reporter | ||
Comment 2•21 years ago
|
||
Comment 3•21 years ago
|
||
Over to someone who knows something about OS/2 and is (unlike Blake) working on Mozilla.
Assignee: blake → mkaply
Comment 4•21 years ago
|
||
> test -f ./res/aliasb.ptr || cp $(srcdir)/res/*.ptr ./res > + test -f ./res/dndurl.ico || cp $(srcdir)/res/*.ico ./res The first line is just a simple hack to keep from trying to copy the PTRs over themselves when building in the source tree. So rather than duplicating the hack, it might be best to just do this: > - test -f ./res/aliasb.ptr || cp $(srcdir)/res/*.ptr ./res > + test -f ./res/aliasb.ptr || cp $(srcdir)/res/*.* ./res > +extern "C" { > + APIRET APIENTRY DosQueryModFromEIP(HMODULE *phMod, ULONG *pObjNum, > + ULONG BuffLen, PCHAR pBuff, > + ULONG *pOffset, ULONG Address); > +} This is also declared in nsWindow.cpp. Just get rid of both references in the CPP files and add it to nsWidgetDefs.h. Otherwise, it looks good to me. Still, mkaply should take a look at it, too.
Updated•21 years ago
|
Attachment #130916 -
Flags: review?(mkaply)
Reporter | ||
Comment 5•21 years ago
|
||
Attachment #130916 -
Attachment is obsolete: true
Assignee | ||
Updated•21 years ago
|
OS: other → OS/2
Comment 6•21 years ago
|
||
Comment on attachment 131050 [details] [diff] [review] revised diff per comment #4 We need to get this checked in. Kaply, take a look and check it in.
Attachment #131050 -
Flags: review+
Assignee | ||
Comment 7•21 years ago
|
||
Fix checked in.
Status: NEW → RESOLVED
Closed: 21 years ago
Resolution: --- → FIXED
Updated•21 years ago
|
Attachment #130916 -
Flags: review?(mkaply)
You need to log in
before you can comment on or make changes to this bug.
Description
•