Dialog doesn't fit Page

Bug #1349945 reported by Roman Shchekin on 2014-07-29
12
This bug affects 2 people
Affects Status Importance Assigned to Milestone
ubuntu-ui-toolkit (Ubuntu)
Critical
Meghana vk
ubuntu-ui-toolkit (Ubuntu RTM)
Undecided
Unassigned

Bug Description

Sometimes Dialog doesn't fit Page, see screenshot
https://yadi.sk/i/7wUC4aCAYMXvp
In that Page there are 2 views - ListView and GridView. When ListView is used, Page's "flickable" is set to that ListView. When GridView is used, Page's "flickable" is set to null. At that moment bug appears.

Toolkit v14.10-dev2
Doesn't appear on Desktop 14.04

Changed in ubuntu-ui-toolkit:
assignee: nobody → Zoltan Balogh (bzoltan)
importance: Undecided → Critical
status: New → Confirmed
tags: added: rtm14
Revision history for this message
Roman Shchekin (mrqtros) wrote :

It's good that you decided its importance!
Will be happy to see this fixed ;)

Zoltan Balogh (bzoltan) on 2014-10-01
Changed in ubuntu-ui-toolkit:
assignee: Zoltan Balogh (bzoltan) → Tim Peeters (tpeeters)
Revision history for this message
Tim Peeters (tpeeters) wrote :

I don't understand the bug. What is wrong with what's shown in the screenshot?

How is a Dialog related to the List/GridView of a Page? Can you try to explain and include sample code? Thanks

Tim Peeters (tpeeters) on 2014-10-01
Changed in ubuntu-ui-toolkit:
status: Confirmed → Incomplete
Zoltan Balogh (bzoltan) on 2014-10-01
Changed in ubuntu-ui-toolkit:
milestone: none → 10.09
Revision history for this message
Roman Shchekin (mrqtros) wrote :

Tim, big gap on the bottom is unwanted. On desktop the same dialog fits whole space of page.

Revision history for this message
Zsombor Egri (zsombi) wrote :

Roman, from the image, it is not clear whether the "big gap on the bottom" is actually drawn with that com or or is it shaded out like the rest of the screen. It would be nice if you could add a sample code which reproduces it.

Revision history for this message
Jonas G. Drange (jonas-drange) wrote :

Hi Roman, I have created bug 1376763 which tries to describe what happens when a Dialog's contents is larger than the viewport (in terms of height).

At first I thought your bug described the same problem, but right now I am a bit unsure.

What do you mean by "When ListView is used" and "At that moment bug appears."? Could you provide a small code example that reproduces this?

Tim Peeters (tpeeters) on 2014-10-02
Changed in ubuntu-ui-toolkit:
assignee: Tim Peeters (tpeeters) → Zsombor Egri (zsombi)
tags: removed: rtm14
Revision history for this message
Roman Shchekin (mrqtros) wrote :

Zsombor here you are:
https://yadi.sk/i/qdQF3I1HbpHDM
I hope it's clear where is the bug :D

I'll try to provide code sample later, but let me exaplain first: bug is related to the Page's "flickable" property. If you set it dynamically, dialog can display its content in the wrong way.

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

Jonas, I think that our bugs are different.

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

Try to play with this example:

https://yadi.sk/d/NmUKxApDbpJJx

Zoltan Balogh (bzoltan) on 2014-10-13
Changed in ubuntu-ui-toolkit:
milestone: 10.09 → 11.21
Zoltan Balogh (bzoltan) on 2014-11-24
Changed in ubuntu-ui-toolkit (Ubuntu):
assignee: nobody → Zsombor Egri (zsombi)
importance: Undecided → Critical
status: New → Incomplete
Zoltan Balogh (bzoltan) on 2014-11-24
no longer affects: ubuntu-ui-toolkit
Meghana vk (vkmegha57) on 2015-10-15
Changed in ubuntu-ui-toolkit (Ubuntu):
assignee: Zsombor Egri (zsombi) → Meghana vk (vkmegha57)
To post a comment you must log in.
This report contains Public information  Edit
Everyone can see this information.

Other bug subscribers