Closed Bug 5674 Opened 25 years ago Closed 25 years ago

Clipboard is hosed by bringing up a dialog

Categories

(Core :: XUL, defect, P3)

x86
Linux
defect

Tracking

()

VERIFIED DUPLICATE of bug 5336

People

(Reporter: akkzilla, Assigned: akkzilla)

Details

(Whiteboard: [06.jul.99]waiting for developer input)

Dialogs are never reasonable toplevel widgets for clipboard purposes. Since currently there's no way to tell in nsWindow::CreateNative whether we're creating a dialog or a real toplevel window (both have parent==0), we'd be better off not resetting the toplevel widget and keeping it pointing to the first window brought up (and hoping the user doesn't dismiss that one). I have a simple fix for this in my tree (in nsClipboard::SetTopLevelWidget, don't reset if we already have mWidget, and also do some sanity checking on the widget passed in to make sure it has a window) and would like to check it in for M5. The long-term fix is to have a permanent invisible widget; mcafee already has a bug to make this happen.
Status: NEW → ASSIGNED
Target Milestone: M5
M5.
Status: ASSIGNED → RESOLVED
Closed: 25 years ago
Resolution: --- → FIXED
A fix has been checked in for M5, which should get us by until the permanent-invisible widget is up.
Whiteboard: [06.jul.99]waiting for developer input
akkana, is there some way i can verify this, or should i just mark it verified?
Status: RESOLVED → REOPENED
Procedure for reproducing: Bring up browser or editor window. Select something, copy (control keys seem to be broken in the current build so you'll probably have to use the Edit menu), paste somewhere else to verify that copy/paste work. Now bring up a dialog and dismiss it. Try copy/paste after dismissing the dialog. If it still works, this bug is fixed; if not, the bug isn't fixed. Don't bring up/dismiss any top level windows during this test, and make sure you're using the first window brought up; these will still break the clipboard a lot of the time, until mcafee or pavlov implements the hidden toplevel window (filed as a separate bug).
Status: REOPENED → RESOLVED
Closed: 25 years ago25 years ago
Resolution: FIXED → DUPLICATE
*** This bug has been marked as a duplicate of 5336 ***
Status: RESOLVED → VERIFIED
Verified Dup
You need to log in before you can comment on or make changes to this bug.