linuxdeepin / developer-center

Deepin developer center, provide developer wiki and community forum.
451 stars 73 forks source link

[Gentoo Linux] File manager don't show picture and document thumbnails #950

Closed inpos closed 3 years ago

inpos commented 5 years ago

Describe the bug

File manager show thumbnails for video only. Pictures and documents thumbnails don't appear. File icons are displayed instead.

To Reproduce

Steps to reproduce the behavior:

  1. Open File Manager
  2. Go to pictures folder

Expected behavior

Show picture and document thumbnails

Enviroments:

Distro & Version

Gentoo amd64 Portage profile - default/linux/amd64/17.0/desktop/plasma/systemd Overlay - https://github.com/gentoo-mirror/deepin.git

Related package version

dde-file-manager v1.7 (4.7.7)

Additional context

BLumia commented 5 years ago

Hi, could you try launch dde-file-manager from terminal, open your folder which contains picture files and close the file manager, then provide the log from terminal? Thanks a lot!

Not sure but maybe it's something wrong with DThumbnailProvider.

inpos commented 5 years ago

Hi, @BLumia Here the output:

inpos@inpos-hpe ~ $ dde-file-manager
qt5ct: using qt5ct plugin
translatePath after feedback: "/usr/share/dtkwidget/translations/dtkwidget2_ru"
translatePath after feedback: "/usr/share/dde-file-manager/translations/dde-file-manager_ru"
translatePath after feedback: "/usr/share/dde-file-manager/translations/dde-file-manager-app_ru"
2019-03-09, 09:55:54.499 [Debug  ] [filemanagerapp.cpp   FileManagerApp::initApp             88] QMap(("BOOT_IMAGE", ".16-gentoo")("_ori_proc_cmdline", "BOOT_IMAGE=/@/vmlinuz-4.19.16-gentoo root=ZFS=/ROOT/gentoo ro zfs.zfs_vdev_scheduler=mq-deadline zfs.zfs_arc_max=1073741824 root=ZFS=rpool/ROOT/gentoo quiet splash\n")("quiet", "")("ro", "")("root", "ntoo")("splash", "")("zfs.zfs_arc_max", "_max=1073741824")("zfs.zfs_vdev_scheduler", "_scheduler=mq-deadline"))
2019-03-09, 09:55:54.501 [Debug  ] [pluginmanager.cpp    PluginManager::loadPlugin           73] "/usr/lib64/dde-file-manager/plugins"
2019-03-09, 09:55:54.501 [Debug  ] [pluginmanager.cpp    PluginManager::loadPlugin           77] load plugin in:  "/usr/lib64/dde-file-manager/plugins/menu"
2019-03-09, 09:55:54.501 [Debug  ] [pluginmanager.cpp    PluginManager::loadPlugin           77] load plugin in:  "/usr/lib64/dde-file-manager/plugins/view"
2019-03-09, 09:55:54.501 [Debug  ] [pluginmanager.cpp    PluginManager::loadPlugin           77] load plugin in:  "/usr/lib64/dde-file-manager/plugins/preview"
2019-03-09, 09:55:54.501 [Debug  ] [pluginmanager.cpp    PluginManager::loadPlugin           112] menu plugin size: 0
2019-03-09, 09:55:54.501 [Debug  ] [pluginmanager.cpp    PluginManager::loadPlugin           113] expand info size: 0
2019-03-09, 09:55:54.501 [Debug  ] [pluginmanager.cpp    PluginManager::loadPlugin           114] view size: 0
2019-03-09, 09:55:54.502 [Debug  ] [pluginmanager.cpp    PluginManager::loadPlugin           73] "/usr/lib64/dde-file-manager/plugins"
2019-03-09, 09:55:54.502 [Debug  ] [pluginmanager.cpp    PluginManager::loadPlugin           77] load plugin in:  "/usr/lib64/dde-file-manager/plugins/menu"
2019-03-09, 09:55:54.502 [Debug  ] [pluginmanager.cpp    PluginManager::loadPlugin           77] load plugin in:  "/usr/lib64/dde-file-manager/plugins/view"
2019-03-09, 09:55:54.502 [Debug  ] [pluginmanager.cpp    PluginManager::loadPlugin           77] load plugin in:  "/usr/lib64/dde-file-manager/plugins/preview"
2019-03-09, 09:55:54.502 [Debug  ] [pluginmanager.cpp    PluginManager::loadPlugin           112] menu plugin size: 0
2019-03-09, 09:55:54.502 [Debug  ] [pluginmanager.cpp    PluginManager::loadPlugin           113] expand info size: 0
2019-03-09, 09:55:54.502 [Debug  ] [pluginmanager.cpp    PluginManager::loadPlugin           114] view size: 0
2019-03-09, 09:55:54.526 [Debug  ] [networkmanager.cpp   NetworkManager::NetworkManager      113] Create NetworkManager
2019-03-09, 09:55:54.527 [Debug  ] [secretmanager.cpp    SecretManager::SecretManager        41] Create SecretManager
2019-03-09, 09:55:54.527 [Debug  ] [fileutils.cpp        FileUtils::migrateConfigFileFromCache 981] Could not read source file  "/home/inpos/.cache/dde-file-manager/samba.json" : "No such file or directory"
2019-03-09, 09:55:54.527 [Debug  ] [fileutils.cpp        FileUtils::migrateConfigFileFromCache 985] Failed to migrate config file from cache
2019-03-09, 09:55:54.527 [Debug  ] [secretmanager.cpp    SecretManager::loadCache            162] Couldn't write samba file!
2019-03-09, 09:55:54.532 [Debug  ] [appcontroller.cpp    AppController::createDBusInterface::lambda 928] com.deepin.SessionManager : StartManager has LaunchApp interface
2019-03-09, 09:55:57.918 [Warning] [dthememanager.cpp    Dtk::Widget::DThemeManagerPrivate::registerWidget 264] can not load qss with out filename dde_file_manager::DFMSideBar(0x563ed6b2c040)
2019-03-09, 09:55:57.919 [Warning] [                                                         0] QLayout: Attempting to add QLayout "" to DFileManagerWindow "", which already has a layout
2019-03-09, 09:55:57.922 [Warning] [                                                         0] QLayout: Attempting to add QLayout "" to dde_file_manager::DFMAdvanceSearchBar "", which already has a layout
2019-03-09, 09:55:58.007 [Warning] [                                                         0] QObject::connect: Cannot connect Dtk::Widget::DTitlebar::minimumClicked() to (null)::showMinimized()
2019-03-09, 09:55:58.007 [Warning] [                                                         0] QObject::connect: Cannot connect Dtk::Widget::DTitlebar::maximumClicked() to (null)::showMaximized()
2019-03-09, 09:55:58.008 [Warning] [                                                         0] QObject::connect: Cannot connect Dtk::Widget::DTitlebar::restoreClicked() to (null)::showNormal()
2019-03-09, 09:55:58.008 [Warning] [                                                         0] QObject::connect: Cannot connect Dtk::Widget::DTitlebar::closeClicked() to (null)::close()
2019-03-09, 09:55:58.023 [Debug  ] [computerview.cpp     ComputerView::volumeAdded           857] ===========volumeAdded============= "/" false false
2019-03-09, 09:55:58.023 [Debug  ] [computerview.cpp     ComputerView::volumeAdded           858] QDiskInfo(id: "/",name: "Системный Диск",type: "native",drive_unix_device: "",unix_device: "",uuid: "",activation_root_uri: "",mounted_root_uri: "/",id_filesystem: "",default_location: "",iconName: "",is_removable: false,can_mount: false,can_unmount: false,can_eject: false,used: 28786425856,total: 43243143168,)
2019-03-09, 09:55:58.041 [Debug  ] [partition.cpp        PartMan::Partition::getPartitionByDevicePath 99] false "" "lsblk: : не блочное устройство\n"
2019-03-09, 09:55:58.142 [Debug  ] [windowmanager.cpp    WindowManager::showNewWindow        185] new window 79691786 DUrl("computer:///")
2019-03-09, 09:55:58.155 [Debug  ] [mimesappsmanager.cpp MimesAppsManager::initMimeTypeApps  612] getMimeTypeApps in QThread(0x563ed682d790) QThread(0x563ed667d5d0)
2019-03-09, 09:55:58.155 [Debug  ] [mimesappsmanager.cpp MimesAppsManager::loadDDEMimeTypes  749] ()
2019-03-09, 09:56:00.856 [Warning] [dthememanager.cpp    Dtk::Widget::DThemeManagerPrivate::registerWidget 264] can not load qss with out filename Dtk::Widget::DListView(0x563ed691b960)
2019-03-09, 09:56:00.927 [Debug  ] [dfileview.cpp        DFileView::setRootUrl               2077] cd: current url: DUrl("") to url: DUrl("file:///home/inpos/Изображения")
inpos@inpos-hpe ~ $
justforlxz commented 3 years ago

Sorry, this issue will be closed soon. If it is necessary to discuss it again, please create a new issue.