| Summary: | Crash using contextual "Compress to" option | ||
|---|---|---|---|
| Product: | [Applications] ark | Reporter: | Edmund Kasprzak <edkasp> |
| Component: | general | Assignee: | Elvis Angelaccio <elvis.angelaccio> |
| Status: | RESOLVED FIXED | ||
| Severity: | crash | CC: | rthomsen6 |
| Priority: | NOR | Keywords: | drkonqi |
| Version First Reported In: | 17.12.2 | ||
| Target Milestone: | --- | ||
| Platform: | Neon | ||
| OS: | Linux | ||
| Latest Commit: | https://commits.kde.org/ark/2af8d35e362ba07d213855019a614a0c3d86a889 | Version Fixed/Implemented In: | 17.12.3 |
| Sentry Crash Report: | |||
|
Description
Edmund Kasprzak
2018-02-18 17:11:06 UTC
Ooops. For the record, the "main" plugins are the read-write ones, i.e. the plugins that can create new archives. Git commit 2af8d35e362ba07d213855019a614a0c3d86a889 by Elvis Angelaccio. Committed on 18/02/2018 at 22:31. Pushed by elvisangelaccio into branch 'Applications/17.12'. Stop crashing when all read-write plugins are disabled CreateDialog assumes that `m_supportedMimeTypes` is never empty, it will crash otherwise. If that's the case (i.e. when all the read-write plugins have been disabled), we just disable the Compress menu item and the New action (as the CreateDialog would just be useless). For the New action, we also need to check whether the settings have been changed and update its enabled status accordingly. FIXED-IN: 17.12.3 M +1 -5 app/compressfileitemaction.cpp M +5 -1 app/mainwindow.cpp https://commits.kde.org/ark/2af8d35e362ba07d213855019a614a0c3d86a889 |