The bug is still present in version: 7.1.0.0.alpha1+ I had a look, it is due to the "sort by X value" being done in the view part (in VDataSeries::doSortByXValues()) without updating the model data, while the tooltip text is generated by lcl_getDataPointValueText in ObjectNameProvider.cxx in the controller part, which has access to the model data, but not the view data and the VDataSeries correctly sorted.
Does it mean the sort should be done elsewhere and apply to the model data as well? -- You received this bug notification because you are a member of Desktop Packages, which is subscribed to libreoffice in Ubuntu. https://bugs.launchpad.net/bugs/258705 Title: [Upstream] Calc XY (scatter) chart Sort by x values has wrong x,y in tooltip Status in LibreOffice: Confirmed Status in OpenOffice: Confirmed Status in libreoffice package in Ubuntu: Confirmed Status in openoffice.org package in Ubuntu: Won't Fix Bug description: Binary package hint: openoffice.org 1) LibreOffice: lsb_release -rd Description: Ubuntu 11.04 Release: 11.04 OpenOffice: lsb_release -rd Description: Ubuntu 8.04.1 Release: 8.04 2) LibreOffice: apt-cache policy libreoffice-calc libreoffice-calc: Installed: 1:3.3.2-1ubuntu5 Candidate: 1:3.3.2-1ubuntu5 Version table: *** 1:3.3.2-1ubuntu5 0 500 http://us.archive.ubuntu.com/ubuntu/ natty-updates/main i386 Packages 500 http://us.archive.ubuntu.com/ubuntu/ natty-proposed/main i386 Packages 100 /var/lib/dpkg/status 1:3.3.2-1ubuntu4 0 500 http://us.archive.ubuntu.com/ubuntu/ natty/main i386 Packages OpenOffice: apt-cache policy openoffice.org-calc openoffice.org-calc: Installed: 1:2.4.1-1ubuntu2 Candidate: 1:2.4.1-1ubuntu2 Version table: *** 1:2.4.1-1ubuntu2 0 500 http://us.archive.ubuntu.com hardy-updates/main Packages 100 /var/lib/dpkg/status 1:2.4.0-3ubuntu6 0 500 http://us.archive.ubuntu.com hardy/main Packages 3) What is expected to happen in Calc via the Terminal: cd ~/Desktop && wget https://bugs.launchpad.net/ubuntu/+source/openoffice.org/+bug/258705/+attachment/403067/+files/xyscatterbug.ods && localc -nologo xyscatterbug.ods double click the XY (Scatter), sorted by X values chart and hover the mouse icon over a data point, the pop up notes the correct X,Y value. 4) What happens instead is it does not. The pop-up is using the data values top to bottom, to display the data point values from left to right. ProblemType: Bug Architecture: amd64 Date: Sat Aug 16 22:36:17 2008 DistroRelease: Ubuntu 8.04 Package: openoffice.org-core 1:2.4.1-1ubuntu2 PackageArchitecture: amd64 ProcEnviron: PATH=/usr/lib/openoffice/program:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games LANG=en_US.UTF-8 SHELL=/bin/bash SourcePackage: openoffice.org Uname: Linux 2.6.24-19-generic x86_64 To manage notifications about this bug go to: https://bugs.launchpad.net/df-libreoffice/+bug/258705/+subscriptions -- Mailing list: https://launchpad.net/~desktop-packages Post to : [email protected] Unsubscribe : https://launchpad.net/~desktop-packages More help : https://help.launchpad.net/ListHelp

