Bug 467674 - dolphin hover pointer over .docx triggers error message but not if remove calligra
Summary: dolphin hover pointer over .docx triggers error message but not if remove cal...
Status: REPORTED
Alias: None
Product: dolphin
Classification: Applications
Component: general (show other bugs)
Version: 22.12.3
Platform: Neon Linux
: NOR crash
Target Milestone: ---
Assignee: Dolphin Bug Assignee
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2023-03-22 00:08 UTC by kdebugtrackaccountcreatedbecausepolicysaysdontuseprimarybutdontusedisposable
Modified: 2023-03-25 19:32 UTC (History)
1 user (show)

See Also:
Latest Commit:
Version Fixed In:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description kdebugtrackaccountcreatedbecausepolicysaysdontuseprimarybutdontusedisposable 2023-03-22 00:08:48 UTC
SUMMARY
In Dolphin > Configure > General > Previews, if uncheck a checkbox, e.g., Apple Keynote Documents, the box becomes unchecked, but after clicking OK, a message box appears that kioslave5 closed unexpectedly. When I go back to the Configure option, the box is checked again. Apparently, the attempt to change a box to unchecked and save it is unsuccessful.

***
NOTE: If you are reporting a crash, please try to attach a backtrace with debug symbols.
See https://community.kde.org/Guidelines_and_HOWTOs/Debugging/How_to_create_useful_crash_reports
***


STEPS TO REPRODUCE
1.  Dolphin > Configure > General > Previews
2.  Try unchecking a box that was previously checked.
3.  Press OK

OBSERVED RESULT
1. message box appears that kioslave5 closed unexpectedly
2. reopening configure window shows that box is still checked.

EXPECTED RESULT
No error message, and box would remain unchecked.

SOFTWARE/OS VERSIONS
Windows: 
macOS: 
Linux/KDE Plasma: KDE neon
(available in About System)
KDE Plasma Version: 5.27.3
KDE Frameworks Version:  5.104.0
Qt Version: 5.15.8

ADDITIONAL INFORMATION

Window states that The generated crash information is probably not useful, however, I am including it below because when I tried to Install Debug Symbols I received error message ("An error occurred during installation: Failed to obtain authentication.").

Application: kioslave5 (kioslave5), signal: Segmentation fault

[KCrash Handler]
#4  0x00007f76fe846afc in QTextLine::y() const () from /lib/x86_64-linux-gnu/libQt5Gui.so.5
#5  0x00007f76f37a85c9 in ?? () from /lib/x86_64-linux-gnu/libkotextlayout.so.17
#6  0x00007f76f378e2c9 in KoTextLayoutArea::layoutBlock(FrameIterator*) () from /lib/x86_64-linux-gnu/libkotextlayout.so.17
#7  0x00007f76f3785031 in KoTextLayoutArea::layout(FrameIterator*) () from /lib/x86_64-linux-gnu/libkotextlayout.so.17
#8  0x00007f76f37a4a71 in KoTextLayoutRootArea::layoutRoot(FrameIterator*) () from /lib/x86_64-linux-gnu/libkotextlayout.so.17
#9  0x00007f76f37a653d in KoTextDocumentLayout::doLayout() () from /lib/x86_64-linux-gnu/libkotextlayout.so.17
#10 0x00007f76f37a7888 in KoTextDocumentLayout::layout() () from /lib/x86_64-linux-gnu/libkotextlayout.so.17
#11 0x00007f76f0be2079 in KWPage::thumbnail(QSize const&, KoShapeManager*, bool) const () from /lib/x86_64-linux-gnu/libwordsprivate.so.17
#12 0x00007f76f0bbe5fe in KWDocument::generatePreview(QSize const&) () from /lib/x86_64-linux-gnu/libwordsprivate.so.17
#13 0x00007f76f8016cc9 in ?? () from /usr/lib/x86_64-linux-gnu/qt5/plugins/calligrathumbnail.so
#14 0x00007f77009b15f3 in ?? () from /usr/lib/x86_64-linux-gnu/qt5/plugins/kf5/kio/thumbnail.so
#15 0x00007f77009b70d4 in ?? () from /usr/lib/x86_64-linux-gnu/qt5/plugins/kf5/kio/thumbnail.so
#16 0x00007f77008946b6 in ?? () from /lib/x86_64-linux-gnu/libKF5KIOCore.so.5
#17 0x00007f770088b9c6 in KIO::SlaveBase::dispatch(int, QByteArray const&) () from /lib/x86_64-linux-gnu/libKF5KIOCore.so.5
#18 0x00007f770088c316 in KIO::SlaveBase::dispatchLoop() () from /lib/x86_64-linux-gnu/libKF5KIOCore.so.5
#19 0x00007f77009b302b in kdemain () from /usr/lib/x86_64-linux-gnu/qt5/plugins/kf5/kio/thumbnail.so
#20 0x000055ebecf9c4fa in ?? ()
#21 0x00007f76ffa29d90 in __libc_start_call_main (main=main@entry=0x55ebecf9c320, argc=argc@entry=5, argv=argv@entry=0x7ffd5114bae8) at ../sysdeps/nptl/libc_start_call_main.h:58
#22 0x00007f76ffa29e40 in __libc_start_main_impl (main=0x55ebecf9c320, argc=5, argv=0x7ffd5114bae8, init=<optimized out>, fini=<optimized out>, rtld_fini=<optimized out>, stack_end=0x7ffd5114bad8) at ../csu/libc-start.c:392
#23 0x000055ebecf9c735 in ?? ()
[Inferior 1 (process 9477) detached]
Comment 1 kdebugtrackaccountcreatedbecausepolicysaysdontuseprimarybutdontusedisposable 2023-03-25 19:32:00 UTC
It appears that error message "kioslave5 closed unexpectedly" may have been caused by a related action. When moving my mouse pointer over a .docx file in Dolphin, I got the same error message. Such mouse movement may have actually triggered the earlier error message. I've uninstalled calligra, and the error messages appear to have stopped. (However, I no longer see thumbnail previews of .docx, .doc, or .odt files in Dolphin. This is despite having all file type checkboxes selected for preview (in Dolphin > Configure > General > Previews) including, anything that has "Microsoft" in it, Office Documents, and anything that has "OpenDocument" in it). I do still see previews for text files, pdf, images and video.

The following bugs may be related:
https://bugs.kde.org/show_bug.cgi?id=416831
https://bugs.kde.org/show_bug.cgi?id=413622


STEPS TO REPRODUCE
1.  In Dolphin, hover mouse pointer over .docx file (Unpredictable when hovering would cause issue. It did not appear to be specific to one particular .docx file because sometimes (e.g., on day 1) hovering over a specific file caused the error message, but other times (e.g., on day 2) hovering over the same .docx file did not cause the error message, while on day 3 the issue with the same file arose again.

OBSERVED RESULT
1. message box appears that kioslave5 closed unexpectedly
2. if don't move mouse pointer away from .docx file, error message repeats every several seconds

EXPECTED RESULT
No error message, and preview of thumbnail in information window at right.

ISSUE NOT RESOLVED BUT MANAGED BY THE FOLLOWING:
I uninstalled Calligra, and the error messages stopped. However, there are no thumbnails for .docx, .doc, or .odt files now.