Skip to content
This repository has been archived by the owner on Jul 22, 2021. It is now read-only.

Message text not always completely visible #201

Open
DylanVanAssche opened this issue Jul 21, 2018 · 4 comments
Open

Message text not always completely visible #201

DylanVanAssche opened this issue Jul 21, 2018 · 4 comments
Labels
Milestone

Comments

@DylanVanAssche
Copy link
Owner

  1. What happens:

    • Message text not always completely visible
    • Copying the text is OK
    • Probably something in the QML code that prevents the message box to expand
  2. What was expected:

    • Message box is expanded and shows the complete message
  3. How to reproduce:

    1. Receive a message with a lot of characters
    2. Read it
    3. Only a couple of lines are visible
  4. Environment:

    • Sailfish OS version: 2.2.0.29
    • Sailfish OS hardware: Xperia X, Jolla 1
@Sikarjan
Copy link

Sikarjan commented Aug 16, 2019

I fixed this issue by changing the QML component from Label to Text and formatting the text as RichText. Then I put the message itself inside a <p></p> tag.
This solves the clipping but the messages overlay the header now. So I am not sure if this is a viable solution for you.

In the code I also saw that there should be checkmarks when a message is read. I never had those and they do not appear with the above solution.

@DylanVanAssche
Copy link
Owner Author

Have you tried to set the clip: true in the QML Text object?

@Sikarjan
Copy link

I just did my first commit on a clean copy. I hope that worked.

If there is a possibility to copy the login id so that on a second run I do net need to verify myself again, please explain how I could do that. It would make playing around with the code much easier for me.

@DylanVanAssche
Copy link
Owner Author

If you use a FB login, you can set that page as default, your credentials are remembered by FB.
In case of SMS, I don't have a fast solution. You could print the auth token (generated from the auth request with the SMS token as payload) and hardcode it. Disable the login page and you should be good to go.

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants