[ResIndep] BorderImage source error using double-quotes and various grid unit sizes
Bug #1080719 reported by
Gerry Boland
This bug affects 1 person
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
Ubuntu UI Toolkit |
Fix Released
|
High
|
Florian Boucault | ||
ubuntu-ui-toolkit (Ubuntu) |
Fix Released
|
Undecided
|
Unassigned | ||
Raring |
Won't Fix
|
Undecided
|
Unassigned |
Bug Description
Check out lp:~gerboland/manhattan/border-image-res-indep
There I'm playing with BorderImage and Resolution Independence. Run
$ qmlscene test-with-sci.qml
and you see white rectangle with colourful 1 pixel border - is fine. Now run with
$ GRID_UNIT_PX=18 qmlscene test-with-sci.qml
and you get this error:
QML QQuickBorderImage: Failed to get image from provider: image:/
I specify the border image in b0rderImage.sci, using double-quotes around the source filename, as usual. Seems double-quotes break this when using res indep. Removing quotes is a workaround for now.
Related branches
lp://staging/~fboucault/ubuntu-ui-toolkit/support_quotes_in_sci
- Gerry Boland (community): Approve
- PS Jenkins bot: Approve (continuous-integration)
-
Diff: 55 lines (+16/-4)4 files modifiedmodules/Ubuntu/Components/plugin/ucqquickimageextension.cpp (+13/-1)
tests/unit/tst_qquick_image_extension/borderInName.sci (+1/-1)
tests/unit/tst_qquick_image_extension/test@18.sci (+1/-1)
tests/unit/tst_qquick_image_extension/tst_qquick_image_extension.cpp (+1/-1)
Changed in tavastia: | |
status: | New → Confirmed |
importance: | Undecided → High |
assignee: | nobody → Florian Boucault (fboucault) |
Changed in tavastia: | |
status: | Confirmed → Triaged |
information type: | Proprietary → Public |
affects: | tavastia → ubuntu-ui-toolkit |
Changed in ubuntu-ui-toolkit: | |
status: | Triaged → In Progress |
Changed in ubuntu-ui-toolkit: | |
status: | Fix Committed → Fix Released |
To post a comment you must log in.
Fix committed into lp:ubuntu-ui-toolkit at revision 479, scheduled for release in ubuntu-ui-toolkit, milestone Unknown