Bug 1660223 Comment 26 Edit History

Note: The actual edited comment in the bug view page will always show the original commenter’s name and original timestamp.

Good news, I just repro'd locally. I'll try to capture in rr and submit to pernosco later on today.

This seems to require opening multiple print-preview dialogs at once (which normally

My STR, using Ubuntu 22.04:
(1) Set up a machine as a CUPS print server to share its printers:
```
sudo cupsctl --share-printers
```
Not sure if it's necessary, but I also went to Ubuntu print-settings, Additional Printer Settings, "Add", and then chose "Generic CUPS-BRF" as the printer type and then chose "Generic" and "Postscript" at the driver prompts.

The rest of my STR happens on my laptop (a second Ubuntu 22.04 machine):
(2) Configure laptop to use the above machine as its CUPS print server, by creating `$HOME/.cups/client.conf` with contents `ServerName IP-ADDRESS-OF-SERVER`
(3) Throttle the laptop bandwidth using `wondershaper`: `sudo apt install wondershaper` and then `sudo wondershaper  [interface-name] 200 200`  (Here, `interface-name` comes from e.g. `ifconfig`)
(4) Start Firefox (e.g. at `about:home`; the content doesn't matter).
(5) Hold Ctrl and rapidly press P several times.
This will spawn **several layers of stacked" print dialogs** (you can't really tell, except that the shadow-border gets a little darker as they stack.  You'll uncover them in subsequent steps).  The foreground one will probably show a spinner for a while.
(6) (optional) at this point you can remove the wondershaper throttling, `sudo wondershaper clear [interface-name]`)
(7) When the print preview is ready to interact with, click "Print".
(8) After a second, you'll find yourself looking at another print-preview dialog (the one that was covered up). Hit "Print" on that one.

ACTUAL RESULTS:
"Printing..." for a second, and then a crash.
Good news, I just repro'd locally. I'll try to capture in rr and submit to pernosco later on today.

This seems to require opening multiple print-preview dialogs at once (which normally isn't something that can happen, but apparently is possible if you get stuck waiting on a response from a remote cups server and you hit Ctrl+P again while the dialog is waiting)

My STR, using Ubuntu 22.04:
(1) Set up a machine as a CUPS print server to share its printers:
```
sudo cupsctl --share-printers
```
Not sure if it's necessary, but I also went to Ubuntu print-settings, Additional Printer Settings, "Add", and then chose "Generic CUPS-BRF" as the printer type and then chose "Generic" and "Postscript" at the driver prompts.

The rest of my STR happens on my laptop (a second Ubuntu 22.04 machine):
(2) Configure laptop to use the above machine as its CUPS print server, by creating `$HOME/.cups/client.conf` with contents `ServerName IP-ADDRESS-OF-SERVER`
(3) Throttle the laptop bandwidth using `wondershaper`: `sudo apt install wondershaper` and then `sudo wondershaper  [interface-name] 200 200`  (Here, `interface-name` comes from e.g. `ifconfig`)
(4) Start Firefox (e.g. at `about:home`; the content doesn't matter).
(5) Hold Ctrl and rapidly press P several times.
This will spawn **several layers of stacked" print dialogs** (you can't really tell, except that the shadow-border gets a little darker as they stack.  You'll uncover them in subsequent steps).  The foreground one will probably show a spinner for a while.
(6) (optional) at this point you can remove the wondershaper throttling, `sudo wondershaper clear [interface-name]`)
(7) When the print preview is ready to interact with, click "Print".
(8) After a second, you'll find yourself looking at another print-preview dialog (the one that was covered up). Hit "Print" on that one.

ACTUAL RESULTS:
"Printing..." for a second, and then a crash.
Good news, I just repro'd locally. I'll try to capture in rr and submit to pernosco later on today.

This seems to require opening multiple print-preview dialogs at once (which normally isn't something that can happen, but apparently is possible if you get stuck waiting on a response from a remote cups server and you hit Ctrl+P again while the dialog is waiting)

My STR, using Ubuntu 22.04:
(1) Set up a machine as a CUPS print server to share its printers:
```
sudo cupsctl --share-printers
```
Not sure if it's necessary, but I also went to Ubuntu print-settings, Additional Printer Settings, "Add", and then chose "Generic CUPS-BRF" as the printer type and then chose "Generic" and "Postscript" at the driver prompts.

The rest of my STR happens on my laptop (a second Ubuntu 22.04 machine):
(2) Configure laptop to use the above machine as its CUPS print server, by creating `$HOME/.cups/client.conf` with contents `ServerName IP-ADDRESS-OF-SERVER`
(3) Throttle the laptop bandwidth using `wondershaper`: `sudo apt install wondershaper` and then `sudo wondershaper  [interface-name] 200 200`  (Here, `interface-name` comes from e.g. `ifconfig`)
(4) Start Firefox (e.g. at `about:home`; the content doesn't matter).
(5) Hold Ctrl and rapidly press P several times.
This will spawn **several layers of stacked print dialogs** (you can't really tell, except that the shadow-border gets a little darker as they stack.  You'll uncover them in subsequent steps).  The foreground one will probably show a spinner for a while.
(6) (optional) at this point you can remove the wondershaper throttling, `sudo wondershaper clear [interface-name]`)
(7) When the print preview is ready to interact with, click "Print".
(8) After a second, you'll find yourself looking at another print-preview dialog (the one that was covered up). Hit "Print" on that one.

ACTUAL RESULTS:
"Printing..." for a second, and then a crash.
Good news, I just repro'd locally. I'll try to capture in rr and submit to pernosco later on today.

This seems to require opening multiple print-preview dialogs at once (which normally isn't something that can happen, but apparently is possible if you get stuck waiting on a response from a remote cups server and you hit Ctrl+P again while the dialog is waiting)

My STR, using Ubuntu 22.04:
(1) Set up a machine as a CUPS print server to share its printers:
```
sudo cupsctl --share-printers
```
Not sure if it's necessary, but I also went to Ubuntu print-settings, Additional Printer Settings, "Add", and then chose "Generic CUPS-BRF" as the printer type and then chose "Generic" and "Postscript" at the driver prompts.  This just gave me a shared printer that doesn't actually spit out paper, which is nice.

The rest of my STR happens on my laptop (a second Ubuntu 22.04 machine):
(2) Configure laptop to use the above machine as its CUPS print server, by creating `$HOME/.cups/client.conf` with contents `ServerName IP-ADDRESS-OF-SERVER`
(3) Throttle the laptop bandwidth using `wondershaper`: `sudo apt install wondershaper` and then `sudo wondershaper  [interface-name] 200 200`  (Here, `interface-name` comes from e.g. `ifconfig`)
(4) Start Firefox (e.g. at `about:home`; the content doesn't matter).
(5) Hold Ctrl and rapidly press P several times.
This will spawn **several layers of stacked print dialogs** (you can't really tell, except that the shadow-border gets a little darker as they stack.  You'll uncover them in subsequent steps).  The foreground one will probably show a spinner for a while.
(6) (optional) at this point you can remove the wondershaper throttling, `sudo wondershaper clear [interface-name]`)
(7) When the print preview is ready to interact with, click "Print".
(8) After a second, you'll find yourself looking at another print-preview dialog (the one that was covered up). Hit "Print" on that one.

ACTUAL RESULTS:
"Printing..." for a second, and then a crash.
Good news, I just repro'd locally. I'll try to capture in rr and submit to pernosco later on today.

This seems to require opening multiple print-preview dialogs at once (which normally isn't something that can happen, but apparently is possible if you get stuck waiting on a response from a remote cups server and you hit Ctrl+P again while the dialog is waiting)

My STR, using Ubuntu 22.04:
(1) Set up a machine as a CUPS print server to share its printers:
```
sudo cupsctl --share-printers
```
Not sure if it's necessary, but I also went to Ubuntu print-settings, Additional Printer Settings, "Add", and then chose "Generic CUPS-BRF" as the printer type and then chose "Generic" and "Postscript" at the driver prompts.  This just gave me a shared printer that doesn't actually spit out paper, which is nice.

The rest of my STR happens on my laptop (a second Ubuntu 22.04 machine):
(2) Configure laptop to use the above machine as its CUPS print server, by creating `$HOME/.cups/client.conf` with contents `ServerName IP-ADDRESS-OF-SERVER`
(3) Throttle the laptop bandwidth using `wondershaper`: `sudo apt install wondershaper` and then `sudo wondershaper  [interface-name] 200 200`  (Here, `interface-name` comes from e.g. `ifconfig`)
(4) Start Firefox (e.g. at `about:home`; the content doesn't matter).
(5) Hold Ctrl and rapidly press P several times.
This will spawn **several layers of stacked print dialogs** (you can't really tell, except that the shadow-border gets a little darker as they stack.  You'll uncover them in subsequent steps).  The foreground one will probably show a spinner for a while.
(6) (optional) at this point you can remove the wondershaper throttling, `sudo wondershaper clear [interface-name]`)
(7) When the print preview is ready to interact with, click "Print".
(8) After a second, you'll find yourself looking at another print-preview dialog (the one that was covered up). Hit "Print" on that one as well.

ACTUAL RESULTS:
After I hit Print on that second (initially-covered-up) dialog in step 8, it says "Printing" for a few seconds and then I crash.

Back to Bug 1660223 Comment 26