Closed Bug 976438 Opened 12 years ago Closed 1 year ago

top level panel does not stay on top when minimize browser window added to, also when restore/maximize that window again it changes location of panel

Categories

(Firefox :: General, defect)

x86
Windows XP
defect

Tracking

()

RESOLVED WORKSFORME

People

(Reporter: noitidart, Unassigned)

Details

(Whiteboard: [bugday-20140303][DUPEME?])

User Agent: Mozilla/5.0 (Windows NT 5.1; rv:27.0) Gecko/20100101 Firefox/27.0 (Beta/Release) Build ID: 20140212131424 Steps to reproduce: created a top level panel, but when minimize window it was added to, it hides the panel, also when restore this window, it changes the location of the top level panel on reappear. the reappear is not consistent a very buggy feel. paste this in scratchpad to insert panel top level, dbl click it to remove var win = Services.wm.getMostRecentWindow('navigator:browser'); var panel = win.document.createElement('panel'); var screen = Services.appShell.hiddenDOMWindow.screen; var props = { noautohide: true, noautofocus: false, level: 'top', style: 'padding:15px; margin:0; width:200px; height:200px; background-color:rgba(0,0,0,0.1); -moz-pointer-events:none; border:0; -moz-appearance:none !important;' } for (var p in props) { panel.setAttribute(p, props[p]); } panel.addEventListener('dblclick',function() { panel.parentNode.removeChild(panel); }, false); win.document.querySelector('#mainPopupSet').appendChild(panel); panel.openPopup(null, 'overlap', screen.availLeft, screen.availTop); Actual results: buggy panel behavior Expected results: consistent top level panel behavior where it stays on top even if window minizmied
A *visible* version of the testcase: ----- var win = Services.wm.getMostRecentWindow('navigator:browser'); var panel = win.document.createElement('panel'); var screen = Services.appShell.hiddenDOMWindow.screen; var props = { noautohide: true, noautofocus: false, level: 'top', style: 'padding:15px; margin:0; width:200px; height:200px; background-color:rgba(0,0,0,0.1); -moz-pointer-events:none; border:0;' } for (var p in props) { panel.setAttribute(p, props[p]); } panel.addEventListener('dblclick',function() { panel.parentNode.removeChild(panel); }, false); win.document.querySelector('#mainPopupSet').appendChild(panel); panel.openPopup(null, 'overlap', screen.availLeft, screen.availTop); ----- 2014-03-02-03-02-03-mozilla-central-firefox-30.0a1.ru.linux-x86_64 firefox-27.0.en-US.linux64 Minimization of the window minimizes also the panel. It doesn't seem to be different when unminimized. It moves slowly and imperfectly when I move the main window. There was a bug on something like that in the past.
Whiteboard: [bugday-20140303][DUPEME?]
I'm not sure what component this belongs in, but it sounds like Aleksej has the steps to reproduce the issue. Maybe a kind developer from Core::Javascript Engine can help us out, though I realize that may be the wrong area :) Thanks!
Status: UNCONFIRMED → NEW
Component: Untriaged → JavaScript Engine
Ever confirmed: true
Product: Firefox → Core
Severity: normal → S3

Sorry for the late reply, but this is defeinitely not the right component. Firefox:General might have been a better choice.
Given that this was 11 years ago … I do not have any issue with the previous code except that panel.openPopup no longer exists.

Status: NEW → RESOLVED
Closed: 1 year ago
Component: JavaScript Engine → General
Product: Core → Firefox
Resolution: --- → WORKSFORME
Version: 27 Branch → unspecified
You need to log in before you can comment on or make changes to this bug.