Shorts app mainview is broken on r162

Bug #1351057 reported by taiebot65
18
This bug affects 4 people
Affects Status Importance Assigned to Milestone
Ubuntu Shorts App
Fix Released
High
Joey Chan

Bug Description

mako #162 - #165

TEST CASE
1. Start Shorts from the app scope
2. Close it (right swipe to reveal the switcher and top or bottom swipe to close the app)
2. Start Shorts again

ACTUAL RESULT:
A picture is worth 1000 words.

cf screenshot attached or http://tinyurl.com/l65qlrx

Related branches

Revision history for this message
Joey Chan (qqworini) wrote :

what the ...

I never seen this before, even in development

Revision history for this message
Alan Pope 🍺🐧🐱 πŸ¦„ (popey) wrote :

I can't reproduce this either. Can you provide your list of feeds, perhaps there's something quirky in one of them?

Changed in ubuntu-rssreader-app:
status: New → Incomplete
Revision history for this message
Oliver Grawert (ogra) wrote :

i can only reproduce this the second time i open the app ... first time is fine it seems.

Revision history for this message
Alan Pope 🍺🐧🐱 πŸ¦„ (popey) wrote :

Confirmed, it happens with the default feeds, when opening a second time, thanks ogra.

Revision history for this message
Dave Morley (davmor2) wrote :

Confirming this happens if you open the app a second time

Changed in ubuntu-rssreader-app:
status: Incomplete → Confirmed
Revision history for this message
Jean-Baptiste Lallement (jibel) wrote :
description: updated
Changed in ubuntu-rssreader-app:
importance: Undecided → High
tags: added: qa-daily-testing rtm14
description: updated
description: updated
Revision history for this message
Alan Pope 🍺🐧🐱 πŸ¦„ (popey) wrote :
Download full text (7.0 KiB)

Here's the app log from my #165 phone..

