• Dmitry Kazakov's avatar
    Fix a crash when creating a text shape · eb611609
    Dmitry Kazakov authored
    Every KoShapeController used to reset the global "shape document" in its
    KoDocumentResourceManager. The problem is that in Krita we have multiple
    KoShapeController-s, but the resource manager is the only one. It means
    that every shape selection or shape layer used to reset the pointer to
    the global "shape document" to its own one. The only reason why we didn't
    have too many crashes is that almost noone uses this "shape document".
    
    Ideally we should:
    1) Remove KoDocumentResourceManager::GlobalShapeController resource. This
       resource is not global to the document, but is created per-layer. The only
       user of it atm is the legacy text tool, which should be deprecated.
    
    2) Remove KoDocumentResourceManager at all. There is no much use of it
       anymore. Its main user is legacy text tool.
    
    BUG:407554
    eb611609
Name
Last commit
Last update
..
actions Loading commit data...
brushhud Loading commit data...
canvas Loading commit data...
dialogs Loading commit data...
flake Loading commit data...
forms Loading commit data...
input Loading commit data...
kisexiv2 Loading commit data...
layerstyles Loading commit data...
opengl Loading commit data...
operations Loading commit data...
processing Loading commit data...
qtlockedfile Loading commit data...
qtsingleapplication Loading commit data...
tests Loading commit data...
tool Loading commit data...
utils Loading commit data...
widgets Loading commit data...
CMakeLists.txt Loading commit data...
KisAbstractFrameCacheSwapper.cpp Loading commit data...
KisAbstractFrameCacheSwapper.h Loading commit data...
KisActionPlugin.cpp Loading commit data...
KisActionPlugin.h Loading commit data...
KisApplication.cpp Loading commit data...
KisApplication.h Loading commit data...
KisApplicationArguments.cpp Loading commit data...
KisApplicationArguments.h Loading commit data...
KisAsyncAnimationCacheRenderer.cpp Loading commit data...
KisAsyncAnimationCacheRenderer.h Loading commit data...
KisAsyncAnimationFramesSavingRenderer.cpp Loading commit data...
KisAsyncAnimationFramesSavingRenderer.h Loading commit data...
KisAsyncAnimationRendererBase.cpp Loading commit data...
KisAsyncAnimationRendererBase.h Loading commit data...
KisAutoSaveRecoveryDialog.cpp Loading commit data...
KisAutoSaveRecoveryDialog.h Loading commit data...
KisChangeCloneLayersCommand.cpp Loading commit data...
KisChangeCloneLayersCommand.h Loading commit data...
KisCloneDocumentStroke.cpp Loading commit data...
KisCloneDocumentStroke.h Loading commit data...
KisDecorationsManager.cpp Loading commit data...
KisDecorationsManager.h Loading commit data...
KisDetailsPane.cpp Loading commit data...
KisDetailsPane.h Loading commit data...
KisDocument.cpp Loading commit data...
KisDocument.h Loading commit data...
KisFilterEntry.cpp Loading commit data...
KisFilterEntry.h Loading commit data...
KisFrameCacheStore.cpp Loading commit data...
KisFrameCacheStore.h Loading commit data...
KisFrameCacheSwapper.cpp Loading commit data...
KisFrameCacheSwapper.h Loading commit data...
KisFrameDataSerializer.cpp Loading commit data...
KisFrameDataSerializer.h Loading commit data...
KisImageBarrierLockerWithFeedback.cpp Loading commit data...
KisImageBarrierLockerWithFeedback.h Loading commit data...
KisImageBuilderResult.h Loading commit data...
KisImportExportAdditionalChecks.cpp Loading commit data...
KisImportExportAdditionalChecks.h Loading commit data...
KisImportExportErrorCode.cpp Loading commit data...
KisImportExportErrorCode.h Loading commit data...
KisImportExportFilter.cpp Loading commit data...
KisImportExportFilter.h Loading commit data...
KisImportExportManager.cpp Loading commit data...
KisImportExportManager.h Loading commit data...
KisImportExportUtils.cpp Loading commit data...
KisImportExportUtils.h Loading commit data...
KisInMemoryFrameCacheSwapper.cpp Loading commit data...
KisInMemoryFrameCacheSwapper.h Loading commit data...
KisMainWindow.cpp Loading commit data...
KisMainWindow.h Loading commit data...
KisMouseClickEater.cpp Loading commit data...
KisMouseClickEater.h Loading commit data...
KisMultiFeedRSSModel.cpp Loading commit data...
KisMultiFeedRSSModel.h Loading commit data...
KisNetworkAccessManager.cpp Loading commit data...
KisNetworkAccessManager.h Loading commit data...
KisNodeDisplayModeAdapter.cpp Loading commit data...
KisNodeDisplayModeAdapter.h Loading commit data...
KisOcioConfiguration.cpp Loading commit data...
KisOcioConfiguration.h Loading commit data...
KisOpenPane.cpp Loading commit data...
KisOpenPane.h Loading commit data...
KisPageWidgetItem.h Loading commit data...
KisPaintopPropertiesBase.cpp Loading commit data...
KisPaintopPropertiesBase.h Loading commit data...
KisPaletteEditor.cpp Loading commit data...
KisPaletteEditor.h Loading commit data...
KisPart.cpp Loading commit data...
KisPart.h Loading commit data...
KisPrintJob.cpp Loading commit data...
KisPrintJob.h Loading commit data...
KisReferenceImage.cpp Loading commit data...
KisReferenceImage.h Loading commit data...
KisReferenceImagesDecoration.cpp Loading commit data...
KisReferenceImagesDecoration.h Loading commit data...
KisRemoteFileFetcher.cpp Loading commit data...
KisRemoteFileFetcher.h Loading commit data...
KisResourceBundle.cpp Loading commit data...
KisResourceBundle.h Loading commit data...
KisResourceBundleManifest.cpp Loading commit data...
KisResourceBundleManifest.h Loading commit data...
KisResourceBundleServerProvider.cpp Loading commit data...
KisResourceBundleServerProvider.h Loading commit data...
KisResourceServerProvider.cpp Loading commit data...
KisResourceServerProvider.h Loading commit data...
KisSaveGroupVisitor.cpp Loading commit data...
KisSaveGroupVisitor.h Loading commit data...
KisSelectedShapesProxy.cpp Loading commit data...
KisSelectedShapesProxy.h Loading commit data...
KisSelectionActionsAdapter.cpp Loading commit data...
KisSelectionActionsAdapter.h Loading commit data...
KisSessionResource.cpp Loading commit data...
KisSessionResource.h Loading commit data...
KisSyncedAudioPlayback.cpp Loading commit data...
KisSyncedAudioPlayback.h Loading commit data...
KisTemplate.cpp Loading commit data...
KisTemplate.h Loading commit data...
KisTemplateCreateDia.cpp Loading commit data...
KisTemplateCreateDia.h Loading commit data...
KisTemplateGroup.cpp Loading commit data...
KisTemplateGroup.h Loading commit data...
KisTemplateTree.cpp Loading commit data...
KisTemplateTree.h Loading commit data...
KisTemplates.cpp Loading commit data...
KisTemplates.h Loading commit data...
KisTemplatesPane.cpp Loading commit data...
KisTemplatesPane.h Loading commit data...
KisUndoActionsUpdateManager.cpp Loading commit data...
KisUndoActionsUpdateManager.h Loading commit data...
KisView.cpp Loading commit data...
KisView.h Loading commit data...
KisViewManager.cpp Loading commit data...
KisViewManager.h Loading commit data...
KisView_p.h Loading commit data...
KisWelcomePageWidget.cpp Loading commit data...
KisWelcomePageWidget.h Loading commit data...
KisWindowLayoutManager.cpp Loading commit data...
KisWindowLayoutManager.h Loading commit data...
KisWindowLayoutResource.cpp Loading commit data...
KisWindowLayoutResource.h Loading commit data...
Mainpage.dox Loading commit data...
PriorityQueue_p.h Loading commit data...
kis_abstract_perspective_grid.cpp Loading commit data...
kis_abstract_perspective_grid.h Loading commit data...
kis_action.cpp Loading commit data...
kis_action.h Loading commit data...
kis_action_manager.cpp Loading commit data...
kis_action_manager.h Loading commit data...
kis_animation_cache_populator.cpp Loading commit data...
kis_animation_cache_populator.h Loading commit data...
kis_animation_frame_cache.cpp Loading commit data...
kis_animation_frame_cache.h Loading commit data...
kis_animation_importer.cpp Loading commit data...
kis_animation_importer.h Loading commit data...
kis_asl_layer_style_serializer.cpp Loading commit data...
kis_asl_layer_style_serializer.h Loading commit data...
kis_aspect_ratio_locker.cpp Loading commit data...
kis_aspect_ratio_locker.h Loading commit data...
kis_async_action_feedback.cpp Loading commit data...
kis_async_action_feedback.h Loading commit data...
kis_autogradient.cc Loading commit data...
kis_autogradient.h Loading commit data...
kis_bookmarked_configurations_editor.cc Loading commit data...
kis_bookmarked_configurations_editor.h Loading commit data...
kis_bookmarked_configurations_model.cc Loading commit data...
kis_bookmarked_configurations_model.h Loading commit data...
kis_bookmarked_filter_configurations_model.cc Loading commit data...
kis_bookmarked_filter_configurations_model.h Loading commit data...
kis_canvas_controls_manager.cpp Loading commit data...
kis_canvas_controls_manager.h Loading commit data...
kis_canvas_resource_provider.cpp Loading commit data...
kis_canvas_resource_provider.h Loading commit data...
kis_categories_mapper.cpp Loading commit data...
kis_categories_mapper.h Loading commit data...
kis_categorized_item_delegate.cpp Loading commit data...
kis_categorized_item_delegate.h Loading commit data...
kis_categorized_list_model.cpp Loading commit data...
kis_categorized_list_model.h Loading commit data...
kis_change_file_layer_command.h Loading commit data...
kis_clipboard.cc Loading commit data...
kis_clipboard.h Loading commit data...
kis_composite_ops_model.cc Loading commit data...
kis_composite_ops_model.h Loading commit data...
kis_config.cc Loading commit data...
kis_config.h Loading commit data...
kis_control_frame.cpp Loading commit data...
kis_control_frame.h Loading commit data...
kis_cursor.cc Loading commit data...
kis_cursor.h Loading commit data...
kis_cursor_cache.cpp Loading commit data...
kis_cursor_cache.h Loading commit data...
kis_cursor_override_hijacker.h Loading commit data...
kis_custom_pattern.cc Loading commit data...
kis_custom_pattern.h Loading commit data...
kis_deferred_signal.h Loading commit data...
kis_derived_resources.cpp Loading commit data...
kis_derived_resources.h Loading commit data...
kis_document_undo_store.cpp Loading commit data...
kis_document_undo_store.h Loading commit data...
kis_favorite_resource_manager.cpp Loading commit data...
kis_favorite_resource_manager.h Loading commit data...
kis_file_layer.cpp Loading commit data...
kis_file_layer.h Loading commit data...
kis_filter_manager.cc Loading commit data...
kis_filter_manager.h Loading commit data...
kis_filters_model.cc Loading commit data...
kis_filters_model.h Loading commit data...
kis_fps_decoration.cpp Loading commit data...
kis_fps_decoration.h Loading commit data...
kis_gui_context_command.cpp Loading commit data...
kis_gui_context_command.h Loading commit data...
kis_gui_context_command_p.cpp Loading commit data...
kis_gui_context_command_p.h Loading commit data...
kis_image_manager.cc Loading commit data...
kis_image_manager.h Loading commit data...
kis_image_view_converter.cpp Loading commit data...
kis_image_view_converter.h Loading commit data...
kis_import_catcher.cc Loading commit data...
kis_import_catcher.h Loading commit data...
kis_layer_manager.cc Loading commit data...
kis_layer_manager.h Loading commit data...
kis_mainwindow_observer.cpp Loading commit data...
kis_mainwindow_observer.h Loading commit data...
kis_mask_manager.cc Loading commit data...
kis_mask_manager.h Loading commit data...
kis_md5_generator.cpp Loading commit data...
kis_md5_generator.h Loading commit data...
kis_mimedata.cpp Loading commit data...
kis_mimedata.h Loading commit data...
kis_min_heap.h Loading commit data...
kis_mirror_manager.cpp Loading commit data...
kis_mirror_manager.h Loading commit data...
kis_model_index_converter.cpp Loading commit data...
kis_model_index_converter.h Loading commit data...
kis_model_index_converter_base.cpp Loading commit data...
kis_model_index_converter_base.h Loading commit data...
kis_model_index_converter_show_all.cpp Loading commit data...
kis_model_index_converter_show_all.h Loading commit data...
kis_multinode_property.cpp Loading commit data...
kis_multinode_property.h Loading commit data...
kis_node_commands_adapter.cpp Loading commit data...
kis_node_commands_adapter.h Loading commit data...
kis_node_filter_proxy_model.cpp Loading commit data...
kis_node_filter_proxy_model.h Loading commit data...
kis_node_insertion_adapter.cpp Loading commit data...
kis_node_insertion_adapter.h Loading commit data...
kis_node_juggler_compressed.cpp Loading commit data...
kis_node_juggler_compressed.h Loading commit data...
kis_node_manager.cpp Loading commit data...
kis_node_manager.h Loading commit data...
kis_node_model.cpp Loading commit data...
kis_node_model.h Loading commit data...
kis_node_selection_adapter.cpp Loading commit data...
kis_node_selection_adapter.h Loading commit data...
kis_node_view_color_scheme.cpp Loading commit data...
kis_node_view_color_scheme.h Loading commit data...
kis_paint_ops_model.cpp Loading commit data...
kis_paint_ops_model.h Loading commit data...
kis_painting_assistant.cc Loading commit data...
kis_painting_assistant.h Loading commit data...
kis_painting_assistants_decoration.cpp Loading commit data...
kis_painting_assistants_decoration.h Loading commit data...
kis_paintop_box.cc Loading commit data...
kis_paintop_box.h Loading commit data...
kis_paintop_option.cpp Loading commit data...
kis_paintop_option.h Loading commit data...
kis_paintop_options_model.cpp Loading commit data...
kis_paintop_options_model.h Loading commit data...
kis_paintop_settings_widget.cpp Loading commit data...
kis_paintop_settings_widget.h Loading commit data...
kis_png_converter.cpp Loading commit data...
kis_png_converter.h Loading commit data...
kis_popup_palette.cpp Loading commit data...
kis_popup_palette.h Loading commit data...
kis_preference_set_registry.cpp Loading commit data...
kis_preference_set_registry.h Loading commit data...
kis_psd_layer_style_resource.cpp Loading commit data...
kis_psd_layer_style_resource.h Loading commit data...
kis_safe_document_loader.cpp Loading commit data...
kis_safe_document_loader.h Loading commit data...
kis_selection_decoration.cc Loading commit data...
kis_selection_decoration.h Loading commit data...
kis_selection_manager.cc Loading commit data...
kis_selection_manager.h Loading commit data...
kis_splash_screen.cpp Loading commit data...
kis_splash_screen.h Loading commit data...
kis_statusbar.cc Loading commit data...
kis_statusbar.h Loading commit data...
kis_stopgradient_editor.cpp Loading commit data...
kis_stopgradient_editor.h Loading commit data...
kis_store_paintdevice_writer.h Loading commit data...
kis_tooltip_manager.cpp Loading commit data...
kis_tooltip_manager.h Loading commit data...
kis_ui_types.h Loading commit data...
kis_workspace_resource.cpp Loading commit data...
kis_workspace_resource.h Loading commit data...
kis_zoom_manager.cc Loading commit data...
kis_zoom_manager.h Loading commit data...
osx.h Loading commit data...
osx.mm Loading commit data...
osx.stylesheet Loading commit data...
thememanager.cpp Loading commit data...
thememanager.h Loading commit data...
wdgsplash.ui Loading commit data...