Project

General

Profile

Actions

Bug #665

open

Alert boxes in AOZ Viewer do not wrap and/or scroll text properly.

Added by Brian Flanagan almost 4 years ago. Updated about 3 years ago.

Status:
Resolved
Priority:
High
Target version:
Start date:
02/16/2021
Due date:
% Done:

0%

Estimated time:
1:00 h
Affected version:

Description

The alert boxes work fine when running in Browser, but not in AOZ Viewer.

The box should grow to fit text and/or allow text to scroll.

See attachment.

(Indirectly related to bug #662. Aside from the AOZ style, alert boxes should function as they do in a web browser.)


Files

Need_To_Wrap.png (89.9 KB) Need_To_Wrap.png Brian Flanagan, 02/16/2021 02:19 PM
Chrome_Alert_Scrolls.png (45.4 KB) Chrome_Alert_Scrolls.png Chrome alert() scrolls. Brian Flanagan, 02/16/2021 02:33 PM
Long_Text_Fail.png (185 KB) Long_Text_Fail.png Wraps on spaces but overflows vertically. Brian Flanagan, 02/16/2021 02:54 PM
Actions #1

Updated by Brian Flanagan almost 4 years ago

The alert in the snapshot was displayed by calling:
{ alert(Object.getOwnPropertyNames(aoz).toString()); }

Actions #2

Updated by Brian Flanagan almost 4 years ago

I'd recommend wrapping on space, comma, or dash (similar to how a text editor or word processor wraps).

(Perhaps on ; as well?)

Actions #3

Updated by Brian Flanagan almost 4 years ago

Apparently, the alerts DO already wrap on spaces only, however, if the text is too long, they'll overflow vertically instead of scrolling and/or resizing the box. (See attachment)

Actions #4

Updated by Brian Flanagan over 3 years ago

  • Assignee set to Baptiste Bideaux

Re-tested in 1.0.0 (B4). Still fails.
See also Bug #662, #666. Look at more detailed updates on bug #666.

Actions #5

Updated by Brian Flanagan over 3 years ago

  • Affected version changed from 1.0.0 (B3) to 1.0.0 (B4)
Actions #6

Updated by Brian Flanagan over 3 years ago

  • Status changed from New to Resolved

Re-tested in 1.0.0 (B5). WORKING! :-)

Actions #7

Updated by Brian Flanagan over 3 years ago

  • Status changed from Resolved to Feedback
  • Priority changed from Normal to High

Now it's even worse. The alert box fails entirely when in AOZ mode.
(It works fine in the web browser.)

{ alert(Object.getOwnPropertyNames(this)); }
Actions #8

Updated by Brian Flanagan about 3 years ago

  • Status changed from Feedback to Resolved
  • Target version set to 1.0.0 (B10) u16

Re-tested in 1.0.0 (B10) u16
Works!

Actions

Also available in: Atom PDF