← Back to team overview

ubuntu-touch-coreapps team mailing list archive

Re: [DocViewer] No IRC meeting today. So lets discuss here instead

 

Hi Roman,

I've tried both windows Qt5 and Linux Qt5, same issue of Text component
showing <img> tag
There is a fact you should know, the Qt5's render system is different from
Qt4's, the Quick 2 use OpenGl ES to render all qml components, if this
issue may not be fixed in the future(maybe not this year), we still need a
solution for it.
Or ask help from Canonical or Digia.

:)


2013/3/17 Roman Shchekin <mrqtros@xxxxxxxxx>

> Hi All!
>
> Joey, I will not create any Image components myself,
> while ready component named Text should display simple HTML perfectly.
> And it displays normally all data in Qt4.8, so IT MUST work similarly on
> Qt5. MUST.
>
> And guys, look this branch:
> lp:~mrqtros/ubuntu-rssreader-app/appendsheet
> I've pushed first really working copy of our app.
> We can implement any new functionality on this code base,
> such as tags, different views, favorite news and so on.
>
> Feel free to ask any questions and propose your ideas and solutions!
> Thanks!
>
>
> 2013/3/17 Joey Chan <qqworini@xxxxxxxxx>
>
>> Hi Roman,
>>
>> This issue is already explained in Qt documents, you can find it in "Qt
>> Quick", my suggestion is separate the "<img>" tag from the string, then
>> show them in another "Image" component.
>>
>> Hope this helps you :)
>>
>>
>> 2013/3/17 Roman Shchekin <mrqtros@xxxxxxxxx>
>>
>>> Guys? We have a problem.
>>>
>>> I've tested simple code, like:
>>> Text {
>>> anchors.centerIn: parent
>>>   text: "Some text and <img src='/home/qtros/some_local_image.png'/>
>>> image"
>>> }
>>>
>>> Both on Qt4.8 and our Qt5-based Toolkit. Ubuntu Toolkit doesn't work!
>>> It displays only rectangle, filled with image's background color , but
>>> no image itself.
>>> So it is bug, which really stopped my development!
>>> Label functionality is quite enough to display simple entries, we
>>> definitely should use it.
>>>
>>> But I have good news too. Now I have a complete model of our application
>>> in my head.
>>> I understood, which databases we need, how our app will work and how we
>>> can
>>> introduce offline mode after developing online mode :)
>>> I will share my ideas with you all tomorrow!
>>>
>>>
>>> 2013/3/14 Roman Shchekin <mrqtros@xxxxxxxxx>
>>>
>>>> I will try to use few ways to display entries from RSS channel.
>>>> It will help me to understand which structure of database we need...
>>>>
>>>> But in free time, as you can see, I am continue working on basic UI.
>>>>
>>>>
>>>> 2013/3/14 Joey Chan <qqworini@xxxxxxxxx>
>>>>
>>>>> Hi Alan,
>>>>>
>>>>> I would like to share my opinion here: RSS app has two parts, one is
>>>>> UI, the other one is non-UI (:P, not kidding), both of them have something
>>>>> need to be done first: designs for UI and database for non-UI, almost every
>>>>> coding work depend on them, so I suggest the UI designs and the
>>>>> databse need to be priorities
>>>>>
>>>>>
>>>>> 2013/3/14 Alan Pope <alan.pope@xxxxxxxxxxxxx>
>>>>>
>>>>>> Hi,
>>>>>>
>>>>>> (You will see two of these mails, one for RSS Core App one for
>>>>>> Documentation Viewer Core App - this is intentional :) )
>>>>>>
>>>>>> As you may have seen we're having "Ubuntu SDK Days" today/tomorrow
>>>>>> which clashes with our recently scheduled RSS Core Apps Team meeting at
>>>>>> 20:30 UTC.
>>>>>>
>>>>>>
>>>>>> So rather than miss out, and in order to keep the momentum going,
>>>>>> we've moved the discussion to this list for this week only.
>>>>>>
>>>>>> The main points to cover are:-
>>>>>>
>>>>>> * Reviewing blueprint work items:-
>>>>>> https://blueprints.launchpad.**net/ubuntu-docviewer-app/+**
>>>>>> spec/initial-docviewer-**development<https://blueprints.launchpad.net/ubuntu-docviewer-app/+spec/initial-docviewer-development>
>>>>>>
>>>>>>   * We have all items assigned which is great.
>>>>>>   * Are the items still accurate?
>>>>>>   * Any questions regarding these item?
>>>>>> * Progress updates on assigned items
>>>>>>   * How is everyone getting on?
>>>>>>   * Any issues with SDK / documentation / tools / processes?
>>>>>>   * Any blockers we can help with?
>>>>>>   * Any prototypes / designs / mockups we can review?
>>>>>> * Any other questions / issues
>>>>>>
>>>>>> Speak up and we can move the Documentation Viewer core app forward! :D
>>>>>>
>>>>>>
>>>>>> Cheers,
>>>>>> --
>>>>>> Alan Pope
>>>>>> Engineering Manager
>>>>>>
>>>>>> Canonical - Product Strategy
>>>>>> +44 (0) 7973 620 164
>>>>>> alan.pope@xxxxxxxxxxxxx
>>>>>> http://ubuntu.com/
>>>>>>
>>>>>> --
>>>>>> Mailing list: https://launchpad.net/~ubuntu-**touch-coreapps<https://launchpad.net/~ubuntu-touch-coreapps>
>>>>>> Post to     : ubuntu-touch-coreapps@lists.**launchpad.net<ubuntu-touch-coreapps@xxxxxxxxxxxxxxxxxxx>
>>>>>> Unsubscribe : https://launchpad.net/~ubuntu-**touch-coreapps<https://launchpad.net/~ubuntu-touch-coreapps>
>>>>>> More help   : https://help.launchpad.net/**ListHelp<https://help.launchpad.net/ListHelp>
>>>>>>
>>>>>
>>>>>
>>>>> --
>>>>> Mailing list: https://launchpad.net/~ubuntu-touch-coreapps
>>>>> Post to     : ubuntu-touch-coreapps@xxxxxxxxxxxxxxxxxxx
>>>>> Unsubscribe : https://launchpad.net/~ubuntu-touch-coreapps
>>>>> More help   : https://help.launchpad.net/ListHelp
>>>>>
>>>>>
>>>>
>>>
>>
>

Follow ups

References