Closed
Bug 502065
Opened 15 years ago
Closed 15 years ago
resize fennec when software keyboard is displayed
Categories
(Firefox for Android Graveyard :: General, defect)
Firefox for Android Graveyard
General
ARM
Windows Mobile 6 Professional
Tracking
(fennec1.0b1-wm+)
VERIFIED
FIXED
Tracking | Status | |
---|---|---|
fennec | 1.0b1-wm+ | --- |
People
(Reporter: dougt, Assigned: mfinkle)
Details
Attachments
(1 file)
6.39 KB,
patch
|
Gavin
:
review+
|
Details | Diff | Splinter Review |
currently we send a notification out when the software keyboard is displayed. This is so that xul applications can resize such that the keyboard does not overlap their content.
The notification is created here:
http://mxr.mozilla.org/mozilla-central/source/widget/src/windows/nsWindowCE.cpp#90
The toolkit common dialogs already support this handling:
http://mxr.mozilla.org/mozilla-central/source/toolkit/content/commonDialog.js#117
Reporter | ||
Updated•15 years ago
|
tracking-fennec: --- → ?
Assignee | ||
Comment 1•15 years ago
|
||
Each potential UI element that needs to be resized will have to be handled, possibly, separately.
Simply resizing the main window won't actually make everything better
Updated•15 years ago
|
tracking-fennec: ? → 1.0b1-wm+
Comment 2•15 years ago
|
||
I see similar problems while looking for a url in the awesomebar and the keyboard covers the bottom results. I cannot pan the awesomebar results causing confusion
Assignee | ||
Comment 3•15 years ago
|
||
This patch is a basic resize patch. It only resizes the main window, which will cause any "resize-aware" UI to update accordingly.
The patch also changes the "const gXxx" style used to FF for some observers to the Fennec "var Xxx" style.
Assignee: nobody → mark.finkle
Attachment #389496 -
Flags: review?(gavin.sharp)
Assignee | ||
Comment 4•15 years ago
|
||
The patch does change the awesombar, for example, on the n810 using a softkb.
However, while it does resize the window when focusing a content textbox, the textbox could be off-screen. File those and other related issues as separate bugs please.
Assignee | ||
Comment 5•15 years ago
|
||
See bug 479444 for adjusting textbox location when sofkb is visible
Comment 6•15 years ago
|
||
Comment on attachment 389496 [details] [diff] [review]
patch
I think I would prefer not renaming the global objects that were copied over from FF (even if their implementations have diverged a little), as discussed on IRC.
Since this code is only needed on WinCE, I think it's probably a good idea to put behind an #ifdef WINCE.
Also need to remove the Components.utils.reportError :)
r=me with that.
Attachment #389496 -
Flags: review?(gavin.sharp) → review+
Assignee | ||
Comment 7•15 years ago
|
||
(In reply to comment #6)
> (From update of attachment 389496 [details] [diff] [review])
> I think I would prefer not renaming the global objects that were copied over
> from FF (even if their implementations have diverged a little), as discussed on
> IRC.
OK.. for now :)
> Since this code is only needed on WinCE, I think it's probably a good idea to
> put behind an #ifdef WINCE.
Done
> Also need to remove the Components.utils.reportError :)
Done
Assignee | ||
Comment 8•15 years ago
|
||
Status: NEW → RESOLVED
Closed: 15 years ago
Resolution: --- → FIXED
Comment 9•15 years ago
|
||
It's resized on the Omnia, but there's space between the quicklinks bar and the soft keyboard using:
Build Id: Mozilla/5.0 (Windows; U; WindowsCE 5.2; en-US; rv:1.9.2a1pre)
Gecko/20090803 Fennec/1.0a3pre
I'm marking this as re-opened.
Status: RESOLVED → REOPENED
Resolution: FIXED → ---
Assignee | ||
Comment 10•15 years ago
|
||
(In reply to comment #9)
> It's resized on the Omnia, but there's space between the quicklinks bar and the
> soft keyboard using:
>
> Build Id: Mozilla/5.0 (Windows; U; WindowsCE 5.2; en-US; rv:1.9.2a1pre)
> Gecko/20090803 Fennec/1.0a3pre
>
> I'm marking this as re-opened.
bug 505210
closing again
Status: REOPENED → RESOLVED
Closed: 15 years ago → 15 years ago
Resolution: --- → FIXED
Comment 11•15 years ago
|
||
Not minding the issue in the bug referenced in comment #10; this is working on my htc touch pro and omnia using build:
Mozilla/5.0 (Windows; U; WindowsCE 5.2; en-US; rv:1.9.3a1pre) Gecko/20090817 Fennec/1.0a3pre
Status: RESOLVED → VERIFIED
Reporter | ||
Updated•14 years ago
|
Component: Windows Mobile → General
QA Contact: mobile-windows → general
Hardware: x86 → ARM
You need to log in
before you can comment on or make changes to this bug.
Description
•