Created attachment 109344 [details] Screenshot of empty spaces in the special characters dialog The "Special Characters" dialog contains a grid of characters at the bottom of which are a lot of empty squares (where characters would normally be present). Steps to Reproduce: 1. Open Libreoffice Writer. 2. Click on the "Special Characters" button in the toolbar. 3. Scroll down to the bottom of the symbols grid. Current Behaviour: There are many blank/empty squares towards the bottom of the symbols grid. Expected Behaviour: The user should only be able to scroll down to the last symbol in the grid and no further. I have attached a screenshot to show the problem. As can be seen in the screenshot I only scrolled about 3/4 of the way down and the rest were all empty squares. I am not sure whether this was done intentionally but it seems a bit strange to have lots of empty space for the user to scroll through. Tested with Libreoffice: Version: 4.4.0.0.alpha2+ Build ID: 98f9baa5253f7bb8034f148519f31f548b1452fa TinderBox: Linux-rpm_deb-x86_64@46-TDF, Branch:master, Time: 2014-11-12_00:13:54
This bug has long been present, but now is more evident. In previous versions I could only reproduce it in a low-end, old computer running Windows XP.
I rather suspect that the count of chars from FontCharMap::GetCharCount is wrong somehow
Caolán McNamara committed a patch related to this issue. It has been pushed to "master": http://cgit.freedesktop.org/libreoffice/core/commit/?id=c56d96fc39de897b5e8213eb5e5af295759dccbf Resolves: fdo#86203 FontCharMap claims to have twice the entries it should It will be available in 4.5.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: http://wiki.documentfoundation.org/Testing_Daily_Builds Affected users are encouraged to test the fix and report feedback.
Caolán McNamara committed a patch related to this issue. It has been pushed to "libreoffice-4-4": http://cgit.freedesktop.org/libreoffice/core/commit/?id=b5795df5608c3dafa7895ab35a70ac172d68b32b&h=libreoffice-4-4 Resolves: fdo#86203 FontCharMap claims to have twice the entries it should It will be available in 4.4.0.0.beta2. 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: http://wiki.documentfoundation.org/Testing_Daily_Builds Affected users are encouraged to test the fix and report feedback.