GNU TeXmacs - Bugs: bug #64397, cached pdf image sizes not...
You are not allowed to post comments on this tracker with your current authentication level.
bug #64397: cached pdf image sizes not properly refreshed on MacOs, images get cropped
Submitter: | jadelight | ||
Submitted: | Sun 09 Jul 2023 07:54:45 AM UTC | ||
Category: | PDF export | Priority: | 5 - Normal |
Item Group: | Error | Status: | Ready For Test |
Privacy: | Public | Assigned to: | vdhoeven |
Originator Name: | Open/Closed: | Open | |
Release: | None | Release: | 2.1.2 |
Fixed Release: | None | Fixed Release: | |
Keywords: |
Jump to the original submission
Sun 03 Sep 2023 07:22:51 PM UTC, comment #12: |
Philippe Joyez <pjoyez>![]() |
Thu 31 Aug 2023 09:36:29 AM UTC, comment #11: I got the debug messages as follows:
|
jadelight |
Thu 31 Aug 2023 09:27:43 AM UTC, comment #10: Still not reproduced on Linux.
|
Philippe Joyez <pjoyez>![]() |
Wed 30 Aug 2023 04:17:24 PM UTC, comment #9: I attached two images of different sizes. How to reproduce the bug:
|
jadelight |
Tue 29 Aug 2023 09:37:46 PM UTC, comment #8: Right, this unexpected. However, not having access to a MacOs machine for reproducing and investigating your issue, I'd really need the full debug->convert output to retrace what goes wrong there (in order to understand how/why the cached size content was incorrectly determined). Since you suspect some interaction/confusion between images, having the tm file and all the images could be useful too. |
Philippe Joyez <pjoyez>![]() |
Sun 27 Aug 2023 03:13:49 PM UTC, comment #7: The bug appeared again in another document. I turned on the debug menu and activate debug->convert. The error message says something like "image size blahblah in cache 1000x300", which is wrong, because my image is 1000x400. My previous image in this Figure is 1000x300.
|
jadelight |
Mon 07 Aug 2023 09:40:58 AM UTC, comment #6: The bug seems to have disappeared, so I close it.
|
Joris van der Hoeven <vdhoeven>![]() ![]() |
Sun 06 Aug 2023 06:04:33 PM UTC, comment #5: Sorry for the late reply. Now I can't reproduce it either. But it occurs in another document previously. I also run the app in the debug mode by running the suggested commands, and I didn't see any error messages. I will investigate it further later.
|
jadelight |
Thu 13 Jul 2023 08:15:46 PM UTC, comment #4: I cannot reproduce in Debian, either. However, this is not entirely surprising since image handling can be different on MacOS, according to the c++ code... Jadelight, can you please turn on the debug menu and activate debug->convert entry before importing the image (as an alternative, you can start texmacs with the --debug-convert command line option), and report here the corresponding debug output? |
Philippe Joyez <pjoyez>![]() |
Tue 11 Jul 2023 12:38:06 PM UTC, comment #3: The submitter reports on the forum:
|
Jeroen Wouters <jeronim>![]() |
Tue 11 Jul 2023 12:36:20 PM UTC, comment #2: For reference, there is a related discussion about this on the forum:
|
Jeroen Wouters <jeronim>![]() |
Sun 09 Jul 2023 07:59:08 AM UTC, comment #1: BTW, the pdf is created in matlab by the "exportgraphics" command. The problem occurs only if I choose 'image' as the value for the option 'ContentType'. If I choose 'vector', then the image is displayed correctly. |
jadelight |
Sun 09 Jul 2023 07:54:45 AM UTC, original submission:
How to reproduce:
|
jadelight |
Depends on the following items: None found
Items that depend on this one: None found
There are 0 votes so far. Votes easily highlight which items people would like to see resolved in priority, independently of the priority of the item set by tracker managers.
Follow 11 latest changes.
Date | Changed by | Updated Field | Previous Value | => | Replaced by |
---|---|---|---|---|---|
2023-09-03 | pjoyez | Status | Need Info | ![]() |
Ready For Test |
2023-08-31 | pjoyez | Status | Fixed | ![]() |
Need Info |
Open/Closed | Closed | ![]() |
Open | ||
Summary | Linked PDF images get cropped | ![]() |
cached pdf image sizes not properly refreshed on MacOs, images get cropped | ||
2023-08-30 | jadelight | Attached File | - | ![]() |
Added logo.pdf, #55100 |
Attached File | - | ![]() |
Added logo-large.pdf, #55101 | ||
2023-08-07 | vdhoeven | Status | None | ![]() |
Fixed |
Assigned to | None | ![]() |
vdhoeven | ||
Open/Closed | Open | ![]() |
Closed | ||
2023-08-06 | vdhoeven | Category | None | ![]() |
PDF export |
2023-07-09 | jadelight | Attached File | - | ![]() |
Added profile1-exact.pdf, #54915 |
Hopefully, Rev #14202 should fix the issue. Can someone check on MacOs?