[Bug 307691] New: Image Viewer does not open image from local directory (using DirModel)
Ruediger Gad
r.c.g at gmx.de
Mon Oct 1 22:18:07 UTC 2012
https://bugs.kde.org/show_bug.cgi?id=307691
Bug ID: 307691
Severity: normal
Version: unspecified
Priority: NOR
Assignee: active at kde.org
Summary: Image Viewer does not open image from local directory
(using DirModel)
Classification: Unclassified
OS: Linux
Reporter: r.c.g at gmx.de
Hardware: Other
Status: UNCONFIRMED
Component: General
Product: Active
On PlasmaActive (image:
basyskom-plasma-active-archos-gen9-omapfb-tablet-mer-testing-120921-1829.tar.bz)
it is not possible to open images from a local directory (e.g. mounted sd-card)
via the built-in image viewer.
Icons for the images are displayed. However, clicking on an image yields in a
black screen that shows "loading...".
The "image bar" at the bottom works.
When running the image viewer from the command line the error is as follows:
file:///usr/share/kde4/apps/plasma/packages/org.kde.active.imageviewerpart/contents/ui/ViewerPage.qml:218:
TypeError: Result of expression 'fileBrowserRoot.model.get' [undefined] is not
a function.
I assume the reason is that when navigating a local filesystem a DirModel (more
precisely KDirModel wrapped via DirModel in plasma-mobile) is used for
fileBrowserRoot.model.
However, there is no "get" method that can be invoked via QML.
Hence, the above error is occurs.
Reproducible: Always
Steps to Reproduce:
1. Open image viewer
2. Try to open an image from a local file and not the gallery.
Actual Results:
Black screen showing "loading..." is displayed.
Expected Results:
The selected image should be displayed.
--
You are receiving this mail because:
You are the assignee for the bug.
More information about the Active
mailing list