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

            Bug ID: 404874
           Summary: KFileWidget: preview causes widget duplication on Mac
           Product: frameworks-kio
           Version: git master
          Platform: Compiled Sources
                OS: OS X
            Status: REPORTED
          Severity: major
          Priority: NOR
         Component: Open/save dialogs
          Assignee: fa...@kde.org
          Reporter: rjvber...@gmail.com
                CC: kdelibs-b...@kde.org
  Target Milestone: ---

Created attachment 118402
  --> https://bugs.kde.org/attachment.cgi?id=118402&action=edit
Screenshot showing the described issue

SUMMARY
Activating the embedded preview in the KFileWidget causes a duplication of the
entire KFileWidget (but not the surrounding dialog), which may cause a crash
(deep in the cocoa platform QPA, on exit or when the dialog is destroyed; under
the QSplitter dtor to be more precise).
The duplicate widget appears under the dialog, and becomes the widget to
interact with although the toolbar remains usable (and linked) in both widgets.

STEPS TO REPRODUCE
1. Start kfilewidgettest_gui.app/Contents/MacOS/kfilewidgettest_gui from the
KIO tests
2. enable preview mode if not already enabled
3. navigate and move the dialog around.

OBSERVED RESULT
The duplicate widget opens and the original KFileWidget becomes mostly a ghost.
The toolbar will float on top of the original dialog and its contents; the rest
remains on a lower level.

EXPECTED RESULT
Behaviour as under X11.
This is also what happens when Qt is built for X11 or when using the xcb QPA
with an otherwise Cocoa build, which suggests that the preview mode does
something that is not properly cross-platform.

SOFTWARE/OS VERSIONS
Mac OS X: 10.9.5 
KDE Frameworks Version: 5.52.0 ; KIO is built from a more recent master branch
checkout.
Qt Version: 5.9.7

ADDITIONAL INFORMATION
This happens both with my osx-integration QPT and without it. The screenshot
was made after disabling that plugin, = in stock cocoa mode.

-- 
You are receiving this mail because:
You are watching all bug changes.

Reply via email to