Apache OpenOffice (AOO) Bugzilla – Full Text Issue Listing |
Summary: | Slide will be inserted in wrong place when try to insert it in latter slides(with vertical scrollbar) | ||||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|---|---|
Product: | Impress | Reporter: | fanyuzhen | ||||||||||
Component: | editing | Assignee: | AOO issues mailing list <issues> | ||||||||||
Status: | RESOLVED FIXED | QA Contact: | |||||||||||
Severity: | Normal | ||||||||||||
Priority: | P2 | CC: | awf.aoo, damjan, elish, jsc, liushenf, mseidel | ||||||||||
Version: | 4.1.0-dev | Keywords: | regression | ||||||||||
Target Milestone: | 4.2.0 | Flags: | damjan:
4.2.0_release_blocker?
|
||||||||||
Hardware: | All | ||||||||||||
OS: | All | ||||||||||||
Issue Type: | DEFECT | Latest Confirmation in: | 4.2.0-dev | ||||||||||
Developer Difficulty: | --- | ||||||||||||
Attachments: |
|
Description
fanyuzhen
2014-04-25 08:28:53 UTC
Created attachment 83272 [details]
Step 1
Created attachment 83273 [details]
Step 2
Created attachment 83274 [details]
Problem
Could be connected to bug 123197. Is this still reproducible in the RC4 (or at least RC3)? Confirmed with AOO410m17(Build:9763) - Rev. 1586584 2014-04-11 09:13 - Linux x86_64 Debian It is very inconvenient and frustrates user, propose to be a show stopper if the risk of fix can be contained. I agree that it is not nice but for me it is no showstopper but a normal issue. Yes it is a regression but again it is not serious. We have no data loss and it can be easy workarounded. We even don't know if it is often used. Otherwise I am wondering why we detect it so late. The related code changes were probably made in February and the issue was already in the Beta. When you click on a slide and insert a new slide via the context menu it works. I would fix it asap on trunk and take into account if others more serious issues are found. Created attachment 83276 [details]
Allow empty selection in PageSelector::UpdateCurrentPage
This is a fix for the problem at hand. It may, however, be too simple and break something else.
I applied the patch to my local trunk development environment and it worked for me. Nevertheless, I would not 'stop our 4.1 release show' for this issue as its severity is not high enough from my point of view. Reset the assignee to the default "issues@openoffice.apache.org". This is still an issue in the latest trunk. That PageSelector::UpdateCurrentPage() method that the patch here is for, has only has 2 sources of changes, as shown by "git blame main/sd/source/ui/slidesorter/controller/SlsPageSelector.cxx", the original commit where it was imported by Bob Weir, and 4799f5ba13c by Andre Fischer for bug 123197. Reverting 4799f5ba13c fixes the issue, therefore this is a regression from that commit: ---snip--- commit 4799f5ba13c0140a13cf2e05fc58d1eb59f25ad2 Author: Andre Fischer <af@...> Date: Fri Feb 21 11:55:33 2014 +0000 123197: Fixed selection problems when switching between normal and master mode. ---snip--- Andre: any ideas? That patch works and seems to make sense, so I am going to commit it: ---snip--- commit 2a12cc4fae255902f4870bfea0bfe724d9d4ddb8 (HEAD -> trunk, origin/trunk, origin/HEAD) Author: Damjan Jovanovic <damjan@...> Date: Sun Oct 8 21:01:32 2023 +0200 Allow empty selection in PageSelector::UpdateCurrentPage(). This fixes a regression in Impress, where wrong slides are selected on a right-click between slides when scrolling down, and new slides are inserted in wrong places. Patch by: Andre Fischer <af@...> Reviewed by: me Fixes: #124741 - Slide will be inserted in wrong place when try to insert it in latter slides(with vertical scrollbar) ---snip--- Resolving FIXED. Thank you for your bug report and patch! Cherry-picked for AOO42X with 0377632d55e2f6c71bc9597b5614b3773b09d374. Let's not release it in 4.1.15 yet, could use a little more testing. |