Summary: | Background image, previously imported by user as area fill, not visible as a bitmap thumbnail when file reopened | ||
---|---|---|---|
Product: | LibreOffice | Reporter: | Volga <shanshandehongxing> |
Component: | LibreOffice | Assignee: | Not Assigned <libreoffice-bugs> |
Status: | NEW --- | ||
Severity: | minor | CC: | buzea.bogdan, greenandpleasant2000-support, lg, mentoring, rb.henschel, serval2412, spaarks, stephane.guillou, telesto, tusharrai282, xiscofauli, xudouxi |
Priority: | medium | Keywords: | difficultyMedium, easyHack, implementationError, skillCpp, topicUI |
Version: | 5.3.0.3 release | ||
Hardware: | All | ||
OS: | All | ||
See Also: |
https://bugs.documentfoundation.org/show_bug.cgi?id=130543 https://bugs.documentfoundation.org/show_bug.cgi?id=107087 https://bugs.documentfoundation.org/show_bug.cgi?id=103916 https://bugs.documentfoundation.org/show_bug.cgi?id=131438 https://bugs.documentfoundation.org/show_bug.cgi?id=100832 |
||
Whiteboard: | |||
Crash report or crash signature: | Regression By: | ||
Bug Depends on: | |||
Bug Blocks: | 113224 | ||
Attachments: |
Sample file
My snapshot |
Description
Volga
2019-06-17 16:31:02 UTC
Created attachment 152249 [details]
Sample file
Created attachment 152250 [details]
My snapshot
This is my snapshot, notice that the Page Style dialog is resized to larger size.
On pc Debian x86-64 with master sources updated today, I could reproduce this. I suppose a good start should be in this file: https://opengrok.libreoffice.org/xref/core/cui/source/tabpages/tpbitmap.cxx (In reply to Julien Nabet from comment #3) > On pc Debian x86-64 with master sources updated today, I could reproduce > this. > > I suppose a good start should be in this file: > https://opengrok.libreoffice.org/xref/core/cui/source/tabpages/tpbitmap.cxx Let's turn this into an easyhack then... I am familiar with this problem and I can solve it. *** Bug 134259 has been marked as a duplicate of this bug. *** Version: 7.0.0.3 (x64) Build ID: 8061b3e9204bef6b321a21033174034a5e2ea88e CPU threads: 4; OS: Windows 10.0 Build 19041; UI render: Skia/Raster; VCL: win Locale: en-GB (en_GB); UI: en-GB Calc: threaded Bug still present in this version. Dear duuxixu, This bug has been in ASSIGNED status for more than 3 months without any activity. Resetting it to NEW. Please assign it back to yourself if you're still working on this. Hello I want to work on this bug. Progress made in solving the bug- In file cui/source/tabpages/tpbitmap.cxx SvxBitmapTabPage::Reset performs the actions when user clicks on the bitmap section in Format->PageStyle->Area tab . IMPL_LINK_NOARG(SvxBitmapTabPage, ModifyBitmapHdl, ValueSet*, void) performs actions when user clicks on the default bitmaps present and add the bitmap into the preview . IMPL_LINK_NOARG(SvxBitmapTabPage, ClickImportHdl, weld::Button&, void) performs actions when user clicks on add/import button and new image is added in the bitmaps. The idea to solve the bug is to get the image from the background and add it into the bitmaps and into the preview which can't be done in the file cui/source/tabpages/tpbitmap.cxx because no idea of how to retrieve the background image. This is the idea i could think of with the pointers(cui/source/tabpages/tpbitmap.cxx) provided in the bug. Correct me if i am wrong at any point and please provide more pointers or some guidance to solve the bug. Since Tushar Kumar Rai assigned himself recently, let's put it back to ASSIGNED. Tushar: you can discuss with LO Devs on IRC or ask on dev LO forum.
> Tushar: you can discuss with LO Devs on IRC or ask on dev LO forum.
Sure. I was busy working on Gsoc proposal and am working on different patch now.
Will assign it to myself after finishing.
The page area dialog does not work as the dialog used for shapes, see bug 103916. Started in 5.3, when the dialog was redone to add new images to the list, and allow naming them. (libreoffice-5.3.0.0.alpha1 in linux-64-releases bibisect repo.) Same happens with e.g. Draw's Page > Page Properties > Background > Image. Still reproduced in recent trunk build: Version: 24.2.0.0.alpha0+ (X86_64) / LibreOffice Community Build ID: e9a0c97de95688b2f86bbb4dd8c823af5442401c CPU threads: 8; OS: Linux 5.15; UI render: default; VCL: gtk3 Locale: en-AU (en_AU.UTF-8); UI: en-US Calc: threaded *** Bug 130543 has been marked as a duplicate of this bug. *** This is also true for the dropdowns in the Properties (for Draw/Impress) or Page (for Writer) sidebar decks, as mentioned in bug 130543 comment 5. *** Bug 108905 has been marked as a duplicate of this bug. *** Setting priority back to "normal": 3 duplicates; functionality seems broken; it affects more than Writer; and more than page background (e.g. paragraph styles too). |