[prev in list] [next in list] [prev in thread] [next in thread] 

List:       kde-active
Subject:    [Bug 307691] New: Image Viewer does not open image from local directory (using DirModel)
From:       Ruediger Gad <r.c.g () gmx ! de>
Date:       2012-10-01 22:18:07
Message-ID: bug-307691-152164 () http ! bugs ! kde ! org/
[Download RAW message or body]

https://bugs.kde.org/show_bug.cgi?id=307691

            Bug ID: 307691
          Severity: normal
           Version: unspecified
          Priority: NOR
          Assignee: active@kde.org
           Summary: Image Viewer does not open image from local directory
                    (using DirModel)
    Classification: Unclassified
                OS: Linux
          Reporter: r.c.g@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.
_______________________________________________
Active mailing list
Active@kde.org
https://mail.kde.org/mailman/listinfo/active


[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic