Closed Bug 1637187 Opened 1 year ago Closed 1 year ago

[Ubuntu] The Auth Required prompt can be resized larger than the browser window

Categories

(Toolkit :: Notifications and Alerts, defect)

77 Branch
x86_64
Linux
defect

Tracking

()

RESOLVED WONTFIX
Tracking Status
firefox77 --- wontfix

People

(Reporter: cbadau, Unassigned)

References

(Blocks 1 open bug)

Details

Attachments

(1 file)

Attached video issue.mp4

Affected versions

  • 77.0b4 (buildID: 20200511090718)
  • 78.0a1 (2020-05-11)

Affected platforms

  • Ubuntu 18.04 x64

Steps to reproduce

  1. Launch Firefox, ensure that "prompts.modalType.insecureFormSubmit"pref is set to 2;
  2. Resize the window.
  3. Access this link.
  4. Resize the prompt from the right corner on all the screen.

Expected result

  • The prompt is not resized on all the screen.

Actual result

  • The prompt is resized on all the screen after releasing the mouseclick that was used to resize in the first place.

Regression range

  • Will check if one ASAP.

Additional notes

  • See attachment "issue.mp4".
Has Regression Range: --- → no
Has STR: --- → yes

Should it even be resizable at all? Martin, do you know what is expected here and what our options are at the widget level?

Status: NEW → UNCONFIRMED
Ever confirmed: false
Flags: needinfo?(stransky)
Summary: [Ubuntu] The Auth Required prompt is resized on all the screen (even if the browser window is minimized) → [Ubuntu] The Auth Required prompt can be resized larger than the browser window

The dialog can be created as non-resizable (we may need to pass that info at the widget level) but I don't think this is actually a bug.

Flags: needinfo?(stransky)

If the window does not have eBorderStyle_resizeh style set [1] widget code should respect it and create non-resizable dialog then.

[1] https://searchfox.org/mozilla-central/rev/61fceb7c0729773f544a9656f474e36cd636e5ea/xpfe/appshell/nsAppShellService.cpp#653

My understand is that we do expect this dialog to be resizeable on Ubuntu, and given that, we can't clamp the size to the the current browser window. So I don't think there is anything to fix here.

Status: UNCONFIRMED → RESOLVED
Closed: 1 year ago
Resolution: --- → WONTFIX
You need to log in before you can comment on or make changes to this bug.