In Impress we can set any graphic as bullet symbol. The issue here is that on the Customize tab page where this setting can be selected the preview image displays a wrong bulleting alignemnt. It renders the graphic bullet point aligned to the top of the line, however in the document it will be rendered on the center of the line.
Steps to Reproduce:
1. Open Impress
2. Click into the title shape
3. Open numbering dialog Customize tab page
4. Select Graphic in "Number" field
5. Select a graphic from Gallery (button next to "Graphics:" label)
Preview renders bulleting vertically aligned to top of the text line.
Preview should display bullet symbols as aligned vertically to the center.
User Profile Reset: No
User-Agent: Mozilla/5.0 (Windows NT 6.3; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/60.0.3112.90 Safari/537.36
Created attachment 135497 [details]
Screenshot of the preview and the document
Build ID: f1a896c71c495bdef5861eb664581507b6b9b5bb
CPU threads: 4; OS: Windows 6.19; UI render: default;
TinderBox: Win-x86@42, Branch:master, Time: 2017-08-13_07:38:19
Locale: nl-NL (nl_NL); Calc: CL
Let's turn it into a easy hack. The code is here:
Check SvxNumberingPreview class.
Hi! I am starting to work on this bug.
HI,this is my first bug in LO ....I checked out SvxNumberingPreview class but was unable to find something...please guide me.
(In reply to Shubham Gupta from comment #5)
> HI,this is my first bug in LO ....I checked out SvxNumberingPreview class
> but was unable to find something...please guide me.
I would add a breakpoint in lcl_DrawGraphic() method and check where it is called from and what parameters it is called with and check the calculation in it.
(In reply to Shubham Gupta from comment #4)
> Hi! I am starting to work on this bug.
When you work on a bug assign it to yourself (see Assignee field) and also change the status to assigend.
(In reply to Tamás Zolnai from comment #7)
> (In reply to Shubham Gupta from comment #4)
> > Hi! I am starting to work on this bug.
> When you work on a bug assign it to yourself (see Assignee field) and also
> change the status to assigend(In reply to Tamás Zolnai from comment #7)
OOps!!..I forgot to do that .....I am now assigning this bug to me ...and thanks for the guidance.
Hi, how's it going? Did you manage to progress? If not we are here to help, let us know if you're stuck.
A polite ping, still working on this bug?
Let's reset the assignee, since I don't see any response for months.
@Kurtaazz, Do you plan to work on this easyHack?
Yes(In reply to Xisco Faulí from comment #13)
> @Kurtaazz, Do you plan to work on this easyHack?
Mark Vecsernyes committed a patch related to this issue.
It has been pushed to "master":
tdf#111740 Wrong preview of graphic bullet symbol in Impress
It will be available in 6.0.0.
The patch should be included in the daily builds available at
http://dev-builds.libreoffice.org/daily/ in the next 24-48 hours. More
information about daily builds can be found at:
Affected users are encouraged to test the fix and report feedback.