Closed Bug 620806 Opened 14 years ago Closed 5 years ago

Choosing "properties" on print dialog causes erroneous behavior in Windows 7 x64 Classic and Aero theme (button does not respond, Thunderbird/Seamonkey process stays running after quit)

Categories

(MailNews Core :: Printing, defect)

x86_64
Windows 7
defect
Not set
normal

Tracking

(Not tracked)

RESOLVED WORKSFORME

People

(Reporter: hvbryner, Unassigned)

References

Details

Attachments

(2 files)

User-Agent:       Mozilla/5.0 (Windows; U; Windows NT 6.1; en-US; rv:1.9.2.13) Gecko/20101203 Firefox/3.6.13
Build Identifier: Mozilla/5.0 (Windows; U; Windows NT 6.1; en-US; rv:1.9.2.13) Gecko/20101207 Lightning/1.0b2 Thunderbird/3.1.7

Choosing "File, Print", then "Properties" button on dialog, then attempting to print causes no print job to be sent to the printer.  Then after shutting down Thunderbird, it still shows up as running in the Task Manager.

Reproducible: Always

Steps to Reproduce:
0. Enable Windows Classic theme and start Thunderbird
1. Open up an email
2. Choose "File, Print"
3. Click the "Properties" button to open up the printer-specific dialog
4. Close the printer-specific dialog
5. Choose "OK" on the "file, print" dialog to print the email
6. The email doesn't print
7. Try opening up the printer-specific dialog using "Properties" again
8. The printer-specific dialog no longer opens.
9. Do a "File, Exit".
10. Open up the Windows Task Manager - Thunderbird is still running.
11. Do not kill the process in the Task Manager
12. Open up Thunderbird again.
13. Repeat steps 1 through 3 above.  The printer-specific dialog does not open.
14. Close Thunderbird with "File, Exit"
15. Open up Windows Task Manager.
16. Kill the running instance of Thunderbird
17. Open up Thunderbird again
18. Repeat steps 1 through 3.  The printer-specific dialog will now open - once only.
Actual Results:  
Actual results are described inline above in "steps to reproduce"

Expected Results:  
Printer-specific dialog should always open when choosing "Properties" on the Print dialog, and print job should always print.

