Bug 152726 - Pasting Selection to Sheet as BMP Image, Text of Button is getting bigger.
Summary: Pasting Selection to Sheet as BMP Image, Text of Button is getting bigger.
Status: RESOLVED FIXED
Alias: None
Product: LibreOffice
Classification: Unclassified
Component: Calc (show other bugs)
Version:
(earliest affected)
7.3.0.0.alpha1+
Hardware: All All
: medium normal
Assignee: Not Assigned
URL:
Whiteboard: target:7.6.0 target:7.5.1 target:7.4.6
Keywords: bibisected, bisected, regression
Depends on:
Blocks:
 
Reported: 2022-12-30 00:30 UTC by nobu
Modified: 2023-09-20 08:06 UTC (History)
2 users (show)

See Also:
Crash report or crash signature:


Attachments
sample file (27.87 KB, application/vnd.oasis.opendocument.spreadsheet)
2022-12-30 00:32 UTC, nobu
Details

Note You need to log in before you can comment on or make changes to this bug.
Description nobu 2022-12-30 00:30:25 UTC
Description:
When Selection Range is pasted to Sheet with BMP, Font size of the button increases.

Steps to Reproduce:
1. Open a new Calc.
2. Place the Shape (ex. Button) in Cell [B1].
3. Control Title is Default.
4. Select Range [A1:B1] & Copy.
5. Move the cursor somewhere.
6. Paste Image in BMP using PasteDropdownIcon.

Actual Results:
7. The text of the button is getting bigger.

Expected Results:
7. The text on the button does not grow.


Reproducible: Always


User Profile Reset: No

Additional Info:
There is a similar Bug in PNG.

Not Reproduced with before Version 7.2.7.2 64bit, OS:Windows10 64bit

Reproducible with Version 7.3.0.3 32bit, OS:Windows10 64bit

Reproducible with Version 7.5.0.1 64bit, OS:Windows10 64bit
Comment 1 nobu 2022-12-30 00:32:16 UTC
Created attachment 184391 [details]
sample file
Comment 2 nobu 2023-01-04 01:48:19 UTC
Reproducible with Version 7.3.0.0alpha1 64bit, OS:Windows10 64bit
Comment 3 nobu 2023-01-11 13:18:09 UTC
Reproducible with Version 7.4.4.2 64bit, OS:Windows10 64bit
Comment 4 raal 2023-01-11 22:39:43 UTC
Confirm with Version: 7.6.0.0.alpha0+ (X86_64) / LibreOffice Community
Build ID: d993327eab0a2c9c8820c6528075b01de68b0ec6
CPU threads: 4; OS: Linux 5.15; UI render: default; VCL: gtk3
Locale: cs-CZ (cs_CZ.UTF-8); UI: en-US
Calc: threaded
but not in Version 4.1.0.0.alpha0+ (Build ID: efca6f15609322f62a35619619a6d5fe5c9bd5a)
Comment 5 raal 2023-01-20 20:01:59 UTC
This seems to have begun at the below commit.
Adding Cc: to Noel Grandin ; Could you possibly take a look at this one?
Thanks
 d9bd18afc8c8c9eef3466c78b35b89431303bafa is the first bad commit
commit d9bd18afc8c8c9eef3466c78b35b89431303bafa
Author: Jenkins Build User <tdf@pollux.tdf>
Date:   Fri Aug 20 12:55:30 2021 +0200

    source 720e4258ab5f00287098ff945a184bfb43911841
    
    source 720e4258ab5f00287098ff945a184bfb43911841
    source ac586d1caecaa5be4bce05b073ce4c7bda10f13e
Comment 6 Commit Notification 2023-01-30 13:27:01 UTC
Noel Grandin committed a patch related to this issue.
It has been pushed to "master":

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

tdf#152726 Pasting Selection to Sheet as BMP Image, button test is larger

It will be available in 7.6.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 Commit Notification 2023-02-01 10:58:25 UTC
Noel Grandin committed a patch related to this issue.
It has been pushed to "libreoffice-7-5":

https://git.libreoffice.org/core/commit/95d9af25550174ad1436c16f9ec6aebad7f8425b

tdf#152726 Pasting Selection to Sheet as BMP Image, button test is larger

It will be available in 7.5.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 8 Commit Notification 2023-02-01 10:59:29 UTC
Noel Grandin committed a patch related to this issue.
It has been pushed to "libreoffice-7-4":

https://git.libreoffice.org/core/commit/9828ab81ccb6ae03824ba61c35ebcdf12f53700a

tdf#152726 Pasting Selection to Sheet as BMP Image, button test is larger

It will be available in 7.4.6.

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.