Bug 159701 - [KF6] Save As filedialog reappears each time instead of saving the document
Summary: [KF6] Save As filedialog reappears each time instead of saving the document
Status: RESOLVED NOTOURBUG
Alias: None
Product: LibreOffice
Classification: Unclassified
Component: Calc (show other bugs)
Version:
(earliest affected)
24.2.0.3 release
Hardware: All All
: medium normal
Assignee: Not Assigned
URL:
Whiteboard:
Keywords:
Depends on:
Blocks: KF6
  Show dependency treegraph
 
Reported: 2024-02-13 08:24 UTC by andreas.sturmlechner
Modified: 2024-03-12 15:21 UTC (History)
2 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 andreas.sturmlechner 2024-02-13 08:24:46 UTC
- As summary says, reproduced with 24.2.0.3 and 24.2.1.1.
- Starting with SAL_USE_VCLPLUGIN=qt6 works around the problem.
- Saving an existing document works fine.

The same happens with Draw, for example, but not with Writer, interestingly.

Some system stats:

Operating System: Gentoo 2.14
KDE Plasma Version: 6.0.0
KDE Frameworks Version: 6.0.0
Qt Version: 6.6.1
Kernel Version: 6.6.16-gentoo (64-bit)
Graphics Platform: Wayland
Processors: 32 × AMD Ryzen 9 5950X 16-Core Processor
Memory: 62,7 GiB of RAM
Graphics Processor: AMD Radeon Graphics
Product Name: X570 Phantom Gaming-ITX/TB3
Comment 1 Michael Weghorn 2024-02-13 08:39:11 UTC
Reproduced in a KDE Neon unstable VM with kf6 built from git master:

1) open new Draw doc
2) File -> Save As
3) confirm with OK

-> dialog reappears.

The same works just fine when using Writer instead of Draw.


Version: 24.8.0.0.alpha0+ (X86_64) / LibreOffice Community
Build ID: b34c69dd09069c4bb34fe4fe3225d304317999f1
CPU threads: 4; OS: Linux 6.5; UI render: default; VCL: kf6 (cairo+wayland)
Locale: en-GB (en_GB.UTF-8); UI: en-US
Calc: threaded
Comment 2 Michael Weghorn 2024-02-13 11:08:06 UTC
From a first analysis, the problem is that the selected file filter is not correctly returned by the native KF6 file dialog.

I can also reproduce this with a simple sample program and have submitted a bug report to the KDE issue tracker:
https://bugs.kde.org/show_bug.cgi?id=481287

-> closing as NOTOURBUG for now, let's see what the feedback there is
Comment 3 Michael Weghorn 2024-03-12 09:48:03 UTC
(In reply to Michael Weghorn from comment #2)
> From a first analysis, the problem is that the selected file filter is not
> correctly returned by the native KF6 file dialog.
> 
> I can also reproduce this with a simple sample program and have submitted a
> bug report to the KDE issue tracker:
> https://bugs.kde.org/show_bug.cgi?id=481287
> 
> -> closing as NOTOURBUG for now, let's see what the feedback there is

That KDE bug is fixed now, but saving from LO Calc still fails the same way.

-> Reopening to keep track of the remaining issue.
Comment 4 Michael Weghorn 2024-03-12 15:21:00 UTC
(In reply to Michael Weghorn from comment #3)
> That KDE bug is fixed now, but saving from LO Calc still fails the same way.
> 
> -> Reopening to keep track of the remaining issue.

Looks like another KF6 issue to me, so I've created another bug report + MR with a suggested fix:
https://bugs.kde.org/show_bug.cgi?id=483350
https://invent.kde.org/plasma/plasma-integration/-/merge_requests/140

-> closing again as NOTOURBUG for now

And with that MR locally applied, saving from Calc works for me now without any additional local LO changes in place.