Closed Bug 512104 Opened 15 years ago Closed 14 years ago

Long javascript alert() messages cut short and Ok button not visible

Categories

(Firefox for Android Graveyard :: General, defect)

ARM
Maemo
defect
Not set
normal

Tracking

(Not tracked)

RESOLVED DUPLICATE of bug 489423

People

(Reporter: pepitoe+moz, Unassigned)

References

()

Details

User-Agent:       Mozilla/4.0 (compatible; MSIE 8.0; Windows NT 6.0; Trident/4.0;  Embedded Web Browser from: http://bsalsa.com/; SLCC1; .NET CLR 2.0.50727; Media Center PC 5.0; .NET CLR 3.5.21022; OfficeLiveConnector.1.3; OfficeLivePatch.0.0; .NET CLR 3.5.30729; .NET CLR 3.0.30729)
Build Identifier: Mozilla/5.0 (X11; U; Linuxarmv6l; en-US; rv:1.9.2a2pre) Gecko/20090820 Fennec/1.0b3

In Fennec beta 3 and previous versions on Maemo, a long javascript alert message may be cut off due to the reduced vertical resolution available compared to most PCs.  I presume this issue would also effect Windows Mobile but cannot check.

Whilst alert() dialogs of this length are hopefully rare this may be more important if it also effects devices with lower resolutions than Maemo.  I would also expect it to effect other javascript dialogs such as confirm().

Reproducible: Always

Steps to Reproduce:
1.  On a Maemo device such as the N810, go to a site with a known long javascript alert dialog eg acid3.acidtests.org
2.  Trigger the dialog, on acid3 this would be by clicking the letter A in Acid once the test is complete
3.  Try to read the whole message and click the Ok button
Actual Results:  
The message is cut short and the Ok button is off the screen.  It is possible to close the dialog with the hardware escape or select keys but this may not be obvious to the user.

Expected Results:  
It is possible to scroll to view the entire message, and the Ok button is visisble at the bottom of the dialog, without scrolling.
This is being worked on in bug 489423
Status: UNCONFIRMED → RESOLVED
Closed: 15 years ago
Resolution: --- → DUPLICATE
Using the steps to reproduce, the message is still cut short after bug 489423 was fixed.
Status: RESOLVED → UNCONFIRMED
Resolution: DUPLICATE → ---
Status: UNCONFIRMED → NEW
Ever confirmed: true
But can you pan the message now?
You can pan the message, although it might not be immediately obvious to a user that they can, and the area of the screen you need to use to pan the message is quite small making it a bit more difficult.
I'm re-resolving this as duplicate.  Messages larger than the screen will always be cut off; panning is the designed solution, and is a common UI idiom on touchscreen platforms like Maemo and Android.  (The Fennec alert dialog has essentially the same behavior as native Android dialogs, like the context menu in Android's Browser.)  With the dialog style in Fennec 1.1, the alert is quite large relative to the screen.
Status: NEW → RESOLVED
Closed: 15 years ago14 years ago
Resolution: --- → DUPLICATE
Component: Linux/Maemo → General
OS: Other → Linux (embedded)
Hardware: Other → ARM
You need to log in before you can comment on or make changes to this bug.