Bug 80319 - Truncated text in Start Center and fix minimum size by localization
Summary: Truncated text in Start Center and fix minimum size by localization
Status: NEW
Alias: None
Product: LibreOffice
Classification: Unclassified
Component: UI (show other bugs)
Version:
(earliest affected)
4.3.0.1 rc
Hardware: All Windows (All)
: medium enhancement
Assignee: Not Assigned
URL:
Whiteboard:
Keywords:
Depends on: 75644
Blocks: Start-Center
  Show dependency treegraph
 
Reported: 2014-06-21 09:43 UTC by kloud
Modified: 2015-02-01 17:37 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 kloud 2014-06-21 09:43:34 UTC
This is a follow-up to Bug 73605 and may affect all localizations.

This code does not generally work and has a side-effect (though other code might cause this, too):
http://cgit.freedesktop.org/libreoffice/core/commit/?id=840e7f004354ebe1239b9271dd758839c477ca7c

There are common situations, where the user can circumvent the minimal window width to sufficiently display the text in the Start Center.

Possibility #1:
step 1: Make sure to have at least one recent document
step 2: Resize the window to minimal width
step 3: Delete it/them or clear the list

Now the second line will likely be truncated.

Possibility #2:
step 1: Open a LibreOffice program not from Start Center
step 2: Resize to sufficiently small width and height
step 3: Retreat to Start Center with Ctrl+W or File -> Close

No minimal size applied.

Now to the lock-in. Any time the Start Center has been opened, a minimal size is carried over to all LibreOffice programs in the current session. As far as I can tell, there are three of these sizes.

Size #1 (the smallest):
step 1: Boot soffice.exe with at least one recent document
step 2: Resize height to the minimum

This should swallow a chunk of Base Database.

Size #2:
step 1: Make sure to have at least one recent document and open one
step 2: Retreat to Start Center with Ctrl+W or File -> Close
step 3: Click once on one the of the four window borders to resize

Size #3: Like size #2 but with a cleared list. This is the biggest.


Suggestion:
A. The Start Center should start with the necessary width and height to supply all contents (including one recent document with scroll-bar or welcome text).
B. The welcome text should adapt.
C. The set minimum size should not be carried over to the other programs, 'cause someone might want to work in a very small window in some cases.
D. A minimum size should also not be applied to one of the programs, when resizing after the program was started from the Start Center.

I might have overlooked a case and missed a detail.


This applies to 4.3 RC 1 and XP. Please try it on the other OS.
Comment 1 Alex Thurgood 2015-01-03 17:38:58 UTC Comment hidden (no-value)
Comment 2 Alex Thurgood 2015-02-01 16:45:38 UTC
Truncated text not reproducible for me on

Version: 4.4.0.3
Build ID: de093506bcdc5fafd9023ee680b8c60e3e0645d7
Locale : fr_FR

Linux Mint 17.1


Windows only ?
Comment 3 V Stuart Foote 2015-02-01 17:37:02 UTC
Confirming your cases #1 and #2, as well the Start Center size issues.

Observe though that in both case #1 and #2, a mouse click in the frame will bump the frame up to the size needed to contain the welcome strings in any localization. So it is really just a visual glitch more than a functional issue.

On the other hand, the opening size of components launched from StartCenter  is more of a problem. Believe enhancements suggested in bug 75644 will address your suggestions C and D.

Leaving suggestions A & B regards default state of the Start Center if not otherwise populated with thumbnail views of recent documents.