Public bug reported:

(this behavior is the same or at least very similar to that reported in
1878293 , (which is fixed! (thanks!!)), but now it happens in popup
windows in firefox rather than xterm.  Possible regression?

The testcase below demonstrates the failure, and contains more
explanation of the issue.

Bug happens in firefox ( /usr/bin/firefox , version
85.0+build1-0ubuntu0.20.04.1 ) , but NOT in firefox installed as "sudo
snap install firefox" ( version 85.0-1 ).  Also does NOT occur in
chromium-browser.

$ lsb_release -rd
Description:    Ubuntu 20.04.2 LTS
Release:        20.04

Thanks as always.

Here (from <html> to </html>) is the testcase (usage notes embedded)
(also included as an attachment):

<html>
  <head>
    <script type="text/javascript">
      function displaymessage() {
      var href = "file:///dev/null" ;
      var windowname = "fred_" + (new Date());
      window.open(href, windowname, 
'width=400,height=150,resizable=yes,scrollbars=yes');
      }
    </script>
    <style>  </style>
  </head>
  <body>
    <form>
      <input type="button" value="click here to test!" 
onclick="displaymessage()" />
    </form>

    <p>
      (Obviously, this example requires firefox and (optionally) 
chromium-browser.<br>
      Javascript must be enabled as well)<br>
      Put this html snippet into a file named e.g. popup_test.html,<br>
      then open in firefox browser, or invoke from the commandline via:<br>
      % firefox popup_test.html<br>
      When you click the button above, an empty, <br>
      resizable popup window will be presented.<br>
      Try resizing from each corner, and from each edge.<br>
      The failure is this: all four corners of the popup window will move 
during resizing.<br>
      Expected result: at most three corners should move (when dragging a 
corner of the window)<br>
      or at most two (when dragging an edge of the window).<br>
      (This demo works (i.e. reproduces the failure) in firefox on latest 
Ubuntu 20.04)<br>
      Meanwhile, the popup works fine if this example is opened in 
chromium-browser<br>
      (or invoked from the commandline like this):<br>
      % chromium-browser popup_test.html<br>
    </p>

  </body>
</html>

ProblemType: Bug
DistroRelease: Ubuntu 20.04
Package: firefox 85.0+build1-0ubuntu0.20.04.1
ProcVersionSignature: Ubuntu 5.8.0-41.46~20.04.1-generic 5.8.18
Uname: Linux 5.8.0-41-generic x86_64
NonfreeKernelModules: nvidia_modeset nvidia
AddonCompatCheckDisabled: False
ApportVersion: 2.20.11-0ubuntu27.16
Architecture: amd64
AudioDevicesInUse:
 USER        PID ACCESS COMMAND
 /dev/snd/controlC0:  johnc      1975 F.... pulseaudio
 /dev/snd/controlC2:  johnc      1975 F.... pulseaudio
 /dev/snd/controlC1:  johnc      1975 F.... pulseaudio
BuildID: 20210118153634
CasperMD5CheckResult: skip
Channel: Unavailable
CurrentDesktop: ubuntu:GNOME
Date: Wed Feb  3 10:42:59 2021
DefaultProfileExtensions: extensions.sqlite corrupt or missing
DefaultProfileIncompatibleExtensions: Unavailable (corrupt or non-existant 
compatibility.ini or extensions.sqlite)
DefaultProfileLocales: extensions.sqlite corrupt or missing
DefaultProfilePrefErrors: Unexpected character ',' before close parenthesis @ 
/usr/lib/firefox/omni.ja:greprefs.js:353
DefaultProfileThemes: extensions.sqlite corrupt or missing
ForcedLayersAccel: False
InstallationDate: Installed on 2020-07-27 (190 days ago)
InstallationMedia: Ubuntu 20.04 LTS "Focal Fossa" - Release amd64 (20200423)
Profile0Extensions: extensions.sqlite corrupt or missing
Profile0IncompatibleExtensions: Unavailable (corrupt or non-existant 
compatibility.ini or extensions.sqlite)
Profile0Locales: extensions.sqlite corrupt or missing
Profile0PrefErrors: Unexpected character ',' before close parenthesis @ 
/usr/lib/firefox/omni.ja:greprefs.js:353
Profile0PrefSources: prefs.js
Profile0Themes: extensions.sqlite corrupt or missing
Profiles:
 Profile1 (Default) - LastVersion=None/None (Out of date)
 Profile0 - LastVersion=85.0/20210118153634 (In use)
RunningIncompatibleAddons: False
SourcePackage: firefox
UpgradeStatus: No upgrade log present (probably fresh install)
dmi.bios.date: 08/23/2011
dmi.bios.release: 4.6
dmi.bios.vendor: American Megatrends Inc.
dmi.bios.version: 0705
dmi.board.asset.tag: To be filled by O.E.M.
dmi.board.name: M5A99X EVO
dmi.board.vendor: ASUSTeK Computer INC.
dmi.board.version: Rev 1.xx
dmi.chassis.asset.tag: To Be Filled By O.E.M.
dmi.chassis.type: 3
dmi.chassis.vendor: To Be Filled By O.E.M.
dmi.chassis.version: To Be Filled By O.E.M.
dmi.modalias: 
dmi:bvnAmericanMegatrendsInc.:bvr0705:bd08/23/2011:br4.6:svnTobefilledbyO.E.M.:pnTobefilledbyO.E.M.:pvrTobefilledbyO.E.M.:rvnASUSTeKComputerINC.:rnM5A99XEVO:rvrRev1.xx:cvnToBeFilledByO.E.M.:ct3:cvrToBeFilledByO.E.M.:
dmi.product.family: To be filled by O.E.M.
dmi.product.name: To be filled by O.E.M.
dmi.product.sku: To be filled by O.E.M.
dmi.product.version: To be filled by O.E.M.
dmi.sys.vendor: To be filled by O.E.M.
mtime.conffile..etc.apport.crashdb.conf: 2021-01-25T16:00:23.584688

** Affects: firefox (Ubuntu)
     Importance: Undecided
         Status: New


** Tags: amd64 apport-bug focal

** Attachment added: "popup resizing testcase (html / javascript)"
   
https://bugs.launchpad.net/bugs/1914462/+attachment/5459447/+files/popup_test.html

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1914462

Title:
  resize popup wonky in firefox

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/firefox/+bug/1914462/+subscriptions

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

Reply via email to