Bug 139511 - Impress: Shrinking table by dragging bottom border up or top down not working anymore
Summary: Impress: Shrinking table by dragging bottom border up or top down not working...
Status: RESOLVED FIXED
Alias: None
Product: LibreOffice
Classification: Unclassified
Component: Impress (show other bugs)
Version:
(earliest affected)
7.0.4.2 release
Hardware: All All
: high critical
Assignee: Sarper Akdemir (allotropia)
URL:
Whiteboard: target:7.2.0 target:7.1.2 target:7.0....
Keywords: bibisected, bisected, regression
: 139690 139793 151282 (view as bug list)
Depends on:
Blocks: ImpressDraw-Tables 124077
  Show dependency treegraph
 
Reported: 2021-01-09 12:54 UTC by Telesto
Modified: 2022-10-04 01:14 UTC (History)
10 users (show)

See Also:
Crash report or crash signature:


Attachments
Example file (13.42 KB, application/vnd.oasis.opendocument.presentation)
2021-01-09 12:54 UTC, Telesto
Details
ABC3b.odp: same problem happens when cells are not empty (16.58 KB, application/vnd.oasis.opendocument.presentation)
2022-01-13 06:08 UTC, Justin L
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Telesto 2021-01-09 12:54:05 UTC
Description:
Impress: Shrinking table by dragging bottom border up or top down not working anymore 

Steps to Reproduce:
1. Open the attached file
2. Click on top and of the table and drag down.. or visa versa bottom up..
3. Or pick a corner to shrink proportionally

Actual Results:
Not working

Expected Results:
Should be


Reproducible: Always


User Profile Reset: No



Additional Info:
Found in
7.2 

and in
Version: 7.1.0.0.beta1+ (x64)
Build ID: f9fab4203c1aa0b9a3f27ce2713b6d5addc7df19
CPU threads: 4; OS: Windows 6.3 Build 9600; UI render: Skia/Raster; VCL: win
Locale: nl-NL (nl_NL); UI: nl-NL
Calc: CL
Comment 1 Telesto 2021-01-09 12:54:22 UTC
Created attachment 168787 [details]
Example file
Comment 2 Telesto 2021-01-09 12:55:20 UTC
Fine in
Version: 7.0.0.0.beta1+ (x64)
Build ID: 2891e91a513520d68ea2b8c59c14335861a15253
CPU threads: 4; OS: Windows 6.3 Build 9600; UI render: Skia/Raster; VCL: win
Locale: nl-NL (nl_NL); UI: en-US
Calc: CL
Comment 3 Aron Budea 2021-01-09 13:32:36 UTC
Confirmed, and bibisected to the 7.0 backport of the following commit using repo bibisect-linux-64-7.0. Adding CC: to Gülşah Köse.

https://cgit.freedesktop.org/libreoffice/core/commit/?id=b7b05dd36403af50b20fe06cbf8a10d8defb28a9
author		Gülşah Köse <gulsah.kose@collabora.com>	2020-11-06 21:18:24 +0300
committer	Gülşah Köse <gulsah.kose@collabora.com>	2020-11-09 12:36:07 +0100

tdf#137949 Fix table row heigths.
Comment 4 Telesto 2021-01-17 12:56:41 UTC
Bumping priority
Backport + common  action + scope appears to be slightly larger bug 139690
Comment 5 Telesto 2021-01-21 13:14:44 UTC
*** Bug 139690 has been marked as a duplicate of this bug. ***
Comment 6 Telesto 2021-01-21 13:15:00 UTC
*** Bug 139793 has been marked as a duplicate of this bug. ***
Comment 7 Timur 2021-01-26 09:20:56 UTC Comment hidden (obsolete)
Comment 8 Gülşah Köse 2021-01-26 10:36:38 UTC
Hello, I'll work on all of my regressions as soon as possible. Please don't revert, If it's not really urgent. Thanks.
Comment 9 Telesto 2021-01-26 19:40:26 UTC Comment hidden (no-value)
Comment 10 Timur 2021-01-27 07:30:31 UTC
Thanks Gülşah. If all devs would follow, LO would be even better place. Feel free to take in accordance to other obligations. When a dev responds, no need for further push. Surely not urgent, just to land to 7.0.6 by April. I wish you good health and pleasant work.
Comment 11 Gülşah Köse 2021-01-27 10:02:54 UTC
Sorry for inconvience. 
@Timur Thank you so much for understanding.
Comment 12 Gülşah Köse 2021-02-10 05:54:30 UTC
Solution is on the way https://gerrit.libreoffice.org/c/core/+/110662
Comment 13 Commit Notification 2021-02-10 06:47:54 UTC
Gülşah Köse committed a patch related to this issue.
It has been pushed to "master":

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

tdf#139511 Correct calculation of minimum row height during resize.

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 14 Xisco Faulí 2021-02-16 10:19:33 UTC
Verified in

