Closed Bug 831004 Opened 11 years ago Closed 11 years ago

STK GET_INPUT and GET_INKEY truncates displayed text

Categories

(Firefox OS Graveyard :: Gaia::Settings, defect)

ARM
Gonk (Firefox OS)
defect
Not set
normal

Tracking

(blocking-b2g:tef+, b2g18 fixed, b2g18-v1.0.0 fixed)

RESOLVED FIXED
blocking-b2g tef+
Tracking Status
b2g18 --- fixed
b2g18-v1.0.0 --- fixed

People

(Reporter: cyang, Assigned: frsela)

Details

(Whiteboard: [EU_TPE_TRIAGED], QARegressExclude)

Attachments

(1 file)

For GET_INPUT and GET_INKEY proactive commands, if the text to display is very long, the text gets truncated. For example: 

- TC 27.22.4.2.1.6 displays: Enter "x". This command ins...
- TC 27.22.4.3.1.8 displays: ***1111111111###***22222...

Daniel, thoughts on the display being truncated? Can GCF tests like these be passed/waived?
Flags: needinfo?(dcoloma)
What is the expected behaviour? Showing the entire message? How long these messages are?
Flags: needinfo?(dcoloma) → needinfo?(cyang)
(In reply to Daniel Coloma:dcoloma from comment #1)
> What is the expected behaviour? Showing the entire message? How long these
> messages are?

Daniel, these tests are meant to test the max length (160 characters) of the text string. Is showing a truncated message acceptable? Or would the preferred behavior be to show wrap-text?
Flags: needinfo?(cyang)
Assignee: nobody → pwang
Looks like a UI issue. Gaia people may able to get this fixed much sooner than I can. :)
Assignee: pwang → nobody
Assignee: nobody → frsela
I'll check it.

Carol, could you copy here the proactive command sent by the test?

Thanks in advance.
Flags: needinfo?(cyang)
Triage: blocks 808607. TEF+
blocking-b2g: tef? → tef+
Whiteboard: [EU_TPE_TRIAGED]
(In reply to Fernando R. Sela [:frsela] from comment #4)
> I'll check it.
> 
> Carol, could you copy here the proactive command sent by the test?
> 
> Thanks in advance.

Fernando, this is the proactive command for 27.22.4.3.1.8:

D081B18103012300820281828D81A1042A2A2A313131313131313131312323232A2A2A323232323232323232322323232A2A2A333333333333333333332323232A2A2A343434343434343434342323232A2A2A353535353535353535352323232A2A2A363636363636363636362323232A2A2A373737373737373737372323232A2A2A383838383838383838382323232A2A2A393939393939393939392323232A2A2A303030303030303030302323239102A0A0

FYI, in case you need the proactive command for any other GCF TC, you can find it in the 3GPP TS 51.010. Just look for the TC number in there and you should be able to see the corresponding PDU.
Flags: needinfo?(cyang)
Comment on attachment 702797 [details]
Allow text-overflow on STK INPUT title

r+ but add the style in a css file instead of inlining it.
Attachment #702797 - Flags: review?(21) → review+
(In reply to Vivien Nicolas (:vingtetun) (:21) from comment #8)
> Comment on attachment 702797 [details]
> Allow text-overflow on STK INPUT title
> 
> r+ but add the style in a css file instead of inlining it.

Styles in the CSS.

Landed - https://github.com/mozilla-b2g/gaia/commit/efaef57c2321972c4c3c73793dd2c3ca76f4b42a
Status: NEW → RESOLVED
blocking-b2g: tef+ → tef?
Closed: 11 years ago
Resolution: --- → FIXED
blocking-b2g: tef? → tef+
Landed on mozilla-b2g18/gaia master prior to the 1/25 branching to mozilla-b2g18_v1_0_0/v1.0.0, updating status-b2g-v1.0.0 to fixed.
Can you please provide steps to verify this fix - as we will blackbox test from the UI?  Thanks.
(In reply to John Hammink from comment #11)
> Can you please provide steps to verify this fix - as we will blackbox test
> from the UI?  Thanks.

Using a SIM card with a long text message into this kind of command.

Another way is to "simulate" the command (adding test code into system app) if you need it, I can send you a TEST patch
(In reply to John Hammink from comment #11)
> Can you please provide steps to verify this fix - as we will blackbox test
> from the UI?  Thanks.

Also: 
Same as in https://bugzilla.mozilla.org/show_bug.cgi?id=836135#c19 but change the command with this one:



          var cmd = {
            "commandNumber":1,
            "typeOfCommand":34,
            "commandQualifier":1,
            "options":{
              "text":"A really long text: 12345 67890 12345 67890 12345 67890 12345 67890 12345 67890 12345 67890 12345 67890 12345 67890 12345 67890 12345 67890 12345 67890 12345 67890 12345 67890 12345 67890 12345 67890 12345 67890 12345 67890 12345 67890 12345 67890 12345 67890",
              "minLength":1,
              "maxLength":10,
              "defaultText":"",
              "isAlphabet":false
            }
Whiteboard: [EU_TPE_TRIAGED] → [EU_TPE_TRIAGED], QARegressExclude
No need to create a TC in Moztrap for this defect.
Flags: in-moztrap-
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: