[Bug 1807744] Re: Print to File writes to incorrect file
** Also affects: df-libreoffice via https://bugs.documentfoundation.org/show_bug.cgi?id=122075 Importance: Unknown Status: Unknown ** Changed in: libreoffice (Ubuntu) Status: New => Fix Released -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1807744 Title: Print to File writes to incorrect file To manage notifications about this bug go to: https://bugs.launchpad.net/df-libreoffice/+bug/1807744/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 1807744] Re: Print to File writes to incorrect file
Submitted upstream: https://bugs.documentfoundation.org/show_bug.cgi?id=122075 ** Bug watch added: Document Foundation Bugzilla #122075 https://bugs.documentfoundation.org/show_bug.cgi?id=122075 -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1807744 Title: Print to File writes to incorrect file To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/libreoffice/+bug/1807744/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 1807744] Re: Print to File writes to incorrect file
I can confirm the issue described in comment #7 (the "strain of the bug"). Not sure whether it's a GTK3 bug or a libreoffice one. Would you mind filing an upstream bug report at https://bugs.documentfoundation.org/enter_bug.cgi?product=LibreOffice=guided and sharing the link to it here? Thanks! ** Changed in: libreoffice (Ubuntu) Status: Incomplete => New -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1807744 Title: Print to File writes to incorrect file To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/libreoffice/+bug/1807744/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 1807744] Re: Print to File writes to incorrect file
Right - I have managed to force over my libreoffice to using ps (uncheck the 'PDF as standard print job format' option, click Okay, and let lo restart). When in 'PS' mode, you are correct that the bug as I have described does not manifest. I conclude that it only manifests when in 'PDF' mode. However, even in 'PS' mode you can see a strain of the bug. Ensure you have in your directory a 'sample.ps' file (can be empty). Follow through steps 1 to 6d (changing pdf to ps). Then click on 'Any Type' and change to 'PostScript'. On my system I then observe that my edited filename in the name type-in field has been changed, and another ps file (probably sample.ps) has been selected in the chooser. -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1807744 Title: Print to File writes to incorrect file To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/libreoffice/+bug/1807744/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 1807744] Re: Print to File writes to incorrect file
Hmmm - somewhat curious that your setup is locked into ps and mine is pdf with no apparent way of switching. But in step 6-c it is important to click on a file name in the chooser, and then edit it in the type in field. The bug doesn't manifest if you just edit the name type in field to the desired file name. -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1807744 Title: Print to File writes to incorrect file To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/libreoffice/+bug/1807744/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 1807744] Re: Print to File writes to incorrect file
Neither option made a difference here. a) 'PDF as a standard print job format' was already checked b) tried ps instead of pdf, but 'test_2.ps' gets written as expected -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1807744 Title: Print to File writes to incorrect file To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/libreoffice/+bug/1807744/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 1807744] Re: Print to File writes to incorrect file
Okay - your print defaults are to 'print to ps' rather than 'print to pdf'. So to recreate the steps you can either: a) Go to Tools -> Options -> Print -> and enable 'PDF as standard print job format, then re-run the steps OR b) wherever in my steps I say 'pdf' or filename.pdf, change to 'ps' and filename.ps -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1807744 Title: Print to File writes to incorrect file To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/libreoffice/+bug/1807744/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 1807744] Re: Print to File writes to incorrect file
I cannot observe the issue here (tested in disco and cosmic). I followed the instructions step by step and ended up with a "test_2.pdf" file in the folder. Also, the print-to-file GTK3 dialogue doesn't have a PDF type selector, only "All Formats", "PostScript" and "Any type". Can you please run "apport-collect 1807744" to attach useful debug information to the bug? ** Changed in: libreoffice (Ubuntu) Status: New => Incomplete -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1807744 Title: Print to File writes to incorrect file To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/libreoffice/+bug/1807744/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 1807744] Re: Print to File writes to incorrect file
>I think the bug happens when the dialogue self-flips the type selector to 'Portable Document Format'. Yep ... if I manually flip the type selector to 'Portable Document Format' it loses my desired file name and pseudo-randomly selects a pdf file from the list of files in the folder. So there are actually 2 incorrect behaviours going on: 1) changing type selector to 'Portable Document Format' should not change the file name in the 'name' field IF the user has already made some edits in that field (i.e. has taken the trouble to choose a name) 2) pressing Enter (or Save button) should not trigger the type selector to change -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1807744 Title: Print to File writes to incorrect file To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/libreoffice/+bug/1807744/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 1807744] Re: Print to File writes to incorrect file
This screenshot manages to show the problem. Here I have typed in the 'Name' field 'test_2.pdf' when I already have that filename in my folder (as well as the dummy sample.pdf). I then press Enter, expecting to get the confirmation dialogue box asking about overwriting the file. The confirmation box appears, but look at it carefully compared to what the FileChooser GTK3 widget is now showing behind it: the confirmation box shows name 'test_2.pdf' (which is what I typed), and the GTK3 widget not shows 'sample.pdf' (and also has changed the type selector to 'Portable Document Format'. Pressing 'okay' results in 'sample.pdf' being overwritten. I think the bug happens when the dialogue self-flips the type selector to 'Portable Document Format'. ** Attachment added: "Screenshot from 2018-12-10 17-08-18.png" https://bugs.launchpad.net/ubuntu/+source/libreoffice/+bug/1807744/+attachment/5220930/+files/Screenshot%20from%202018-12-10%2017-08-18.png -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1807744 Title: Print to File writes to incorrect file To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/libreoffice/+bug/1807744/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs