- a sheet created in excel have autofilter active on a column. xlsx saved. - xlsx loaded into calc - the fields look filtered - select the column - copy - paste into another sheet - BUG: all the values are copied, even hidden ones - change anything in the original table (fiddle with autofilter), then only the corect (visible) cells are copied (comment to self: via TRf)
Set to NEEDINFO. Change back to UNCONFIRMED after you have provided an example document from Excel.
Created attachment 125167 [details] sample file * load it * select 'id' column * copy * add a new sheet * paste * hidden values should not be copied, but thy are
Reproduced with the file Win 7 Pro 64-bit Version: 5.2.0.0.alpha1+ Build ID: f688acfdae00ebdd891737e533d54368810185e1 CPU Threads: 4; OS Version: Windows 6.1; UI Render: default; TinderBox: Win-x86@62-merge-TDF, Branch:MASTER, Time: 2016-05-18_00:11:31 Locale: fi-FI (fi_FI)
** Please read this message in its entirety before responding ** To make sure we're focusing on the bugs that affect our users today, LibreOffice QA is asking bug reporters and confirmers to retest open, confirmed bugs which have not been touched for over a year. There have been thousands of bug fixes and commits since anyone checked on this bug report. During that time, it's possible that the bug has been fixed, or the details of the problem have changed. We'd really appreciate your help in getting confirmation that the bug is still present. If you have time, please do the following: Test to see if the bug is still present on a currently supported version of LibreOffice (5.4.1 or 5.3.6 https://www.libreoffice.org/download/ If the bug is present, please leave a comment that includes the version of LibreOffice and your operating system, and any changes you see in the bug behavior If the bug is NOT present, please set the bug's Status field to RESOLVED-WORKSFORME and leave a short comment that includes your version of LibreOffice and Operating System Please DO NOT Update the version field Reply via email (please reply directly on the bug tracker) Set the bug's Status field to RESOLVED - FIXED (this status has a particular meaning that is not appropriate in this case) If you want to do more to help you can test to see if your issue is a REGRESSION. To do so: 1. Download and install oldest version of LibreOffice (usually 3.3 unless your bug pertains to a feature added after 3.3) http://downloadarchive.documentfoundation.org/libreoffice/old/ 2. Test your bug 3. Leave a comment with your results. 4a. If the bug was present with 3.3 - set version to "inherited from OOo"; 4b. If the bug was not present in 3.3 - add "regression" to keyword Feel free to come ask questions or to say hello in our QA chat: http://webchat.freenode.net/?channels=libreoffice-qa Thank you for helping us make LibreOffice even better for everyone! Warm Regards, QA Team MassPing-UntouchedBug-20170901
Confirming that the bug is still present in v5.4.1.2.0+ Build ID: 1:5.4.1-1
Repro 6.2+
It seems to be fixed in Version: 6.1.5.1 Build ID: 1:6.1.5~rc1-2 Both full column and manual column selection copies only visible content.
(In reply to Peter Gervai from comment #7) > It seems to be fixed in > Version: 6.1.5.1 > Build ID: 1:6.1.5~rc1-2 > > Both full column and manual column selection copies only visible content. I can still reproduce with your steps in comment 2. Arch Linux 64-bit Version: 6.3.0.0.alpha0+ Build ID: adb08e892b37ea9e155abbdee4e0c9951a1d163b CPU threads: 8; OS: Linux 5.0; UI render: default; VCL: gtk3; Locale: fi-FI (fi_FI.UTF-8); UI-Language: en-US Calc: threaded Built on 12 March 2019
Created attachment 157977 [details] package containing xlsx + xls + ods On Win10 with master sources updated today, I created an ods file with a simple autofilter, then I saved it to xls + xlsx format (the attachment contains the 3 files). On each of the files, I selected filtered/not hidden lines and copy pasted them on a new sheet to compare number of lines pasted and selected, here are the results: - ods -> OK - xls -> OK - xlsx -> KO
Let's increase importance since: - it's easily reproduceable - it concerns several envs (all?) - not a corner case - you may miss the problem when working on your file (so a bit "stealthy")
*** Bug 126505 has been marked as a duplicate of this bug. ***
Copying from https://bugs.documentfoundation.org/show_bug.cgi?id=126505#c11 Problem seems to be that in the Excel file format there is no differentiation between filtered rows and manually hidden rows, there is just a hidden="true" attribute which on import does not result in a filtered row. Can someone with Excel please create a short sample with an AutoFilter range where one row is filtered (which should not be included in a SUBTOTAL(9;...)) and one row is manually hidden (which should be included in a SUBTOTAL(9;...)) and attach it here? Thanks.
Created attachment 158053 [details] Test on Excel 365 Eike: on Excel 365, I created a brand new file following example at the end of https://support.office.com/en-us/article/subtotal-function-7b027003-f060-4ade-9040-e478765b9939?ui=en-US&rs=en-US&ad=US. Subtotal is 303 at the beginning => OK I filtered data to filter out line with value = 10, subtotal is 293 => OK I hid line with value 150, subtotal = 143 => ?? We expected 293 if I well understood the last comments.
*** Bug 137519 has been marked as a duplicate of this bug. ***
Tünde Tóth committed a patch related to this issue. It has been pushed to "master": https://git.libreoffice.org/core/commit/ae60c27f936642ecd4391d11fcd73a6d461d0b7f tdf#99913 XLSX import: set filtered flag for rows It will be available in 7.2.0. The patch should be included in the daily builds available at https://dev-builds.libreoffice.org/daily/ in the next 24-48 hours. More information about daily builds can be found at: https://wiki.documentfoundation.org/Testing_Daily_Builds Affected users are encouraged to test the fix and report feedback.
Tünde Tóth committed a patch related to this issue. It has been pushed to "libreoffice-7-1": https://git.libreoffice.org/core/commit/adef1cc017517882f4630e31fa643102c21faad0 tdf#99913 XLSX import: set filtered flag for rows It will be available in 7.1.3. The patch should be included in the daily builds available at https://dev-builds.libreoffice.org/daily/ in the next 24-48 hours. More information about daily builds can be found at: https://wiki.documentfoundation.org/Testing_Daily_Builds Affected users are encouraged to test the fix and report feedback.
Verified in: Version: 7.2.0.0.alpha0+ (x64) / LibreOffice Community Build ID: ea4fb1559f7b99a0bfaf18f26cb3b6972c9cde1c CPU threads: 4; OS: Windows 10.0 Build 17134; UI render: default; VCL: win Locale: hu-HU (hu_HU); UI: hu-HU Calc: threaded