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

List:       kdelibs-bugs
Subject:    [frameworks-kio] [Bug 334963] Spawning a KDE file picker dialog via Qt Quick Dialogs fails
From:       Cjacker <cjacker () gmail ! com>
Date:       2015-07-19 7:19:11
Message-ID: bug-334963-90985-nphoGGIgV9 () http ! bugs ! kde ! org/
[Download RAW message or body]

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

Cjacker <cjacker@gmail.com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |cjacker@gmail.com

--- Comment #10 from Cjacker <cjacker@gmail.com> ---
I encounter a problem about  filedialog popping up in some qt apps, for
example, designer, baka-mplayer  with qt-5.5.0, framework-5.12, plasma-5.3.2.

It's very easy to reproduce: open filedialog, press 'ESC', again and again,
finally(three or four times) the filedialog popup(since 'ESC' key works) but
not visible. the main interface of application locked(since it's a modal
dialog).

As i remember, with qt-5.4.2 also had this problem. 

At first, I think it belongs to kwin, after tried openbox, there is no
improvement.

I also tried the git codes of frameworkintegration, the problem remains.


Here is the fix.
---
frameworkintegration-5.12.0/src/platformtheme/kdeplatformfiledialoghelper.cpp  
2015-07-05 08:51:22.000000000 +0000
+++
frameworkintegration-5.12.0n/src/platformtheme/kdeplatformfiledialoghelper.cpp 
2015-07-19 14:57:46.891751979 +0000
@@ -303,6 +303,7 @@
     m_dialog->show();
     KSharedConfig::Ptr conf = KSharedConfig::openConfig();
     KWindowConfig::restoreWindowSize(m_dialog->windowHandle(),
conf->group("FileDialogSize"));
+    m_dialog->resize(m_dialog->windowHandle()->size());
     return true;
 }

-- 
You are receiving this mail because:
You are on the CC list for the bug.
_______________________________________________
Kdelibs-bugs mailing list
Kdelibs-bugs@kde.org
https://mail.kde.org/mailman/listinfo/kdelibs-bugs

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

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