Start a presentation, switch to Master view via View -> Slide Master, click into a text box, and paste text into it. => It's possible to paste text into a master slide. Normal editing is disallowed, the placeholder entries can only be formatted, thus pasting shouldn't be allowed, either. Observed using LO 7.2.0.0.alpha0+ (2577d9ecea199ca2c10d852cf279053a1b22faf7), 5.3.0.3 / Ubuntu. In earlier versions Impress crashes for me when I switch to Master view.
Hello Aron, Thank you for reporting the bug. I can confirm that the bug is present in master. Version: 7.6.0.0.alpha0+ (X86_64) / LibreOffice Community Build ID: fb3a6b82b55a298eabf8f431f1451dc826642acd CPU threads: 4; OS: Windows 10.0 Build 19045; UI render: Skia/Raster; VCL: win Locale: fr-FR (fr_FR); UI: fr-FR Calc: CL threaded
Dear Aron Budea, To make sure we're focusing on the bugs that affect our users today, LibreOffice QA is asking bug reporters and confirmers to retest open, confirmed bugs which have not been touched for over a year. There have been thousands of bug fixes and commits since anyone checked on this bug report. During that time, it's possible that the bug has been fixed, or the details of the problem have changed. We'd really appreciate your help in getting confirmation that the bug is still present. If you have time, please do the following: Test to see if the bug is still present with the latest version of LibreOffice from https://www.libreoffice.org/download/ If the bug is present, please leave a comment that includes the information from Help - About LibreOffice. If the bug is NOT present, please set the bug's Status field to RESOLVED-WORKSFORME and leave a comment that includes the information from Help - About LibreOffice. Please DO NOT Update the version field Reply via email (please reply directly on the bug tracker) Set the bug's Status field to RESOLVED - FIXED (this status has a particular meaning that is not appropriate in this case) If you want to do more to help you can test to see if your issue is a REGRESSION. To do so: 1. Download and install oldest version of LibreOffice (usually 3.3 unless your bug pertains to a feature added after 3.3) from https://downloadarchive.documentfoundation.org/libreoffice/old/ 2. Test your bug 3. Leave a comment with your results. 4a. If the bug was present with 3.3 - set version to 'inherited from OOo'; 4b. If the bug was not present in 3.3 - add 'regression' to keyword Feel free to come ask questions or to say hello in our QA chat: https://web.libera.chat/?settings=#libreoffice-qa Thank you for helping us make LibreOffice even better for everyone! Warm Regards, QA Team MassPing-UntouchedBug
Andreas Heinisch committed a patch related to this issue. It has been pushed to "master": https://git.libreoffice.org/core/commit/d2257fbe9111ba75bd8235f4d3089253a1dafc04 tdf#139269 - Prevent pasting text into master pages It will be available in 26.2.0. The patch should be included in the daily builds available at https://dev-builds.libreoffice.org/daily/ in the next 24-48 hours. More information about daily builds can be found at: https://wiki.documentfoundation.org/Testing_Daily_Builds Affected users are encouraged to test the fix and report feedback.
Tried to come up with a unit test, but I was unable to paste via python into any object of the master view. I may provide the basic test here: from uitest.framework import UITestCase from uitest.uihelper.common import get_state_as_dict from libreoffice.uno.propertyvalue import mkPropertyValues class tdf139269(UITestCase): def test_tdf139269_prevent_pasting_into_readonly_master_objects(self): with self.ui_test.create_doc_in_start_center("impress"): # Close template dialog at startup xTemplateDlg = self.xUITest.getTopFocusWindow() xCancelBtn = xTemplateDlg.getChild("close") self.ui_test.close_dialog_through_button(xCancelBtn) # Type some text and put it into the clipboard xImpressDoc = self.xUITest.getTopFocusWindow() xEditWin = xImpressDoc.getChild("impress_win") xEditWin.executeAction("SELECT", mkPropertyValues({"OBJECT":"Unnamed_Obj_0"})) xEditWin.executeAction("TYPE", mkPropertyValues({"TEXT":"test"})) xEditWin.executeAction("TYPE", mkPropertyValues({"KEYCODE":"CTRL+A"})) self.xUITest.executeCommand(".uno:Copy") # Open master view self.xUITest.executeCommand(".uno:SlideMasterPage") xMaster = self.xUITest.getTopFocusWindow().getChild("impress_win") xMaster.executeAction("SELECT", mkPropertyValues({"OBJECT":"Unnamed_Obj_2"})) # Does not work under any circumstance self.xUITest.executeCommand(".uno:Paste")
Xisco Fauli committed a patch related to this issue. It has been pushed to "master": https://git.libreoffice.org/core/commit/eb2e89096a022ac2264350e70fecd73eaa530cf8 tdf#139269: sd: add test It will be available in 26.2.0. The patch should be included in the daily builds available at https://dev-builds.libreoffice.org/daily/ in the next 24-48 hours. More information about daily builds can be found at: https://wiki.documentfoundation.org/Testing_Daily_Builds Affected users are encouraged to test the fix and report feedback.
Thank you very much Xisco for the test! I did not think about a C++ test could test this feature. Thank you again.