Version: 7.2.0.0.alpha0+ / LibreOffice Community
Build ID: a5d68a4f959804f93ddda61a45cedaadb504e3f2
CPU threads: 4; OS: Linux 5.7; UI render: default; VCL: gtk3
Locale: en-US (en_US.UTF-8); UI: en-US
Calc: threaded

@Gülşah Köse, thanks for fixing this issue!
Comment 15 Commit Notification 2021-02-16 11:02:12 UTC
Gülşah Köse committed a patch related to this issue.
It has been pushed to "libreoffice-7-1":

https://git.libreoffice.org/core/commit/1fe55d946f8f2adf4a2588dcc7d089b79611eddd

tdf#139511 Correct calculation of minimum row height during resize.

It will be available in 7.1.2.

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 16 Commit Notification 2021-02-16 13:13:20 UTC
Gülşah Köse committed a patch related to this issue.
It has been pushed to "libreoffice-7-0":

https://git.libreoffice.org/core/commit/51e4f716ea8416a1a8d90f8063a51ad130bd1743

tdf#139511 Correct calculation of minimum row height during resize.

It will be available in 7.0.5.

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 17 Commit Notification 2021-02-16 21:06:24 UTC
Xisco Fauli committed a patch related to this issue.
It has been pushed to "master":

https://git.libreoffice.org/core/commit/3d25de5440d310cef6c0c256c64472a928e4cb90

tdf#139511: sd: Add UItest

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 18 Gülşah Köse 2021-02-16 21:48:52 UTC
Xisco, thanks for the test. o/
Comment 19 Commit Notification 2021-02-23 16:07:27 UTC
Gülşah Köse committed a patch related to this issue.
It has been pushed to "libreoffice-7-1-1":

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

tdf#139511 Correct calculation of minimum row height during resize.

It will be available in 7.1.1.

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 20 Justin L 2022-01-13 06:08:40 UTC
Created attachment 177516 [details]
ABC3b.odp: same problem happens when cells are not empty

The patches for these related bugs are all based on a false premise that empty cells are irrelevant to the row height. Most reproduction steps so far used empty tables as examples, but the same problem is seen when the cells are not empty, and that has not been fixed.

Re-opening because the patches here don't actually fix anything - they just avoid the problem in certain situations and are causing bugs in others. I confirmed the same commit is responsible in this non-empty-cells case (as expected). I also confirmed the problem still exists in 7.4 master.
Comment 21 Xisco Faulí 2022-01-13 09:03:40 UTC Comment hidden (obsolete)
Comment 22 Justin L 2022-01-13 09:38:46 UTC
(In reply to Xisco Faulí from comment #21)
> Should we create a follow-up ticket instead of reopening this one after it
> was closed 1 year ago ?
Why open a new ticket when the original ticket wasn't fixed? None of the patches here are true fixes, and all of this needs to be reverted.

-fake fix started by synerzip in 5.0 for bug 48047/80340
-reverted and "refixed" by Xisco in 5.2/5.1/5.0 bug 91762
-modified by Gulsah in 7.1/7.0.4 bug 137949/139511
Comment 23 Justin L 2022-01-14 07:08:04 UTC
I have a mass revert patch at https://gerrit.libreoffice.org/c/core/+/128376.

Obviously since some of these have been in the product since LO 5.0, it wouldn't be very nice to actually push this unless those bugs are fixed properly, but I post it here for the record.

It fixes this bug, and bug 144092.
Comment 24 Timur 2022-02-21 13:10:05 UTC
I guess there should be reviewers at the patch,it just sits there.
Comment 25 Justin L 2022-02-21 13:48:45 UTC
(In reply to Timur from comment #24 who didn't read comment #23 :)
> Obviously since some of these have been in the product since LO 5.0, it
> wouldn't be very nice to actually push this unless those bugs are fixed
> properly, but I post it here for the record.
Comment 26 Timur 2022-03-05 15:51:56 UTC
I set this one to Highest because it's a described situation with multiple that should be resolved, by commitment to fix what may follow up.
Comment 27 brenbarn 2022-04-10 22:17:39 UTC Comment hidden (no-value)
Comment 28 Commit Notification 2022-08-31 11:35:54 UTC
Sarper Akdemir committed a patch related to this issue.
It has been pushed to "master":

https://git.libreoffice.org/core/commit/1a0ceb76e2fe12cdfff7cabf06ef43cfba296a34

tdf#144092 tdf#139511: revert parts of tdf#91762 tdf#137949 tdf#139511

It will be available in 7.5.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 29 Commit Notification 2022-08-31 11:36:28 UTC Comment hidden (obsolete)
Comment 30 Commit Notification 2022-09-05 12:24:04 UTC
Sarper Akdemir committed a patch related to this issue.
It has been pushed to "libreoffice-7-4":

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

tdf#144092 tdf#139511: revert parts of tdf#91762 tdf#137949 tdf#139511

It will be available in 7.4.2.

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 31 Commit Notification 2022-09-05 12:24:32 UTC Comment hidden (obsolete)
Comment 32 Rafael Lima 2022-10-04 01:14:34 UTC
*** Bug 151282 has been marked as a duplicate of this bug. ***