Bug 335633 - Blank preview in System Settings -> Window Behavior -> Task Switcher
Summary: Blank preview in System Settings -> Window Behavior -> Task Switcher
Status: RESOLVED WORKSFORME
Alias: None
Product: kwin
Classification: Plasma
Component: tabbox (show other bugs)
Version: git master
Platform: unspecified Linux
: NOR normal
Target Milestone: 5
Assignee: KWin default assignee
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2014-06-01 01:49 UTC by André Marcelo Alvarenga
Modified: 2014-07-20 16:07 UTC (History)
0 users

See Also:
Latest Commit:
Version Fixed In:


Attachments
Screenshot (107.94 KB, image/png)
2014-06-01 01:50 UTC, André Marcelo Alvarenga
Details
systemsettings.fileaccess (2.66 KB, application/octet-stream)
2014-06-12 19:13 UTC, André Marcelo Alvarenga
Details
kcmshell4 kwintabbox (134.08 KB, image/png)
2014-06-13 20:28 UTC, André Marcelo Alvarenga
Details

Note You need to log in before you can comment on or make changes to this bug.
Description André Marcelo Alvarenga 2014-06-01 01:49:32 UTC
See screenshot.

This happen when I click on preview button.

Reproducible: Always




* KDE 4.x is OK.
* Using Neon5.
Comment 1 André Marcelo Alvarenga 2014-06-01 01:50:31 UTC
Created attachment 86932 [details]
Screenshot
Comment 2 Martin Flöser 2014-06-01 11:42:45 UTC
works for me. How old is your neon5 setup?
Comment 3 André Marcelo Alvarenga 2014-06-01 12:43:47 UTC
(In reply to comment #2)
> works for me. How old is your neon5 setup?

I updated it yesterday when I took the screenshot. I tried to update today, but it didn't start anymore. (KDialog crashes)
Comment 4 André Marcelo Alvarenga 2014-06-12 02:12:28 UTC
I have tested again with Neon 5 201406101419 and I can reproduce in three notebooks (USB and VirtualBox instalations). Two notebooks with Intel Graphics card and one with Nvidia.
Comment 5 Martin Flöser 2014-06-12 05:22:21 UTC
is it always neon? Maybe something is broken in neon...
Comment 6 Thomas Lübking 2014-06-12 05:31:00 UTC
run systemsettings from konsole, there should be some qml error about non locatable files?

if not:

   strace systemsettings 2>&1 | grep -E '(stat|open)' | grep -i 'qml' | tee systemsettings.fileaccess

-> attach systemsettings.fileaccess
Comment 7 André Marcelo Alvarenga 2014-06-12 19:13:07 UTC
Created attachment 87151 [details]
systemsettings.fileaccess

@Thomas Lübking
File attached.

@Martin Gräßlin
No. I have tested with Fedora too. 
http://dvratil.fedorapeople.org/kde5/iso
Comment 8 Thomas Lübking 2014-06-12 19:43:50 UTC
Those files are tried:

/home/usuario/.project-neon5-kde//local/share/kwin/tabbox/small_icons/contents/ui/main.qml
/opt/project-neon5/share/kwin/tabbox/small_icons/contents/ui/main.qml

but are both ENOENT (don't exist) - where are they actually installed?
Comment 9 André Marcelo Alvarenga 2014-06-12 21:40:53 UTC
(In reply to comment #8)
> Those files are tried:
> 
> /home/usuario/.project-neon5-kde//local/share/kwin/tabbox/small_icons/
> contents/ui/main.qml
> /opt/project-neon5/share/kwin/tabbox/small_icons/contents/ui/main.qml
> 
> but are both ENOENT (don't exist) - where are they actually installed?

usuario@usuario-VirtualBox:~/.project-neon5-kde/local/share$ locate kwin/tabbox/small_icons
/opt/project-neon5/share/kwin/tabbox/small_icons
/opt/project-neon5/share/kwin/tabbox/small_icons/contents
/opt/project-neon5/share/kwin/tabbox/small_icons/metadata.desktop
/opt/project-neon5/share/kwin/tabbox/small_icons/contents/ui
/opt/project-neon5/share/kwin/tabbox/small_icons/contents/ui/IconTabBox.qml
/opt/project-neon5/share/kwin/tabbox/small_icons/contents/ui/main.qml

No   /kwin/tabbox/small_icons/   structure in home folder.
Comment 10 Thomas Lübking 2014-06-12 23:23:01 UTC
Sorry, my bad. I was on the jump and looked to brief.
Just saw only stat on the left and plenty ENOENT in the right.

The /opt files are however stat'ed and available, but no main.qml is ever opened (unlike libQt5Qml.so.5, why I expected to see opens on the left)

=> the required files are there and looked up, but for some reason not even tried to be opened (and it's not a permission issue. they're 644)
Comment 11 Martin Flöser 2014-06-13 06:50:58 UTC
give a try to run kcmshell5 from a terminal and watch for debug output:

kcmshell5 kwintabbox

I tried again on several systems and it's working for me *shrug*
Comment 12 André Marcelo Alvarenga 2014-06-13 20:28:46 UTC
Created attachment 87172 [details]
kcmshell4 kwintabbox

(In reply to comment #11)
> give a try to run kcmshell5 from a terminal and watch for debug output:
> 
> kcmshell5 kwintabbox
> 
> I tried again on several systems and it's working for me *shrug*

No kcmshell5 in Neon 20140610  (packages: http://neon.blue-systems.com/live-iso/unstable/neon5-201406101459.manifest)

Screenshot running kcmshell4.
Comment 13 Martin Flöser 2014-06-13 20:57:07 UTC
right, the package is still missing. Please try again once it's available.
Comment 14 André Marcelo Alvarenga 2014-07-04 21:05:43 UTC
(In reply to comment #13)
> right, the package is still missing. Please try again once it's available.

usuario@usuario-VirtualBox:~$ kcmshell5 kwintabbox
"Theme tree: (Breeze)"
Trying to open ksycoca from "/home/usuario/.project-neon5-kde//cache/ksycoca5"
libGL error: failed to authenticate magic 8
libGL error: failed to load driver: vboxvideo
load shortcut for  "Walk Through Windows"
load shortcut for  "Walk Through Windows (Reverse)"
load shortcut for  "Walk Through Windows of Current Application"
load shortcut for  "Walk Through Windows of Current Application (Reverse)"
load shortcut for  "Walk Through Windows Alternative"
load shortcut for  "Walk Through Windows Alternative (Reverse)"
load shortcut for  "Walk Through Windows of Current Application Alternative"
load shortcut for  "Walk Through Windows of Current Application Alternative (Reverse)"
Available methods:  ("Stat", "FAM", "INotify", "QFileSystemWatcher") preferred= INotify
Added File "/home/usuario/.project-neon5-kde//config/plasmarc" NotExisting for "" ["KDirWatch-1"]
Added Dir "/home/usuario/.project-neon5-kde/config" for "/home/usuario/.project-neon5-kde//config/plasmarc" [""]
Added File "/opt/project-neon5/share/plasma/desktoptheme/default/metadata.desktop" for "" ["KDirWatch-1"]
Could not attach Keys property to:  PlasmaQuick::Dialog_QML_0(0x8458e90)  is not an Item
Comment 15 Martin Flöser 2014-07-05 06:23:39 UTC
> libGL error: failed to load driver: vboxvideo

This might be relevant. I'd assume it's falling back to llvmpipe which is probably not supported.

> Could not attach Keys property to: PlasmaQuick::Dialog_QML_0(0x8458e90) is not an Item

This could indicate a bug in our code. Unfortunately my setup is a little bit broken right now...
Comment 16 André Marcelo Alvarenga 2014-07-20 14:30:10 UTC
I have tested again with Neon 5 201407181146.
It's working now.

----

usuario@usuario-VirtualBox:~$ kcmshell5 kwintabbox
"Theme tree: (Breeze)"
Trying to open ksycoca from "/home/usuario/.project-neon5-kde//cache/ksycoca5"
load shortcut for  "Walk Through Windows"
load shortcut for  "Walk Through Windows (Reverse)"
load shortcut for  "Walk Through Windows of Current Application"
load shortcut for  "Walk Through Windows of Current Application (Reverse)"
load shortcut for  "Walk Through Windows Alternative"
load shortcut for  "Walk Through Windows Alternative (Reverse)"
load shortcut for  "Walk Through Windows of Current Application Alternative"
load shortcut for  "Walk Through Windows of Current Application Alternative (Reverse)"
Available methods:  ("Stat", "FAM", "INotify", "QFileSystemWatcher") preferred= INotify
Added File "/home/usuario/.project-neon5-kde//config/plasmarc" NotExisting for "" ["KDirWatch-1"]
Added Dir "/home/usuario/.project-neon5-kde/config" for "/home/usuario/.project-neon5-kde//config/plasmarc" [""]
Added File "/opt/project-neon5/share/plasma/desktoptheme/default/metadata.desktop" for "" ["KDirWatch-1"]
Comment 17 Martin Flöser 2014-07-20 16:07:09 UTC
cool, thanks for testing again. I'll mark the bug as worksforme as it seems to work again :-)