phablet@ubuntu-phablet:~/.cache/upstart$ cat application-click-com.ubuntu.shorts_shorts_0.2.256.log
libust[6965/6967]: Error: Error opening shm /lttng-ust-wait-5 (in get_wait_shm() at lttng-ust-comm.c:886)
libust[6965/6967]: Error: Error opening shm /lttng-ust-wait-5 (in get_wait_shm() at lttng-ust-comm.c:886)
file:///usr/lib/arm-linux-gnueabihf/qt5/qml/Ubuntu/Components/Tabs.qml:341: TypeError: Cannot call method 'indexOf' of undefined
file:///usr/lib/arm-linux-gnueabihf/qt5/qml/Ubuntu/Components/ListItems/ValueSelector.qml:209:17: QML QQuickImage: Cannot open: file:///usr/lib/arm-linux-gnueabihf/qt5/qml/Ubuntu/Components/ListItems/artwork/ListItemProgressionArrow.png
ERROR: NO TAGS DATABASE
 (file:///usr/share/click/preinstalled/com.ubuntu.shorts/0.2.256/databasemodule_v2.js:498)
loadTags (file:///usr/share/click/preinstalled/com.ubuntu.shorts/0.2.256/databasemodule_v2.js:496)
reloadTopics (file:///usr/share/click/preinstalled/com.ubuntu.shorts/0.2.256/feeds/TopicManagement.qml:28)
onCompleted (file:///usr/share/click/preinstalled/com.ubuntu.shorts/0.2.256/feeds/TopicManagement.qml:22)
qml: db version: 1.2
qml: tag INSERT ID: 1
qml: dbResult.tagId 1
qml: feed INSERT ID: 1
qml: dbResult.feedId 1
qml: feed INSERT ID: 2
qml: dbResult.feedId 2
qml: feed_tag INSERT ID: 1
qml: feed_tag INSERT ID: 2
qml: tag INSERT ID: 2
qml: dbResult.tagId 2
qml: feed INSERT ID: 3
qml: dbResult.feedId 3
qml: feed INSERT ID: 4
qml: dbResult.feedId 4
qml: feed INSERT ID: 5
qml: dbResult.feedId 5
qml: feed_tag INSERT ID: 3
qml: feed_tag INSERT ID: 4
qml: feed_tag INSERT ID: 5
qml: REFRESH TOPIC 0
qml: feed SELECTED: 5
UbuntuWindow - regular geometry
qml: Whoops, null model in loadMoreItems
qml: Whoops, null model in loadMoreItems
qml: Whoops, null model in loadMoreItems
qml: Whoops, null model in loadMoreItems
UbuntuWindow::handleSurfaceFocusChange(focused=true)
UbuntuWindow::handleSurfaceResize(width=768, height=1226)
qml: Whoops, null model in loadMoreItems
qml: Whoops, null model in loadMoreItems
qml: feed updateFeedByXml, AFFECTED ROWS: 1
qml: -------- UPDATE INFO --------
qml: Ubuntu Developer http://developer.ubuntu.com http://developer.ubuntu.com/feed/ Bring your apps to Ubuntu
qml: preloadArticlesProperties: 0
qml: article delete, AFFECTED ROWS: 0
qml: feed updateFeedByXml, AFFECTED ROWS: 1
qml: -------- UPDATE INFO --------
qml: Design http://design.canonical.com http://design.canonical.com/feed/
qml: preloadArticlesProperties: 0
qml: article delete, AFFECTED ROWS: 0
qml: feed updateFeedByXml, AFFECTED ROWS: 1
qml: -------- UPDATE INFO --------
qml: Canonical Voices http://voices.canonical.com http://voices.canonical.com/feed/atom/
qml: preloadArticlesProperties: 0
qml: article delete, AFFECTED ROWS: 0
qml: feed updateFeedByXml, AFFECTED ROWS: 1
qml: -------- UPDATE INFO --------
qml: Ubuntu Insights https://insights.ubuntu.com http://insights.ubuntu.com/feed/
qml: preloadArticlesProperties: 0
qml: article delete, AFFECTED ROWS: 0
qml: feed updateFeedByXml, AFFECTED ROWS: 1
qml: -------- UPDATE INFO --------
qml: Canonical Blog http://blog.canonical.com http://blog.canonical.co...

Read more...

Revision history for this message
Alan Pope 🍺🐧🐱 πŸ¦„ (popey) wrote :

This seemed to break in r158

Revision history for this message
Alan Pope 🍺🐧🐱 πŸ¦„ (popey) wrote :
Revision history for this message
Alan Pope 🍺🐧🐱 πŸ¦„ (popey) wrote :
Revision history for this message
Roman Shchekin (mrqtros) wrote :

Try to delete all persistent data between first and second launch, please.

Revision history for this message
Alan Pope 🍺🐧🐱 πŸ¦„ (popey) wrote :

Ok, did the following:-

phablet-shell
$ rm -rf ./.local/share/com.ubuntu.shorts ./.cache/com.ubuntu.shorts ./.cache/upstart/*shorts*

Reboot phone

Start shorts - all okay
Kill shorts
 rm -rf ./.local/share/com.ubuntu.shorts ./.cache/com.ubuntu.shorts ./.cache/upstart/*shorts*
Start shorts - all okay

Revision history for this message
Joey Chan (qqworini) wrote :

ok ... I can reproduce this bug even in first launch ...
Seems this bug appears when the database has data

Revision history for this message
xreuze (xreuze) wrote : Re: [Bug 1351057] Re: Shorts app mainview is broken on r162

I am not sure ,

I hope when we have enough data to work on .py git hub to clean the old
with new ' image ' since we are
holding tomorrow as our aim. Some people are working on the needed.
World do not change with out a input. When you are ready to make tomorrow
better. Be so proud of it. We have enough to cut the bullshit.

I have lately been understanding about UX and unity tools. Well .py has a
lots to get over with. Openstack needs us to make it work.

What ever we do to correct is the right choices for tomorrow. Allow your
smile be awesome for i know how many crazy was it to be needed. Silo is a
good progress, the RTM's can make tomorrow own a better need.

Aim of X uniforms,, is where i can see better. We are so needed to make it
happen.

We are in right future for if we focus a more. We get there.

Qubits has already and will change the way we code.. Qt is not going away
soon, we embrace it for it is part of now. We need higher on how we handle
data for it makes us understand tomorrow needs.

Openstack how i wanna see it. Is a query to make it happen.

Many people that I think owns so many names. I know that bug landing with
same silly need not own
I hope that one day. I do owe you could become we make it better.

We know already, new or old i am not sure how .

Some times UI or explore is where we are..

I know Qubits will change a lots...

God be with us when we do..

ps.

On Fri, Aug 1, 2014 at 6:01 PM, Joey Chan <email address hidden> wrote:

> ok ... I can reproduce this bug even in first launch ...
> Seems this bug appears when the database has data
>
> --
> You received this bug notification because you are subscribed to Ubuntu
> Touch Core Apps.
> Matching subscriptions: Touch Core Apps Bugs, Unity 8
> https://bugs.launchpad.net/bugs/1351057
>
> Title:
> Shorts app mainview is broken on r162
>
> Status in RSS Feed Reader application for Ubuntu devices:
> Confirmed
>
> Bug description:
> mako #162 - #165
>
> TEST CASE
> 1. Start Shorts from the app scope
> 2. Close it (right swipe to reveal the switcher and top or bottom swipe
> to close the app)
> 2. Start Shorts again
>
> ACTUAL RESULT:
> A picture is worth 1000 words.
>
> cf screenshot attached or http://tinyurl.com/l65qlrx
>
> To manage notifications about this bug go to:
> https://bugs.launchpad.net/ubuntu-rssreader-app/+bug/1351057/+subscriptions
>

Revision history for this message
Joey Chan (qqworini) wrote :

I found this bug only affect "Shorts" tab and "Saved" tab, other tabs which from database are not affected

Revision history for this message
taiebot65 (dedreuil) wrote :

I have also some weird display issue in the music app also

http://tinyurl.com/o3ewntd if you look closely there is some lines appearing on the albums maybe this is linked.

Revision history for this message
Dave Morley (davmor2) wrote :

taiebot65 that's not a bug that denote that there is more than one album in the collection. It would also need to be filed against music app and not shorts.

Revision history for this message
Roman Shchekin (mrqtros) wrote :

Can't debug it... If I replace original Shorts with my debug version I always see that application DB is empty (second, third and so on launches work fine like first).

Placement algo wasn't changed by me or Joey about half of year, it always works fine, seems that something in SDK (or in OS itself) broken.

Revision history for this message
Joey Chan (qqworini) wrote :

I found a reason, Shorts it has a slot connect to App's sizeChanged signal, that means any size change event will triggered this slot function.

In console output I can see at least 4 times triggered (and do the same thing via the slot function)

No good workaround yet ...

Joey Chan (qqworini)
Changed in ubuntu-rssreader-app:
status: Confirmed → In Progress
assignee: nobody → Joey Chan (qqworini)
Revision history for this message
Ubuntu Phone Apps Jenkins Bot (ubuntu-phone-apps-jenkins-bot) wrote :

Fix committed into lp:ubuntu-rssreader-app at revision 278, scheduled for release in ubuntu-rssreader-app, milestone alpha-1

Changed in ubuntu-rssreader-app:
status: In Progress → Fix Committed
Changed in ubuntu-rssreader-app:
status: Fix Committed → Fix Released
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.