Summary: | Kate uses default Qt File Dialog *not KDE file dialog* which breaks tons of features, including KIO | ||
---|---|---|---|
Product: | [Applications] kate | Reporter: | Marvin Jens <mjens> |
Component: | application | Assignee: | KWrite Developers <kwrite-bugs-null> |
Status: | RESOLVED FIXED | ||
Severity: | major | CC: | greg, kare.sars, lueck, tterranigma |
Priority: | NOR | ||
Version: | 16.04.1 | ||
Target Milestone: | --- | ||
Platform: | Ubuntu | ||
OS: | Linux | ||
Latest Commit: | Version Fixed In: | ||
Attachments: |
full stderr output after running kate with QT_DEBUG_PLUGINS=1
full stderr output after running gwenview with QT_DEBUG_PLUGINS=1 |
Description
Marvin Jens
2016-09-13 22:14:13 UTC
Thanks for the report. Are you running Plasma5 or some other DE? Ubuntu 16.04.1 LTS + Plasma 5.6.5 + Frameworks 5.23 + kate 15.12.3 VM with neo-devedition-gitstable Frameworks 5.27.0 Kate 16.08.1 Plasma 5.7.5 Shows KDE File Dialog and is OK Running Plasma desktop (5.6.5) here. Refraining from re-installing neon, though. I'd prefer staying on LTS. Created attachment 101104 [details]
full stderr output after running kate with QT_DEBUG_PLUGINS=1
export QT_DEBUG_PLUGINS=1
kate 2> ~/kate_QT_DEBUG_PLUGINS.log
Created attachment 101105 [details]
full stderr output after running gwenview with QT_DEBUG_PLUGINS=1
export QT_DEBUG_PLUGINS=1
gwenview 2> ~/gwenview_QT_DEBUG_PLUGINS.log
I ran kate (file->open), which shows the Qt File Dialog, and gwenview (file->open), which shows the KDE File Dialog, from command line after setting QT_DEBUG_PLUGINS=1. They both load KdePlatformThemePlugin (if that's the one I should be looking for?) grep className ~/kate_QT_DEBUG_PLUGINS.log | sort | uniq "className": "AppMenuPlatformThemePlugin", "className": "CloseExceptPluginFactory", "className": "EPSPlugin", "className": "EXRPlugin", "className": "KateBtBrowserFactory", "className": "KateBuildPluginFactory", "className": "KateCTagsPluginFactory", "className": "KateFileBrowserPluginFactory", "className": "KateFileTreeFactory", "className": "KateKonsolePluginFactory", "className": "KateOpenHeaderFactory", "className": "KatePluginGDBFactory", "className": "KatePluginSearchFactory", "className": "KatePluginSymbolViewerFactory", "className": "KateProjectPluginFactory", "className": "KateReplicodePluginFactory", "className": "KateSnippetsPluginFactory", "className": "KateSQLFactory", "className": "KdePlatformThemePlugin", "className": "KonsolePartFactory", "className": "KraPlugin", "className": "KTERustCompletionPluginFactory", "className": "KWaylandPlugin", "className": "LumenPluginFactory", "className": "OraPlugin", "className": "PCXPlugin", "className": "PluginKateXMLToolsFactory", "className": "PSDPlugin", "className": "QComposePlatformInputContextPlugin", "className": "QDDSPlugin", "className": "QEglFSIntegrationPlugin", "className": "QGifPlugin", "className": "QIbusPlatformInputContextPlugin", "className": "QICNSPlugin", "className": "QICOPlugin", "className": "QJp2Plugin", "className": "QJpegPlugin", "className": "QLinuxFbIntegrationPlugin", "className": "QMinimalEglIntegrationPlugin", "className": "QMinimalIntegrationPlugin", "className": "QMngPlugin", "className": "QOffscreenIntegrationPlugin", "className": "QSvgIconPlugin", "className": "QSvgPlugin", "className": "QTgaPlugin", "className": "QTiffPlugin", "className": "QWaylandIntegrationPlugin", "className": "QWbmpPlugin", "className": "QWebpPlugin", "className": "QXcbEglIntegrationPlugin", "className": "QXcbGlxIntegrationPlugin", "className": "QXcbIntegrationPlugin", "className": "RASPlugin", "className": "RGBPlugin", "className": "SoftimagePICPlugin", "className": "StylePlugin", "className": "TabSwitcherPluginFactory", "className": "TextFilterPluginFactory", "className": "TGAPlugin", "className": "WaylandPlugin", "className": "X11Plugin", "className": "XCFPlugin", grep className ~/gwenview_QT_DEBUG_PLUGINS.log | sort | uniq "className": "AppMenuPlatformThemePlugin", "className": "EPSPlugin", "className": "EXRPlugin", "className": "KdePlatformThemePlugin", "className": "KIOPluginForMetaData", "className": "KraPlugin", "className": "OraPlugin", "className": "PCXPlugin", "className": "PSDPlugin", "className": "QComposePlatformInputContextPlugin", "className": "QDDSPlugin", "className": "QEglFSIntegrationPlugin", "className": "QGifPlugin", "className": "QIbusPlatformInputContextPlugin", "className": "QICNSPlugin", "className": "QICOPlugin", "className": "QJp2Plugin", "className": "QJpegPlugin", "className": "QLinuxFbIntegrationPlugin", "className": "QMinimalEglIntegrationPlugin", "className": "QMinimalIntegrationPlugin", "className": "QMngPlugin", "className": "QOffscreenIntegrationPlugin", "className": "QSvgIconPlugin", "className": "QSvgPlugin", "className": "QTgaPlugin", "className": "QTiffPlugin", "className": "QWaylandIntegrationPlugin", "className": "QWbmpPlugin", "className": "QWebpPlugin", "className": "QXcbEglIntegrationPlugin", "className": "QXcbGlxIntegrationPlugin", "className": "QXcbIntegrationPlugin", "className": "RASPlugin", "className": "RGBPlugin", "className": "SoftimagePICPlugin", "className": "StylePlugin", "className": "TGAPlugin", "className": "XCFPlugin", all version info and an attempt of debugging the loaded Qt plugins have been added please let me know if there is anything I can do to provide useful debug output. This bug is really haunting me every day! I'm a bit confused as I'm running 64Bit Kubuntu 16.04 + backports (KF5.23, Plasma 5.6.5) + compiled from sources KTextEditor + Kate and I don't have that problem... From the logs it seems You are also on 64Bit... Yes, I am also on 64Bit kubuntu. But my kate is from the backports repo, not from source. Do you get the same plugins loaded as I do? Can I uninstall kate/backports and compile it from source easily? Is there a howto somewhere? I guess I'd need a lot of qt-dev and kde-dev packages, but I could try. But since there seems to be a lot of magic happening at runtime with Qt and the FileDialog, I am not even sure the problem is with kate itself (or its source code). However, I have no clue how to dissect this issue. The mechanisms under the hood are somewhat opaque to me. :( this is still not working. please let me know how I can help. Thx Okay, I gave up and switched to KDE neon. Now everything is perfect. It seems one should currently regard kubuntu/backports as broken? Thanks for your time anyway... So is this resolved? I am pretty sure this is not a Kate issue: The KDE dialogs come through the frameworks-integration framework, meaning that the normal Qt dialogs are replaced by the KDE dialogs automatically. If that does not work, this sounds like an installation setup issue. Therefore, I will just close this, please report to either the distribution, or the frameworks-integration component... Having the same problem (KIO unavailable to Kate due to simplistic File Open dialog) Kate Version 15.12.3 KDE Frameworks 5.18.0 Qt 5.5.1 (built against 5.5.1) The xcb windowing system Although this may be classified as not a "Kate" problem. I could find no documentation about how to properly run Kate so that I could open remote files. I recently upgraded to Ubuntu 16.04, and then installed kubuntu-desktop to get more KDE features. However, this has not worked out well. All I really want is to be able to use Konqueror (for multi-pane file browsing of local and remote file systems), Kate (editing of remote files) and Konsole (ssh into remote systems). Somehow my system got broken such that Konqueror and Konsole work as expected. I can even 'right click' -> 'Open with Kate' from a fish:// Konqueror session which proves that Kate can "speak" KIO; it's just the File Open dialog in Kate that is wrong. This is long fixed in newer versions. Please ask in a forum of your distribution how to get newer versions of KDE software. |