Bug 114584 - TEMPLATES: Prints background window instead of selected window
Summary: TEMPLATES: Prints background window instead of selected window
Status: NEW
Alias: None
Product: LibreOffice
Classification: Unclassified
Component: Writer (show other bugs)
Version:
(earliest affected)
5.3.7.2 release
Hardware: All macOS (All)
: medium minor
Assignee: Not Assigned
URL:
Whiteboard:
Keywords:
Depends on:
Blocks: Print
  Show dependency treegraph
 
Reported: 2017-12-20 10:32 UTC by Tim
Modified: 2022-12-27 17:34 UTC (History)
3 users (show)

See Also:
Crash report or crash signature:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Tim 2017-12-20 10:32:58 UTC
Description:
When opening a Libreoffice template, if you double click it opens twice. A quick edit on the foreground window/template then click print, prints the wrong screen and prints the original template opened in the background.

Steps to Reproduce:
1. Open LibreOffice
2. Click Templates
3. Double Click on a template
4. Make a quick edit on the foreground window
5. Press print

Actual Results:  
The original template file is printed without edits

Expected Results:
The window in the foreground with the edit should be printed.


Reproducible: Always


User Profile Reset: Yes



Additional Info:


User-Agent: Mozilla/5.0 (Macintosh; Intel Mac OS X 10_13_1) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/63.0.3239.84 Safari/537.36
Comment 1 Dieter 2017-12-20 16:20:20 UTC
Can't reproduce.
Template icon in toolbar => template Window
one click on a template => nothing happens
double click on a template => opens the template (but only one)

So perhaps you might click somewhere else. Can you precise it? Or is because you're using the OS X - Version?

Version: 6.0.0.0.beta2 (x64)
Build ID: 13edaaa12f25de343fce136064e27da66c1c4fa4
CPU threads: 4; OS: Windows 10.0; UI render: default; 
Locale: de-DE (de_DE); Calc: group threaded
Comment 2 Buovjaga 2017-12-26 16:54:57 UTC
(In reply to Dieter Praas from comment #1)
> Template icon in toolbar => template Window

It is the Templates button in the Start center so you show the Template thumbnails.

Note that to reproduce the double-click effect consistently, you have to close LibreOffice after each run.

I do not get the printing problem. It prints the correct file.

Arch Linux 64-bit
Version: 6.1.0.0.alpha0+
Build ID: 3272525e6b47af30ea5d92571cd7a6214117d359
CPU threads: 8; OS: Linux 4.14; UI render: default; VCL: kde4; 
Locale: fi-FI (fi_FI.UTF-8); Calc: group threaded
Built on December 25th 2017

LibreOffice 5.4.4, macOS 10.12.6

So maybe try 5.4.4.

Set to NEEDINFO.
Change back to UNCONFIRMED, if the problem persists. Change to RESOLVED WORKSFORME, if the problem went away.
Comment 3 Tim 2018-01-03 15:24:19 UTC
Tested again with 5.4.4.2.  Same problem.

The print problem only occurs when pressing print the first time.  If I hit cancel on the print screen, then press print again the preview & print is correct.

See link to a screen recording to show.
https://drive.google.com/file/d/1I4QztimwJZyGrkqIC7NxQgp_8nX1L3pc/view?usp=sharing


Version: 5.4.4.2
Build ID: 2524958677847fb3bb44820e40380acbe820f960
CPU threads: 4; OS: Mac OS X 10.13.1; UI render: default; 
Locale: en-GB (en_GB.UTF-8); Calc: group
Comment 4 Alex Thurgood 2018-01-08 11:22:27 UTC Comment hidden (obsolete)
Comment 5 Alex Thurgood 2018-01-08 11:26:56 UTC
Confirming however with

Version: 5.4.4.2
Build ID: 2524958677847fb3bb44820e40380acbe820f960
Threads CPU : 4; OS : Mac OS X 10.13.2; UI Render : par défaut; 
Locale : fr-FR (fr_FR.UTF-8); Calc: group
Comment 6 Alex Thurgood 2018-01-08 11:28:47 UTC
I can also reproduce this with

Version: 6.1.0.0.alpha0+
Build ID: 5b7ec49f453c3732e2482b26bce4243eb1a10f40
CPU threads: 4; OS: Mac OS X 10.13.2; UI render: default; 
Locale: fr-FR (fr_FR.UTF-8); Calc: group threaded


after following buovjaga's instructions in comment 2
Comment 7 QA Administrators 2019-01-09 03:44:48 UTC Comment hidden (obsolete)
Comment 8 Tim 2019-01-09 12:42:18 UTC
Confirmed in: 

Version: 6.2.0.1
Build ID: 0412ee99e862f384c1106d0841a950c4cfaa9df1
CPU threads: 4; OS: Mac OS X 10.14.2; UI render: default; VCL: osx; 
Locale: en-GB (en_GB.UTF-8); UI-Language: en-US
Calc: threaded
Comment 9 QA Administrators 2021-01-09 03:49:53 UTC Comment hidden (obsolete)
Comment 10 Tim 2021-01-19 11:22:06 UTC
Confirmed in:
Version: 7.0.4.2
Build ID: dcf040e67528d9187c66b2379df5ea4407429775
CPU threads: 4; OS: Mac OS X 10.15.7; UI render: default; VCL: osx
Locale: en-GB (en_GB.UTF-8); UI: en-US
Calc: threaded