Bug 141515 - BASE - Relationsships were shown with big space in Tableviews
Summary: BASE - Relationsships were shown with big space in Tableviews
Status: VERIFIED FIXED
Alias: None
Product: LibreOffice
Classification: Unclassified
Component: UI (show other bugs)
Version:
(earliest affected)
7.1.2.2 release
Hardware: x86-64 (AMD64) Linux (All)
: medium normal
Assignee: Caolán McNamara
URL:
Whiteboard: target:7.2.0 target:7.1.3
Keywords: regression
Depends on:
Blocks:
 
Reported: 2021-04-06 13:23 UTC by Robert Großkopf
Modified: 2021-04-07 17:02 UTC (History)
2 users (show)

See Also:
Crash report or crash signature:


Attachments
Open the database and go to tools → relationships (2.91 KB, application/vnd.oasis.opendocument.database)
2021-04-06 13:23 UTC, Robert Großkopf
Details
Screenshot of relationship with LO 7.0.5 and LO 7.1.2 (31.26 KB, application/pdf)
2021-04-06 13:26 UTC, Robert Großkopf
Details
database with 3 tables (3.39 KB, application/vnd.oasis.opendocument.database)
2021-04-06 19:28 UTC, Julien Nabet
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Robert Großkopf 2021-04-06 13:23:51 UTC
Created attachment 170980 [details]
Open the database and go to tools → relationships

Open the attached database.
Go to Tools → Relationship.
There is a view of the table with all fields.
First field is the primary key.
Left of the symbol is a space between the border and the symbol.
All tables in relationships must be switched to a higher width, because the space wasn't there before.

The buggy space appears first in LO 7.1.2.2, doesn't appear in LO 7.0.5.2 and all earlier versions of LO.
Comment 1 Robert Großkopf 2021-04-06 13:25:23 UTC
Note: This bug appears under OpenSUSE 15.2 64bit rpm Linux, VCL:kf5
Comment 2 Robert Großkopf 2021-04-06 13:26:13 UTC
Created attachment 170981 [details]
Screenshot of relationship with LO 7.0.5 and LO 7.1.2
Comment 3 Julien Nabet 2021-04-06 19:28:57 UTC
Created attachment 170985 [details]
database with 3 tables

On pc Debian x86-64 with master sources updated today, I could reproduce this with kf5, gtk3 or gen rendering.

Robert: I upload a new file because your attachment contained only 1 table.
Comment 4 Julien Nabet 2021-04-06 19:31:29 UTC
Caolán: thought you might be interested in this one since it concerns vcl.
Comment 5 Caolán McNamara 2021-04-07 10:00:47 UTC
I think that space is there for an expander column, which is not being used of course
Comment 6 Commit Notification 2021-04-07 12:01:38 UTC
Caolán McNamara committed a patch related to this issue.
It has been pushed to "master":

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

Resolves: tdf#141515 expander column space isn't wanted

It will be available in 7.2.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.
Comment 7 Caolán McNamara 2021-04-07 12:47:34 UTC
done in main, backport to 7-1 in gerrit
Comment 8 Commit Notification 2021-04-07 14:12:59 UTC
Caolán McNamara committed a patch related to this issue.
It has been pushed to "libreoffice-7-1":

https://git.libreoffice.org/core/commit/4b6e598902a145bbb13a1313a129ae314e04a45f

Resolves: tdf#141515 expander column space isn't wanted

It will be available in 7.1.3.

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.
Comment 9 Julien Nabet 2021-04-07 17:02:33 UTC
With master sources updated today, I don't reproduce this, thank you Caolán!