Summary: | black screen after searching for image in active image viewer | ||
---|---|---|---|
Product: | [Plasma] Active | Reporter: | Fania Bremmer <fania.bremmer> |
Component: | Applications | Assignee: | active |
Status: | RESOLVED FIXED | ||
Severity: | normal | CC: | javier, lamarque |
Priority: | NOR | ||
Version: | unspecified | ||
Target Milestone: | unscheduled | ||
Platform: | Unlisted Binaries | ||
OS: | Linux | ||
Latest Commit: | Version Fixed In: |
Description
Fania Bremmer
2011-12-01 15:16:37 UTC
Already fixed on 2011-12-06-18-24-basyskom-plasma-active-devel-meego-usb-live.iso I still can reproduce this problem in 2011-12-06-18-24-basyskom-plasma-active-devel-meego-usb-live.iso here. I spent most of yesterday trying to fix this problem but no real solution yet. The only thing I have found that could prevent it is resetting the query string in the MetadataModel used to search for images in nepomuk. It seems the mainImage element (a QML Image element) in plasma-mobile/applications/imageviewer/package/contents/ui/FullScreenDelegate.qml does not reset its source property when clicking on the back button. The backIcon button's onClick slot resets resourceInstance.uri to "" and that should do the trick but it does not. I am trying to figure out why. Oops :) I can only reproduce it with "Concept_Active.jpg" It works fine with the rest demo images. I can reproduce it with any image :-/ I notice another problem: the search box is case sensitive. Just search for the word "active". It should return "active_routes.png" and "Concept_Active.jpg", it returns only the first one. Git commit cd920e79f8ffbcc7127fd5a6af757221dd65620a by Lamarque V. Souza. Committed on 07/12/2011 at 16:25. Pushed by lvsouza into branch 'master'. Do not try to load an empty mainImage.source or it will mess up with mainImage.scale and make the next valid url fail to load. BUG: 287991 M +3 -1 applications/imageviewer/package/contents/ui/FullScreenDelegate.qml http://commits.kde.org/plasma-mobile/cd920e79f8ffbcc7127fd5a6af757221dd65620a Git commit f706c1bb152c85d4deeab5de652ce27f2a979251 by Lamarque V. Souza. Committed on 07/12/2011 at 17:33. Pushed by lvsouza into branch 'master'. Hide "Loading..." text even with invalid Image.source or it will appear next time a valid Image.source is loaded. CCBUG: 287991 M +8 -3 applications/imageviewer/package/contents/ui/FullScreenDelegate.qml http://commits.kde.org/plasma-mobile/f706c1bb152c85d4deeab5de652ce27f2a979251 |