Bug 163419 - Remember window size (width and height) for "Text import" (CSV) importing preview dialog
Summary: Remember window size (width and height) for "Text import" (CSV) importing pre...
Status: ASSIGNED
Alias: None
Product: LibreOffice
Classification: Unclassified
Component: Calc (show other bugs)
Version:
(earliest affected)
Inherited From OOo
Hardware: All All
: medium enhancement
Assignee: Calin Stefan Avramoniu
URL:
Whiteboard: target:25.8.0
Keywords: difficultyBeginner, easyHack, skillCpp, topicUI
Depends on:
Blocks: CSV-Dialog Dialog-Remember-Settings
  Show dependency treegraph
 
Reported: 2024-10-13 19:43 UTC by Jeff Fortin Tam
Modified: 2024-12-05 17:41 UTC (History)
4 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 Jeff Fortin Tam 2024-10-13 19:43:21 UTC
When you open a .csv file with LibreOffice, Calc shows a CSV importer parsing preview dialog window with various options.

However, I end up having to resize it to a bigger size everytime, because it typically can't fit enough columns in the view for me to have a good preview of multiple columns (to be sure the parsing parameters are correct), and scrolling is very inconvenient, not only because horizontal scrolling is a bit unnatural, but also due to the lack of precise smooth scrolling (i.e. bug #40917 and bug #34689).

It would be nice if LibreOffice could globally remember and restore the last window dimensions (width and height) of the CSV "Text import" dialog, automatically.
Comment 1 Nicole A. 2024-11-14 04:16:50 UTC
UX Team -- please take a look at this enhancement. Thanks!
Comment 2 Heiko Tietze 2024-11-14 09:32:57 UTC
Sure, let's remember the window size. And it would be more appealing if the separator options wont spread on resize (make the parent grid not filling the area).

Prototype for implementation could be https://gerrit.libreoffice.org/c/core/+/157624
Comment 3 Calin Stefan Avramoniu 2024-11-23 10:06:55 UTC
Should I save the size of the window regardless of the button I press (Cancel/OK) or save it only on OK?
Comment 4 Heiko Tietze 2024-11-25 08:42:51 UTC
Even when cancelling the operation the user may have resized the window for good reasons. Let's always save.
Comment 5 Commit Notification 2024-12-05 17:41:00 UTC
Avramoniu Calin committed a patch related to this issue.
It has been pushed to "master":

https://git.libreoffice.org/core/commit/eea90af52e744d64c3d6ffd49c8859572450aed4

tdf#163419 Save import dialog window size and skip resizing separator options

It will be available in 25.8.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.