# Status report: consultancy team, week 20, 2025

**URL:** <https://forum.collaboraonline.com/t/status-report-consultancy-team-week-20-2025/3698>\
**Category:** Status reports\
**Created:** [May 20, 2025, 11:22am UTC](https://forum.collaboraonline.com/t/status-report-consultancy-team-week-20-2025/3698 "2025-05-20T11:22:35Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![vmiklos](https://dub1.discourse-cdn.com/flex013/user_avatar/forum.collaboraonline.com/vmiklos/32/787_2.png) [@vmiklos](https://forum.collaboraonline.com/u/vmiklos)\
**Post date:** [May 20, 2025, 11:22am UTC](https://forum.collaboraonline.com/t/status-report-consultancy-team-week-20-2025/3698/1 "2025-05-20T11:22:35Z")

</div>

# Caolan

- crash seen in share’s coredumpctl list  
 → [https://gerrit.libreoffice.org/c/core/+/185199](https://gerrit.libreoffice.org/c/core/+/185199)
- use tcmalloc equivalent to malloc\_trim if linked to that  
 → [add Util::trimMalloc by caolanm · Pull Request #11910 · CollaboraOnline/online · GitHub](https://github.com/CollaboraOnline/online/pull/11910)
- rebase clipboard work
- merge independent fixes  
 → [restore passing lastHTTPHeader by reference by caolanm · Pull Request #11938 · CollaboraOnline/online · GitHub](https://github.com/CollaboraOnline/online/pull/11938)  
 → [use an explicit 'mimetype' argument for getclipboard by caolanm · Pull Request #11930 · CollaboraOnline/online · GitHub](https://github.com/CollaboraOnline/online/pull/11930)  
 → [ServerSession::asyncUpload is always of a file by caolanm · Pull Request #11931 · CollaboraOnline/online · GitHub](https://github.com/CollaboraOnline/online/pull/11931)
- worry that we are hammering smaps\_rollup too much: [Gather smaps for process\_exporter to gain PSS metrics (#10966) · Issues · GitLab.com / GitLab Infrastructure Team / Production Engineering · GitLab](https://gitlab.com/gitlab-com/gl-infra/production-engineering/-/issues/10966)
- serve clipboards with existing ServerSession thing, some  
rejigging required  
 → [allow setting multiple headers in asyncUpload by caolanm · Pull Request #11936 · CollaboraOnline/online · GitHub](https://github.com/CollaboraOnline/online/pull/11936)
- coolwsd assert seen in ci logs  
 → [move \_socket in SocketDisposition::execute by caolanm · Pull Request #11935 · CollaboraOnline/online · GitHub](https://github.com/CollaboraOnline/online/pull/11935)
- clipboard unexpectedly truncated on arrival, debug
- find where clipboard data is getting truncated/missing  
when ServerSession shutdowns socket before flushing data  
 → [ServerSession may shutdownConnection on socket before all data gets sent by caolanm · Pull Request #11952 · CollaboraOnline/online · GitHub](https://github.com/CollaboraOnline/online/pull/11952)
- null deref in ossfuzz after image filter reworks  
 → [https://gerrit.libreoffice.org/c/core/+/185353](https://gerrit.libreoffice.org/c/core/+/185353)
- suggest dumping coolwsd std output log on cypress fail  
 → [dump coolwsd console log on failure by caolanm · Pull Request #11960 · CollaboraOnline/online · GitHub](https://github.com/CollaboraOnline/online/pull/11960)
- clipboard pr for review
- accumulate POSTs in a temp fstream instead of growing  
SocketBuffer to fit entire content
- pass clipboard in/out of kit as a file argument instead  
of streaming their content over connection
- serve clipboards with ServerSession backed by clipboard  
file  
 → [https://github.com/CollaboraOnline/online/pull/11485](https://github.com/CollaboraOnline/online/pull/11485)
- co-25.04 crash fix  
 → [https://gerrit.libreoffice.org/c/core/+/185386](https://gerrit.libreoffice.org/c/core/+/185386)
- ofz#415190397 avoid OOM  
 → [https://gerrit.libreoffice.org/c/core/+/185408](https://gerrit.libreoffice.org/c/core/+/185408)
- Have another go at finding out why tcmalloc never seems to  
release memory back to OS
  - Maybe madvise(… MADV\_FREE) and the kernel doesn’t yet need  
to actually reclaim it so tcmalloc presents to the tool as a  
complete memory hog
  - experiment with an upstream patch to disable MADV\_FREE and  
just use MADV\_DONTNEED instead

# Mike

- Missing table border when importing ReqIF-XHTML
  - Autoformat application special case when cells are merged till end
  - Already was special-cased for single-cell tables (Justin)
  - Done

- Loading times for Writer documents increases nonlinear for many bookmarks in tables
  - Implemented a mode for MarkManager to avoid checking mark names on creation; this uses a map to speed up  
eventual names deduplication in the end of the mode
  - Michael S noticed a problem when SwReader::Read is used to insert content to an existing document
  - Fixed; done

- Regression fixing: tdf#166620

# Tomaz

Collabora Online - impress -PPTX - image resied : the ratio isn’t kept

- The PPTX document was provided and the instructuons how to reproduce it
  - But that’s more or less the same as we already knew

- Looked into the dialog code and everything seems to be fine
- Couldn’t really reproduce this consistently enough to properly analyze the issue
- Checked the jsdialog code to notice if there is something that stands out why the checkbox doesn’t trigger the dialog code
- Noticed the dialog in co-25.04 is different and doesn’t seem to have the issue
- Looked through commits, but Szymon noticed that a patch is missing in 24.04
  - looks like this fixed the issue, at least I don’t seem to notice it anymore

PPTX – font embedding

- Issue with the embedded font when the text box is in edit mode
  - gets cut off at the top

- Doesn’t happen in desktop LibreOffice
- Seems to be an unrelated issue with the font embedding so created a new issue in github [1]
  - unrelated because it also happens when embedded into ODP document
  - probably a bug when using the font and editeng rendering

[1] [https://github.com/issues/created?issue=CollaboraOnline|online|11980](https://github.com/issues/created?issue=CollaboraOnline%7Conline%7C11980)

# Miklos

Worked on:

- [166319 – Interdependent change tracking improvements](https://bugs.documentfoundation.org/show_bug.cgi?id=166319)
- [Faster first tile rendering in Writer when the doc has a shape · Issue #11942 · CollaboraOnline/online · GitHub](https://github.com/CollaboraOnline/online/issues/11942)
