(1) Open a writer document with footnotes. (2) Add comments to the main text. All comments appear correctly at the right bottom of the page. (3) Add now comments to the footnotes. All these comments are placed at the right top of the page. If the main text is without any comments, the comments of footnotes are be correctly placed at the right bottom of the page. Please compare the attached test file. My system: LibO 3.1.1 and OOo 3.3.0 under Windows XP Home/Pro/7 HP.
Created attachment 43895 [details] Description how to reproduce the problem
Comments added to frames (with text or picture or table)demonstrate the same behaviour.
[Reproducible] with sample document and "LibreOffice 3.3.1 – WIN7 Home Premium (64bit) German UI [OOO330m19 (build 8 / tag 3.3.1.2)]". After text comments will have been deleted, footnote comments will "jump down" to the bottom of the page. It's not a footnote, but a footer problem! The problem can be reproduced easily from the scratch 1. open new WRITER document 2. Menu 'Format > Page > Footer > Footer ON <OK> 3. Insert some text to page oody (3 paragraphs lorem ipsum, for example 4. Click into Footer 5. Menu 'Insert > Comment' Comment appears at the bottom of the page 6. Type text "Footer" into Comment 7. Click into last text line (lorem ipsum) 8. Menu 'Insert > Comment' Expected: New Comment appears right from last text line, old footer comment stays where it is Actual: New comment appears as expected but old "footer" comment now will be above the new text comment. No problem with OOo 3.1.1,I will test more current OOo version soon. @Cédric: Your area? Please feel free to reassign if not!
I can't reproduce the problem here with 3.4.2 and master builds on Linux. Marking as worksforme, but feel free to reopen if needed.
The described bug is still reproducible (on WinXP 32b · UI en-US) with, e.g.: LibO 3.4.5 RC2 [LibreOffice 3.4.5 · OOO340m1 (Build:502)] LibO 3.5.0 Beta2 [LOdev 3.5.0beta2 · Build ID: 8589e48-760cc4d-f39cf3d-1b2857e-60db978] libreoffice-3-5~2012-01-10_01.15.10... [LOdev 3.5.0beta2+ · Build ID: cbb7814-880f96d-d06f752]
Created attachment 55432 [details] LibO 3.4.5 RC2: Comments text body and footnote
*** Bug 44663 has been marked as a duplicate of this bug. ***
Created attachment 55433 [details] LibO 3.4.4: Comments footer, footnote, text body
Changing severity. CONFIRMED @ Win7 with Version 4.0.0.2 .0.2 (Build ID: 5991f37846fc3763493029c4958b57282c2597e) NOT CONFIRMED: Version 4.1.0.0.alpha0+ (Build ID: 2b17d6c14d226b1973c87ff161586c39899e403) TinderBox: Win-x86@6, Branch:master, Time: 2013-01-26_00:10:54 @Cedric Bosdonnat: Are you still working on this bug? A "port" (or whatever this is called) for 4.0 would be great...
Sorry misunderstanding of mine... REOPEND and setting status to new NOT working on Version 4.1.0.0.alpha0+ (Build ID: 2b17d6c14d226b1973c87ff161586c39899e403)... I am very sorry...
Status to NEW....
Hello Karl, @ll, I can confirm this bug w/ Germanophone LO Version 4.0.0.3 (Build ID: 7545bee9c2a0782548772a21bc84a9dcc583b89) as well as with my parallel installed LO Version 4.0.1.0+ (Build ID: 4e1643f910ffbd5509f73bfb68628a5428480d1) TinderBox: Linux-x86_64_11-Release-Configuration, Branch:libreoffice-4-0, Time: 2013-02-15_21:14:50 (also with Germanophone lang- and helppack installed ... ;) ) under Debian Testing AMD64, so I changed the Platform to "All - All" ... :( Really annoying bug ... :( I hope, it will be fixed in one of the next builds ... ;) I have used Karl's attached document, the one from AOO's (https://issues.apache.org/ooo/attachment.cgi?id=77338 from https://issues.apache.org/ooo/show_bug.cgi?id=119088) as well as a newly created one, where I nearly followed Karl's description. But all files show the same problem ... :( HTH Thomas.
Hi, Please do not add this kind of bugs on the Most Annoying Bugs list. I can confirm this behavior is 'annoying', but not more then that. It is not a big regression or a bug that result in a crash/data loss, therefore it isn't appropriate to place it on the MAB list. If everyone will do it that way, we just can delete that list, because it'll be useless. Following [1] I mark this as 'normal high'. Please also read (quite outdated but still applicable): https://wiki.documentfoundation.org/Most_Annoying_Bugs Kind regards, Joren [1] https://wiki.documentfoundation.org/images/0/06/Prioritizing_Bugs_Flowchart.jpg
@Cédric: I'll try to have a look at it. I hope/think you don't mind, because you're very crunching other bugs. I can't promise anything I can solve it, but I'll give it a try. Kind regards, Joren
Created attachment 76015 [details] leanest test case possible (2 comments -> reproduce the problem)
Patch waiting for review: https://gerrit.libreoffice.org/#/c/2572/
Created attachment 76038 [details] Final test file to make sure all comments are calculated well I also found out that placing comments in the Footer result in the same behavior. Therefore I'll tweak my patch a little bit more. This attachment I used as final test to make sure my change wouldn't scramble all comments.
*** Bug 53194 has been marked as a duplicate of this bug. ***
Joren De Cuyper committed a patch related to this issue. It has been pushed to "master": http://cgit.freedesktop.org/libreoffice/core/commit/?id=868f3485126827f6baf7179d1c2c3c20812cac9b fdo#34800 Comments added to footer are placed at the right top of the page. 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.
Fixed by http://cgit.freedesktop.org/libreoffice/core/commit/?id=868f3485126827f6baf7179d1c2c3c20812cac9b I'm going to wait/test a bit longer to backport it to 4.0 branch so it is also tested by others. Kind regards, Joren
Michael Stahl committed a patch related to this issue. It has been pushed to "master": http://cgit.freedesktop.org/libreoffice/core/commit/?id=859e94294bdfd8595c88dd7f14da09ead8b32a45 fdo#34800 sw: small cleanup 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.
@ hé Joren! Tested in Build ID: 4b4bcb1af57ee376a1185d3559202857d9777b with attachment from comment #12 and all comments are OK. thanks, super :-)
Thanks for the fx ;)
Joren De Cuyper committed a patch related to this issue. It has been pushed to "libreoffice-4-0": http://cgit.freedesktop.org/libreoffice/core/commit/?id=1e2eecabfe0e1c192cae300430d4b0579c3be845&h=libreoffice-4-0 fdo#34800 Comments added to footer are placed at the right top of the page. It will be available in LibreOffice 4.0.3. 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.
Joren De Cuyper committed a patch related to this issue. It has been pushed to "libreoffice-3-6": http://cgit.freedesktop.org/libreoffice/core/commit/?id=271e47b20da7581b2cf1518dd3274c1348bf7083&h=libreoffice-3-6 fdo#34800 Comments added to footer are placed at the right top of the page. It will be available in LibreOffice 3.6.6. 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.
Special thanks to Joren. This bug is fixed almost perfectly. But in a test with LibreOffice 3.6.6.2 (Build ID: f969faf), I still detected one problem: Opening my test file, you will see the comment "Abb. 1" is placed not correctly. That's why I opened the issue again. Have a look to my test file above mentioned in comment 12 (Thomas): https://issues.apache.org/ooo/attachment.cgi?id=77338 Is it possible to make the second (little) patch available in LibreOffice 3.6.7 ?
Thanks for your additional document. During fixing this issue I also discovered this issue, and created "Bug 62421 - Comments added to frames or image caption are placed unconditional at the top" that needs another handling of comments. I also have to say I'm not that advanced due the fact you need to introduce a kind of 'viewframe' in it. I can't fix that one, so I hope someone else will have a look at it. Therefore I mark this bug again as RESOLVED FIXED, because this bug is about the footer and footnote. Kind regards, Joren