Description: Today I noticed that a file "Berend_Ilko_Tom_Stella_Volker.stc" had been created in my working directory. This file contains the contents of another file (a spreadsheet) that I was working on around the time the stc-file was created. I only edited one cell and exported a selection as a PDF. I wasn't able to reproduce how this file got created. A search for the file name brought up an old thread: https://trinity.neooffice.org/modules.php?name=Forums&file=viewtopic&p=18108 Steps to Reproduce: n.a. Actual Results: A file was created. Expected Results: Probably this file shouldn't have been created. Reproducible: Couldn't Reproduce User Profile Reset: No OpenGL enabled: Yes Additional Info:
The code: https://opengrok.libreoffice.org/xref/core/wizards/source/template/Samples.xba#23 Const aTempFileName = "Berend_Ilko_Tom_Stella_Volker.stc" It is some BASIC programming sample.
Hello Larsen, Do you remember if you were executing some macros when the file was created? The only reasonable way I find that file was created is because your executed Samples.xba. Setting to NEEDINFO for the time being...
I don't use macros, and I don't recall executing it in some way. The editing I made was pretty simple, so I guess the chances of accidentally executing a macro are low.
if you delete it, do you get the document created again ?
No, I wasn't able to reproduce this.
Ok, let's get it closed as RESOLVED WORKSFORME for now. Please put it back to UNCONFIRMED if you reproduce it again. Thanks!
The variable indicated in comment 1 by buovjaga is used by SaveCurrentStyles called by ShowStyles at https://opengrok.libreoffice.org/xref/core/wizards/source/template/Samples.xba?r=da543e4e#56 called by a statement in the following switch statement https://opengrok.libreoffice.org/xref/core/sc/source/ui/app/scmod.cxx?r=87c06415#361 SID_CHOOSE_DESIGN can be used if there is uno:ChooseDesign https://opengrok.libreoffice.org/xref/core/sc/sdi/scalc.sdi?r=4e729de7#523 and the command is placed here in main menu. https://opengrok.libreoffice.org/xref/core/sc/uiconfig/scalc/menubar/menubar.xml?r=5d2ab49c#430 I believe STR will include this menu or the similar toolbar item if any. on my first try, somehow I could not reproduce this issue, but after editing the following file and restored its original content share\basic\Template\Samples.xba restarting LibreOffice Calc and clicking the menu I was able to reproduce this issue. the file was created. I don't know why this failed on my first try.
Thanks, himajin.
additional comment: It seems the file is gone after clicking OK in the "Theme Selection" Dialog. (the code doesn't seem to remove this file at least to me, though)
Patch in gerrit: https://gerrit.libreoffice.org/#/c/66672/
Takeshi Abe committed a patch related to this issue. It has been pushed to "master": https://git.libreoffice.org/core/+/3a6d425818b7e3e449a8e27c28cfb565dc6f21a6%5E%21 tdf#120361 Store Berend_Ilko_Tom_Stella_Volker.stc as temporary It will be available in 6.3.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.
A polite ping to Takeshi Abe: Is this bug fixed? if so, could you please close it as RESOLVED FIXED ? Otherwise, Could you please explain what's missing? Thanks
was set to fixed during the outage https://lists.freedesktop.org/archives/libreoffice-bugs/2019-March/176580.html