[Desktop-packages] [Bug 1914462] [NEW] resize popup wonky in firefox

2021-02-03 Thread John Crown
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  to ) is the testcase (usage notes embedded)
(also included as an attachment):


  

  function displaymessage() {
  var href = "file:///dev/null" ;
  var windowname = "fred_" + (new Date());
  window.open(href, windowname, 
'width=400,height=150,resizable=yes,scrollbars=yes');
  }

  
  
  

  



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

[Desktop-packages] [Bug 1914462] Re: resize popup wonky in firefox

2022-04-27 Thread John Crown
** Changed in: firefox (Ubuntu)
   Status: New => Fix Released

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

Title:
  resize popup wonky in firefox

Status in firefox package in Ubuntu:
  Fix Released

Bug description:
  (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  to ) is the testcase (usage notes embedded)
  (also included as an attachment):

  

  
function displaymessage() {
var href = "file:///dev/null" ;
var windowname = "fred_" + (new Date());
window.open(href, windowname, 
'width=400,height=150,resizable=yes,scrollbars=yes');
}
  



  

  

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

[Desktop-packages] [Bug 1914462] Re: resize popup wonky in firefox

2022-04-27 Thread John Crown
Problem is resolved.
Tested today in ubuntu 22.04 release, Mozilla Firefox 99.0.1
both snap and non-snap (downloaded firefox-99.0.1.tar.bz2) installations.

The popup window resizes correctly when dragging from any corner or edge.
Victory, and thanks to the unknown fixer(s).

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

Title:
  resize popup wonky in firefox

Status in firefox package in Ubuntu:
  Fix Released

Bug description:
  (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  to ) is the testcase (usage notes embedded)
  (also included as an attachment):

  

  
function displaymessage() {
var href = "file:///dev/null" ;
var windowname = "fred_" + (new Date());
window.open(href, windowname, 
'width=400,height=150,resizable=yes,scrollbars=yes');
}
  



  

  

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