Closed Bug 769449 Opened 12 years ago Closed 10 years ago

Maintain text selection on device rotation

Categories

(Firefox for Android Graveyard :: Text Selection, defect)

ARM
Android
defect
Not set
normal

Tracking

(Not tracked)

RESOLVED WORKSFORME

People

(Reporter: Margaret, Unassigned)

References

Details

We punted on this in bug 766556, since we're trying to get text selection landed on aurora ASAP, but we should fix this when we get the chance.
This is fixed with your recent work.
Status: NEW → RESOLVED
Closed: 12 years ago
Resolution: --- → WORKSFORME
(In reply to Aaron Train [:aaronmt] from comment #1)
> This is fixed with your recent work.

Are you sure? When I rotate my phone on Nightly I see the selection disappear.
You're right. I see that too. This did work though didn't it?
Status: RESOLVED → REOPENED
Resolution: WORKSFORME → ---
(In reply to Aaron Train [:aaronmt] from comment #3)
> You're right. I see that too. This did work though didn't it?

Nope, I don't think so.
Component: General → Text Selection
(In reply to Mark Capella [:capella] from comment #5)
> Wow old bug :-) This is caused here:
> 
> http://mxr.mozilla.org/mozilla-central/source/mobile/android/chrome/content/
> SelectionHandler.js?mark=90-94#89

Yes, this was an intentional decision. Fixing this will require adding new functionality, rather than tweaking code to fix a problem.
Status: REOPENED → NEW
I think recent changes have solved for this.
(In reply to Mark Capella [:capella] from comment #7)
> I think recent changes have solved for this.

Testing this out, it looks like recent changes must have actually broken this! We currently don't update the handle position on rotation, so the handles end up in the wrong spot. Is there another bug filed on that? If not, we can morph this one to cover it.
Oh, I thought it worked because in my patch queue I'm building with the final piece of bug 895463 (p4) (which will need approval from you and kats).

It's ready, but I've got it backlogged / dependent on bug 994664 and before that bug 980074, both of which are waiting approval from wesj.
Trying again ... bug 895463 (p4) is in, and it looks like this bug is solved / closeable as a result.

margaret or aaronmt: can you confirm this/these ?
Status: NEW → RESOLVED
Closed: 12 years ago10 years ago
Resolution: --- → WORKSFORME
Product: Firefox for Android → Firefox for Android Graveyard
You need to log in before you can comment on or make changes to this bug.