Bug 115865 - Cells with mixed font sizes show one of them when selected (unlike Writer)
Summary: Cells with mixed font sizes show one of them when selected (unlike Writer)
Status: RESOLVED NOTABUG
Alias: None
Product: LibreOffice
Classification: Unclassified
Component: Calc (show other bugs)
Version:
(earliest affected)
6.0.1.1 release
Hardware: All All
: medium minor
Assignee: Not Assigned
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2018-02-19 20:48 UTC by Jaime D. Alvarez Gerding
Modified: 2018-02-20 15:37 UTC (History)
2 users (show)

See Also:
Crash report or crash signature:


Attachments
Calc file screenshot with cell H3 selected (262.43 KB, image/png)
2018-02-19 20:48 UTC, Jaime D. Alvarez Gerding
Details
Calc file screenshot with cell I3 selected (261.79 KB, image/png)
2018-02-19 20:49 UTC, Jaime D. Alvarez Gerding
Details
The calc file unmodified (19.33 KB, application/vnd.oasis.opendocument.spreadsheet)
2018-02-19 20:50 UTC, Jaime D. Alvarez Gerding
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Jaime D. Alvarez Gerding 2018-02-19 20:48:10 UTC
Created attachment 140003 [details]
Calc file screenshot with cell H3 selected

Adjacent cells look different but they show the same font/size combination n Calc.

I'm attaching two screenshots of what I'm seeing right now. The first one has cell H3 selected and the second one shows I3 selected. On both cases the Font selection box shows 'Liberation Sans' and the Size box shows '8'.

I'm also attaching the file I'm using without any modifications.
Comment 1 Jaime D. Alvarez Gerding 2018-02-19 20:49:06 UTC
Created attachment 140004 [details]
Calc file screenshot with cell I3 selected
Comment 2 Jaime D. Alvarez Gerding 2018-02-19 20:50:36 UTC
Created attachment 140005 [details]
The calc file unmodified
Comment 3 Aron Budea 2018-02-19 21:32:22 UTC
There's an empty line with size 8 at the end of each cell, that's why it shows 8.

I'd say that isn't a bug (though if you actually select the text, then it denotes mixed sizes by showing an empty font size selector). It behaves the same in Impress and in Writer tables.
Comment 4 Jaime D. Alvarez Gerding 2018-02-20 15:14:47 UTC
Thank you Aron for your prompt review.

The behavior isn't very clear. Shouldn't the Font size box show nothing instead of one of the sizes? 

Also, when using the clone formatting tool from cell H3 to cell I3, nothing happens. Should this be reported?
Comment 5 m.a.riosv 2018-02-20 15:37:33 UTC
It shows the size where the cursor is, I think the correct behaviour, otherwise how do you know the letter size.

H3 and I3 has the same format, so I don't know what the clone can change. In fact clearing the format on I3 and applying the clone form H3 to I3 works for me.

And clone only clones the whole cell format no parts of the text format.