Happens with Windows Classic theme.  Works fine with default Windows 7 theme.
Summary: Choosing "properties" on print dialog causes erroneous behavior in Windows Classic theme → Choosing "properties" on print dialog causes erroneous behavior in Windows 7 Classic theme
Summary: Choosing "properties" on print dialog causes erroneous behavior in Windows 7 Classic theme → Choosing "properties" on print dialog causes erroneous behavior in Windows 7 x64 Classic theme
WFM, Windows7 64bit + Classic visual style.
Mozilla/5.0 (Windows; U; Windows NT 6.1; ja-JP; rv:1.9.2.13) Gecko/20101207 Thunderbird/3.1.7 ID:20101207091341
hvbryner do you see your issue if you start Thunderbird in -safemode (see http://support.mozillamessaging.com/en-US/kb/Safe+Mode) ?
Component: OS Integration → Theme
QA Contact: os-integration → theme
Also a screenshot would be helpful.
(In reply to comment #2)
> hvbryner do you see your issue if you start Thunderbird in -safemode (see
> http://support.mozillamessaging.com/en-US/kb/Safe+Mode) ?

Yes, it does have the same problem using -safemode.  But in this case, one must click the "OK" button on the printer-specific dialog for it to occur - "Cancel" works fine.
The printer-specific dialog shown in the attachment only comes up once when not in safe mode.  When in safe mode, it's a bit less predictable.  I had to bring it up twice in safe mode before the bug showed up in which it no longer comes up.  Then after closing Thunderbird (with File, Exit), thunderbird.exe still shows up in the task manager.
OK, I can reproduce with the following str.
And this happens with Aero and non-Aero both.

The problem happens when I carry out printing WITHOUT an email open with a new tab or a window.

[STR]
1. Start Thunderbird
2. Select a folder in the right pane
3. Select an email in the thread pane and just show in the massage pane(** NOT OPEN  the email in tab/window ** )
4. Open Print  dialog Ctrl+P
5. Click Printer's Properties and Close the property dialog by click 'OK'
6. Perform print by click 'OK' in the Print  dialog

7. Repeat 3-5

8. Exit (Alt > F > X)

[Actual]
No more pop up Printer's Properties  dialog.
Thunderbird  keeps stay on process, not kill by itself.

[Expected]
Printer's Properties  dialog appears.
Thunderbird should be killed by itself when exit.
Status: UNCONFIRMED → NEW
Ever confirmed: true
First Regression window(nightly):
3.0a1 10-May-2006: works
3.0a1 11-May-2006: broken File > Print

Second Regression window(nightly):
3.0a1 16-Jun-2006: broken File > Print
3.0a1 17-Jun-2006: fails (behavior is same as current version)
Component: Theme → General
QA Contact: theme → general
Summary: Choosing "properties" on print dialog causes erroneous behavior in Windows 7 x64 Classic theme → Choosing "properties" on print dialog causes erroneous behavior in Windows 7 x64 Classic and Aero theme
(In reply to comment #7)
> First Regression window(nightly):
> 3.0a1 10-May-2006: works
> 3.0a1 11-May-2006: broken File > Print
> 
> Second Regression window(nightly):
> 3.0a1 16-Jun-2006: broken File > Print
> 3.0a1 17-Jun-2006: fails (behavior is same as current version)

Can you debug that and propose a patch ?
(In reply to comment #8)
> (In reply to comment #7)
> > First Regression window(nightly):
> > 3.0a1 10-May-2006: works
> > 3.0a1 11-May-2006: broken File > Print
> > 
> > Second Regression window(nightly):
> > 3.0a1 16-Jun-2006: broken File > Print
> > 3.0a1 17-Jun-2006: fails (behavior is same as current version)
> 
> Can you debug that and propose a patch ?

Sorry, I can not.
Gary can you finish finding the regression ?
I can see this too, Win7 64bit Aero, TB 32bit. The user uses the preview pane exclusively, no Open email in separate tab.

The first open of the printer specific dialog works. Subsequent klicks on Properties fail. But printing (OK) works always.
Can also confirm the hanging TB process.

No problem of this kind on Firefox or other program noticed.

Nothing in Error console.
Does anybody see this on Seamonkey MailNews?
Summary: Choosing "properties" on print dialog causes erroneous behavior in Windows 7 x64 Classic and Aero theme → Choosing "properties" on print dialog causes erroneous behavior in Windows 7 x64 Classic and Aero theme (button does not respond, Thunderbird process stays running after quit)
(In reply to :aceman from comment #13)
> Does anybody see this on Seamonkey MailNews?

I can reproduce on Seamonkey MailNews
http://hg.mozilla.org/releases/mozilla-release/rev/c4405d7a95f6
Mozilla/5.0 (Windows NT 6.1; WOW64; rv:9.0.1) Gecko/20111221 Firefox/9.0.1 SeaMonkey/2.6.1
Does it only fail when printing a message? It works fine in the browser component?

Unfortunatelly I only develop on Linux so can't really debug this.
Can anybody create a pushlog from the regression range in comment 9?
What does broken File -> Print mean?
Summary: Choosing "properties" on print dialog causes erroneous behavior in Windows 7 x64 Classic and Aero theme (button does not respond, Thunderbird process stays running after quit) → Choosing "properties" on print dialog causes erroneous behavior in Windows 7 x64 Classic and Aero theme (button does not respond, Thunderbird/Seamonkey process stays running after quit)
Version: unspecified → Trunk
(In reply to Alice0775 White from comment #7)
> First Regression window(nightly):
> 3.0a1 10-May-2006: works
> 3.0a1 11-May-2006: broken File > Print

Regressed by:
Bug 326273 - (nsIThreadManager) Implement nsIThreadManager


> Second Regression window(nightly):
> 3.0a1 16-Jun-2006: broken File > Print
> 3.0a1 17-Jun-2006: fails (behavior is same as current version)
Regressed by:
Bug 338491 - Printing results in "Not available" error message.
Version: Trunk → unspecified
(In reply to :aceman from comment #15)
> Does it only fail when printing a message? It works fine in the browser
> component?
No problem.


> What does broken File -> Print mean?
No printing is done.
Thanks.
Component: General → Printing
Product: Thunderbird → MailNews Core
QA Contact: general → printing
Similar or same problem. 
All of a sudden the "Properties" button on the print dialog won't work. 
Closing Thunderbird leaves a Thunderbird process alive that must be killed.
Clue : Running TB with admin rights (using, of course, the exact same TB profile) is OK. 

Investigating..
wrong clue, sorry. Now it works continuously for both. I love intermittent bugs...
I am totally new to this process, not a programmer and not an IT expert in any way. I've simply done some testing of this bug that may be help an expert find a solution.
I'm having what I believe is a related problem.  Thunderbird 52.0b4 (32-bit) on windows 7 64 bit.  I've tried directly clicking on an email to print it and also tried print preview (displays fine).  When The print dialog box comes up showing it does show the correct default printer.  When I click on properties, both the properties and the OK button flash, but nothing happens.  When I print, my default double sided printing fails, it prints one page per sheet one sided.  I can print to a pdf driver and then print the same email doubled sided without problems.  I do know this worked in the past, but I print so little 2 page email that I do not know how long this has not been working.  I replaced the HP printer with the Brother MFC printer/scanner.

Troubleshooting information:



  Application Basics

    Name: Thunderbird
    Version: 52.0
    User Agent: Mozilla/5.0 (Windows NT 6.1; WOW64; rv:52.0) Gecko/20100101 Thunderbird/52.0
    Profile Folder: Open Folder

              (Local drive)
    Application Build ID: 20170223185626
    Enabled Plugins: about:plugins
    Build Configuration: about:buildconfig
    Memory Use: about:memory
    Profiles: about:profiles

  Mail and News Accounts
    account1:
      INCOMING: account1, , (pop3) sge.sgeinc.com:995, SSL, passwordCleartext
      OUTGOING: , sge.sgeinc.com:587, trySTARTTLS, none, true
      OUTGOING: , sge.sgeinc.com:587, trySTARTTLS, none, false
      OUTGOING: , sge.sgeinc.com:587, trySTARTTLS, none, false
      OUTGOING: , sge.sgeinc.com:587, trySTARTTLS, none, false

    account2:
      INCOMING: account2, , (none) Local Folders, plain, passwordCleartext

    account6:
      INCOMING: account6, , (pop3) sge.sgeinc.com:995, SSL, passwordCleartext
      OUTGOING: , sge.sgeinc.com:587, trySTARTTLS, none, true
      OUTGOING: , sge.sgeinc.com:587, trySTARTTLS, none, false

  Crash Reports
    https://crash-stats.mozilla.com/report/index/bp-9193e1ac-d943-4e19-b9ba-b702f2160625 (6/25/2016)

  Extensions
    Classic Toolbar Buttons, 1.4.9.4, true, CSTBB@NArisT2_Noia4dev
    Enigmail, 1.8.2, false, {847b3a00-7ab1-11d4-8f02-006008948af5}

  Important Modified Preferences

    Name: Value

      accessibility.typeaheadfind.flashBar: 0
      browser.cache.disk.capacity: 358400
      browser.cache.disk.filesystem_reported: 1
      browser.cache.disk.smart_size_cached_value: 358400
      browser.cache.disk.smart_size.first_run: false
      browser.cache.disk.smart_size.use_old_max: false
      browser.display.use_document_fonts: 0
      dom.apps.lastUpdate.buildID: 20160901155122
      dom.apps.lastUpdate.mstone: 49.0
      dom.apps.reset-permissions: true
      dom.max_chrome_script_run_time: 0
      extensions.lastAppVersion: 52.0
      font.internaluseonly.changed: true
      font.minimum-size.x-western: 12
      font.name.monospace.el: Consolas
      font.name.monospace.tr: Consolas
      font.name.monospace.x-baltic: Consolas
      font.name.monospace.x-central-euro: Consolas
      font.name.monospace.x-cyrillic: Consolas
      font.name.monospace.x-unicode: Consolas
      font.name.monospace.x-western: Consolas
      font.name.sans-serif.el: Calibri
      font.name.sans-serif.tr: Calibri
      font.name.sans-serif.x-baltic: Calibri
      font.name.sans-serif.x-central-euro: Calibri
      font.name.sans-serif.x-cyrillic: Calibri
      font.name.sans-serif.x-unicode: Calibri
      font.name.sans-serif.x-western: Verdana
      font.name.serif.el: Cambria
      font.name.serif.tr: Cambria
      font.name.serif.x-baltic: Cambria
      font.name.serif.x-central-euro: Cambria
      font.name.serif.x-cyrillic: Cambria
      font.name.serif.x-unicode: Cambria
      font.name.serif.x-western: Cambria
      font.size.fixed.el: 14
      font.size.fixed.tr: 14
      font.size.fixed.x-baltic: 14
      font.size.fixed.x-central-euro: 14
      font.size.fixed.x-cyrillic: 14
      font.size.fixed.x-unicode: 14
      font.size.fixed.x-western: 12
      font.size.variable.el: 17
      font.size.variable.tr: 17
      font.size.variable.x-baltic: 17
      font.size.variable.x-central-euro: 17
      font.size.variable.x-cyrillic: 17
      font.size.variable.x-unicode: 17
      font.size.variable.x-western: 12
      gfx.blacklist.suggested-driver-version: 10.6
      gfx.crash-guard.d3d11layers.appVersion: 45.2.0
      gfx.crash-guard.d3d11layers.deviceID: 0x1287
      gfx.crash-guard.d3d11layers.driverVersion: 10.18.13.6881
      gfx.crash-guard.d3d11layers.feature-d2d: true
      gfx.crash-guard.d3d11layers.feature-d3d11: true
      gfx.crash-guard.status.d3d11layers: 2
      gfx.direct3d.last_used_feature_level_idx: 0
      mail.openMessageBehavior.version: 1
      mail.winsearch.firstRunDone: true
      mailnews.database.global.datastore.id: 13ecc4bc-8272-4cd7-b6d0-d5554cc9c28
      media.gmp.storage.version.observed: 1
      network.cookie.cookieBehavior: 2
      network.cookie.lifetimePolicy: 1
      network.cookie.prefsMigrated: true
      network.predictor.cleaned-up: true
      places.database.lastMaintenance: 1490931261
      places.history.enabled: false
      places.history.expiration.transient_current_max_pages: 122334
      plugin.importedState: true
      plugin.state.flash: 0
      plugin.state.npctrl: 0
      plugin.state.npepicupdate: 0
      plugin.state.npgoogleupdate: 0
      plugin.state.npitunes: 0
      plugin.state.nppdf: 0
      plugin.state.npqtplugin: 0
      plugin.state.npwatweb: 0
      plugin.state.npystate: 0
      print.print_printer: HP Color LaserJet 2605dn_2605dtn PCL 6
      print.printer_Brother_MFC-9340CDW_Printer.print_bgcolor: false
      print.printer_Brother_MFC-9340CDW_Printer.print_bgimages: false
      print.printer_Brother_MFC-9340CDW_Printer.print_duplex: -437918235
      print.printer_Brother_MFC-9340CDW_Printer.print_edge_bottom: 0
      print.printer_Brother_MFC-9340CDW_Printer.print_edge_left: 0
      print.printer_Brother_MFC-9340CDW_Printer.print_edge_right: 0
      print.printer_Brother_MFC-9340CDW_Printer.print_edge_top: 0
      print.printer_Brother_MFC-9340CDW_Printer.print_evenpages: true
      print.printer_Brother_MFC-9340CDW_Printer.print_footercenter:
      print.printer_Brother_MFC-9340CDW_Printer.print_footerleft: &PT
      print.printer_Brother_MFC-9340CDW_Printer.print_footerright: &D
      print.printer_Brother_MFC-9340CDW_Printer.print_headercenter:
      print.printer_Brother_MFC-9340CDW_Printer.print_headerleft: &T
      print.printer_Brother_MFC-9340CDW_Printer.print_headerright: &U
      print.printer_Brother_MFC-9340CDW_Printer.print_in_color: true
      print.printer_Brother_MFC-9340CDW_Printer.print_margin_bottom: 0.5
      print.printer_Brother_MFC-9340CDW_Printer.print_margin_left: 0.5
      print.printer_Brother_MFC-9340CDW_Printer.print_margin_right: 0.5
      print.printer_Brother_MFC-9340CDW_Printer.print_margin_top: 0.5
      print.printer_Brother_MFC-9340CDW_Printer.print_oddpages: true
      print.printer_Brother_MFC-9340CDW_Printer.print_orientation: 0
      print.printer_Brother_MFC-9340CDW_Printer.print_page_delay: 50
      print.printer_Brother_MFC-9340CDW_Printer.print_paper_data: 1
      print.printer_Brother_MFC-9340CDW_Printer.print_paper_height: 11.00
      print.printer_Brother_MFC-9340CDW_Printer.print_paper_name:
      print.printer_Brother_MFC-9340CDW_Printer.print_paper_size_unit: 0
      print.printer_Brother_MFC-9340CDW_Printer.print_paper_width: 8.50
      print.printer_Brother_MFC-9340CDW_Printer.print_resolution: 600
      print.printer_Brother_MFC-9340CDW_Printer.print_reversed: false
      print.printer_Brother_MFC-9340CDW_Printer.print_scaling: 1.00
      print.printer_Brother_MFC-9340CDW_Printer.print_shrink_to_fit: true
      print.printer_Brother_MFC-9340CDW_Printer.print_to_file: false
      print.printer_Brother_MFC-9340CDW_Printer.print_unwriteable_margin_bottom: 0
      print.printer_Brother_MFC-9340CDW_Printer.print_unwriteable_margin_left: 0
      print.printer_Brother_MFC-9340CDW_Printer.print_unwriteable_margin_right: 0
      print.printer_Brother_MFC-9340CDW_Printer.print_unwriteable_margin_top: 0
      print.printer_HP_Color_LaserJet_2605dn_2605dtn_PCL_6.print_bgcolor: false
      print.printer_HP_Color_LaserJet_2605dn_2605dtn_PCL_6.print_bgimages: false
      print.printer_HP_Color_LaserJet_2605dn_2605dtn_PCL_6.print_command:
      print.printer_HP_Color_LaserJet_2605dn_2605dtn_PCL_6.print_downloadfonts: true
      print.printer_HP_Color_LaserJet_2605dn_2605dtn_PCL_6.print_evenpages: true
      print.printer_HP_Color_LaserJet_2605dn_2605dtn_PCL_6.print_footercenter:
      print.printer_HP_Color_LaserJet_2605dn_2605dtn_PCL_6.print_footerleft: &PT
      print.printer_HP_Color_LaserJet_2605dn_2605dtn_PCL_6.print_footerright: &D
      print.printer_HP_Color_LaserJet_2605dn_2605dtn_PCL_6.print_headercenter:
      print.printer_HP_Color_LaserJet_2605dn_2605dtn_PCL_6.print_headerleft: &T
      print.printer_HP_Color_LaserJet_2605dn_2605dtn_PCL_6.print_headerright: &U
      print.printer_HP_Color_LaserJet_2605dn_2605dtn_PCL_6.print_in_color: true
      print.printer_HP_Color_LaserJet_2605dn_2605dtn_PCL_6.print_margin_bottom: 0.5
      print.printer_HP_Color_LaserJet_2605dn_2605dtn_PCL_6.print_margin_left: 0.5
      print.printer_HP_Color_LaserJet_2605dn_2605dtn_PCL_6.print_margin_right: 0.5
      print.printer_HP_Color_LaserJet_2605dn_2605dtn_PCL_6.print_margin_top: 0.5
      print.printer_HP_Color_LaserJet_2605dn_2605dtn_PCL_6.print_oddpages: true
      print.printer_HP_Color_LaserJet_2605dn_2605dtn_PCL_6.print_orientation: 0
      print.printer_HP_Color_LaserJet_2605dn_2605dtn_PCL_6.print_pagedelay: 500
      print.printer_HP_Color_LaserJet_2605dn_2605dtn_PCL_6.print_paper_data: 1
      print.printer_HP_Color_LaserJet_2605dn_2605dtn_PCL_6.print_paper_height: 11.00
      print.printer_HP_Color_LaserJet_2605dn_2605dtn_PCL_6.print_paper_size: 1633771776
      print.printer_HP_Color_LaserJet_2605dn_2605dtn_PCL_6.print_paper_size_type: 0
      print.printer_HP_Color_LaserJet_2605dn_2605dtn_PCL_6.print_paper_size_unit: 0
      print.printer_HP_Color_LaserJet_2605dn_2605dtn_PCL_6.print_paper_width: 8.50
      print.printer_HP_Color_LaserJet_2605dn_2605dtn_PCL_6.print_reversed: false
      print.printer_HP_Color_LaserJet_2605dn_2605dtn_PCL_6.print_scaling: 1.00
      print.printer_HP_Color_LaserJet_2605dn_2605dtn_PCL_6.print_shrink_to_fit: true
      print.printer_HP_Color_LaserJet_2605dn_2605dtn_PCL_6.print_to_file: false
      privacy.donottrackheader.enabled: true
      security.disable_button.openCertManager: false
      security.sandbox.content.tempDirSuffix: {f554181a-7b85-4b27-a60c-7bcffa6958b5}

  Graphics

      GPU #1
      Description: NVIDIA GeForce GT 730
      Vendor ID: 0x10de
      Device ID: 0x1287
      RAM: 2048
      Drivers: nvd3dumx,nvwgf2umx,nvwgf2umx nvd3dum,nvwgf2um,nvwgf2um
      Driver Version: 21.21.13.7290
      Driver Date: 9-16-2016

      Features
      Direct2D: false
      DirectWrite: true (6.2.9200.22084)
      WebGL Renderer: Google Inc. -- ANGLE (NVIDIA GeForce GT 730 Direct3D9Ex vs_3_0 ps_3_0) -- OpenGL ES 2.0 (ANGLE 2.1.0.2a250c8a0e15)

      AzureCanvasBackend: skia
      AzureCanvasAccelerated: 0
      AzureFallbackCanvasBackend: cairo
      AzureContentBackend: skia

  JavaScript

  Incremental GC: 1

  Accessibility

    Activated: 0
    Prevent Accessibility: 0

  Library Versions

      Expected minimum version
      Version in use

      NSPR
      4.13.1
      4.13.1

      NSS
      3.28.3
      3.28.3

      NSS Util
      3.28.3
      3.28.3

      NSS SSL
      3.28.3
      3.28.3

      NSS S/MIME
      3.28.3
      3.28.3

Do you still see this issue when using a current version?

Flags: needinfo?(zilla2615)
Flags: needinfo?(guest2)
Flags: needinfo?(duparchy)
Flags: needinfo?(bugzilla)
Whiteboard: [closeme 2019-10-01]
Flags: needinfo?(bugzilla)

I cannot reproduce this on win7 with 68.1.1

Status: NEW → RESOLVED
Closed: 5 years ago
Flags: needinfo?(zilla2615)
Flags: needinfo?(guest2)
Flags: needinfo?(duparchy)
Resolution: --- → WORKSFORME
Whiteboard: [closeme 2019-10-01]
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Creator:
Created:
Updated:
Size: