Bug 154713 - all .xlsx .csv or .ods open (Not full screen) after running a scalc --convert-to or soffice --convert-to.
Summary: all .xlsx .csv or .ods open (Not full screen) after running a scalc --conver...
Status: UNCONFIRMED
Alias: None
Product: LibreOffice
Classification: Unclassified
Component: Calc (show other bugs)
Version:
(earliest affected)
7.5.2.2 release
Hardware: x86-64 (AMD64) Windows (All)
: medium normal
Assignee: Not Assigned
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2023-04-08 09:32 UTC by dc_wall
Modified: 2023-04-10 23:28 UTC (History)
0 users

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 dc_wall 2023-04-08 09:32:25 UTC
Description:
I can open any .xlsx .csv or .ods existing on my pc and they ALL open fullscreen - however after I run a batch routine that only does a scalc --headless --convert-to .csv - NOW all the above open in a reduced screen.
I can correct this by making any file I open back to fullscreen and closing it and now they all open fullscreen again - but running the --convert-to changes something.
It was suggested to not use scalc in --headless mode but to run soffice but the same thing happens.


Steps to Reproduce:
1. Open any existing .csv that opens in full screen.
2. Run a scalc --headless --convert-to csv with an input .xlsx.
3. Now open any existing .xlsx .csv or .ods & it opens in reduced screen.

Actual Results:
The step 3 action opens the files in a NON fullscreen mode.

Expected Results:
The step 3 action should have opened the files in their original mode (Which was fullscreen).


Reproducible: Always


User Profile Reset: No

Additional Info:
There appears to be some problem with running scalc --headless --convert-to or
soffice --convert-to which changes something that forces all subsequent file opens to open in a reduced screen.
Libre Office 7.5.0.3 (X86_64)
Build c21113d003cd3efa8c53188764377a8272d9d6de
CPU Thread 4 OS Windows 10.0 Build 19045
UI Render Skia/raster vcl:Win
Calc Threaded.
Comment 1 dc_wall 2023-04-08 09:34:17 UTC
I don't know what a user profile reset means ??.
Comment 2 Eike Rathke 2023-04-08 10:36:13 UTC
https://wiki.documentfoundation.org/UserProfile

And if you are converting documents on the command line the new saved document can obviously have no view settings saved along and thus no size on screen / view port.

I'd say this isn't even a bug, but let others decide.
Comment 3 Eike Rathke 2023-04-08 11:21:46 UTC
I may have misunderstood, are you saying that after such conversion all already existing documents are opened in a reduced view?
Comment 4 dc_wall 2023-04-08 12:01:44 UTC
Attn: Eike,

Yes - after running the --convert-to process - ANY file opened subsequently by scalc will be opened in a reduced mode.
Only after changing any other file (once it has opened in reduced form) back
to fullscreen and saving it will this mode change so that files now open fullscreen again.
I thought I'd made this clear but maybe not - sorry.
I haven't actually tried rebooting the pc whilst the wrong mode is in place - i'll do that now.
Comment 5 Werner Tietz 2023-04-08 12:11:35 UTC
Hallo

As I had already said on https://ask.libreoffice.org/t/problems-with-other-files-after-using-headless/90229 :

there is no need for the »--headless« switch.

2. > soffice --convert-to csv *.xlsx

3. soffice opens any Dokument in the _same_ mode as the last state in the previous session. 
with me:
Version: 7.0.4.2
Build ID: 00(Build:2)
CPU threads: 4; OS: Linux 6.1; UI render: default; VCL: gtk3
Locale: de-DE (de_DE.UTF-8); UI: de-DE
Raspbian package version: 1:7.0.4-4+rpi1+deb11u3
Calc: threaded
Comment 6 dc_wall 2023-04-08 12:15:20 UTC
Werner - read lines 8 & 9 in my first post - I tried soffice --convert-to BUT
the same thing happens - any file opened afterwards is opened in reduced screen.
Comment 7 dc_wall 2023-04-08 12:18:57 UTC
To add to one of my previous messages - I ran the soffice --convert-to (which is what I now use as standard) - instead of the --headless.
After running it I opened a .ods (which opened small).
I then REBOOTED THE PC - and the files still open small.
So it would appear that something is actually being changed within the software so that it remembers the screen size setting.
really weird.
Comment 8 dc_wall 2023-04-08 12:22:02 UTC Comment hidden (off-topic)
Comment 9 V Stuart Foote 2023-04-08 16:43:19 UTC Comment hidden (off-topic)
Comment 10 dc_wall 2023-04-08 18:57:58 UTC
Updated version used to 7.5.2.2 - problem still exists.

I found a macro to set all opens to fullscreen - pity there wasn't one to set all opens to maximised.

I just realised that whenever previously I mentioned fullscreen - I really meant maximised.

I always want the menu bar to appear.   Sorry for any confusion.
Comment 11 dc_wall 2023-04-10 23:28:10 UTC
I've bypassed using LC to extract a csv file from an xlsx altogether.
I extract the sheetn.xml files I require by using 7zip and then wrote a cobol program to analyse the resulting files.
Thanks anyway..