This forum has been archived. All content is frozen. Please use KDE Discuss instead.

Krita freezes when copying from Atom text/code editor

Tags: krita, atom, clipboard, copy, paste, crash, freeze, text krita, atom, clipboard, copy, paste, crash, freeze, text krita, atom, clipboard, copy, paste, crash, freeze, text
(comma "," separated)
User avatar
terrycloth
Registered Member
Posts
30
Karma
0
OS
I'm using Krita 2.8.5, and Atom 0.189.0, on Ubuntu 14.04 (64-bit).

If you don't know, Atom is a text/code editor, built on top of Node.js and a fork of Chromium. See <https://atom.io>

In Krita, I'm able to copy and paste layers and vector objects as normal. And I can copy-paste text from gedit just fine. So far, I've only noticed a problem when I copy text from Atom to paste into a Krita document -- then Krita freezes, every time. If I try to copy text from Atom before starting Krita, Krita gets stuck just after the splash screen, and never finishes loading the application. Having any data in the clipboard coming from Atom seems to cause Krita to crash.

Here's the terminal output when this happens:

Code: Select all
$ krita PATH/TO/KRITA/FILE.kra

Connecting to deprecated signal QDBusConnectionInterface::serviceOwnerChanged(QString,QString,QString)
QDBusConnection: session D-Bus connection created before QCoreApplication. Application may misbehave.
QDBusConnection: session D-Bus connection created before QCoreApplication. Application may misbehave.
kbuildsycoca4 running...
QCoreApplication::postEvent: Unexpected null receiver
QCoreApplication::postEvent: Unexpected null receiver
QDBusConnection: session D-Bus connection created before QCoreApplication. Application may misbehave.
QDBusConnection: session D-Bus connection created before QCoreApplication. Application may misbehave.
Object::connect: No such signal org::freedesktop::UPower::DeviceAdded(QDBusObjectPath)
Object::connect: No such signal org::freedesktop::UPower::DeviceRemoved(QDBusObjectPath)
OpenGL version 1.1 or higher is present.
OpenGL version 1.2 or higher is present.
OpenGL version 1.3 or higher is present.
OpenGL version 1.4 or higher is present.
OpenGL version 1.5 or higher is present.
OpenGL version 2.0 or higher is present.
OpenGL version 2.1 or higher is present.
OpenGL version 3.0 or higher is present.
OpenGL version 3.1 or higher is present.
OpenGL version 3.2 or higher is present.
OpenGL version 3.3 or higher is present.
krita(8034) SpaceNavigatorDevice::start: starting spacenavigator device...
connect failed: No such file or directory
krita(8034)/kdeui (kdelibs): No such XML file "~/.kde/share/apps/"
krita(8034)/kdeui (kdelibs): Shortcut for KAction  "add_new_shape_layer" "&Vector Layer" set with QShortcut::setShortcut()! See KAction documentation.
krita(8034)/kdeui (kdelibs): Shortcut for KAction  "view_ruler" "Show Rulers" set with QShortcut::setShortcut()! See KAction documentation.
krita(8034)/kdeui (kdelibs): Shortcut for KAction  "import_layer_from_file" "I&mport Layer..." set with QShortcut::setShortcut()! See KAction documentation.
krita(8034)/kdeui (kdelibs): Shortcut for KAction  "image_properties" "Properties..." set with QShortcut::setShortcut()! See KAction documentation.
krita(8034)/kdeui (kdelibs): Shortcut for KAction  "view_toggle_perspective_grid" "Show Perspective Grid" set with QShortcut::setShortcut()! See KAction documentation.
krita(8034)/kdeui (kdelibs): Shortcut for KAction  "view_clear_perspective_grid" "Clear Perspective Grid" set with QShortcut::setShortcut()! See KAction documentation.
krita(8034)/kdeui (kdelibs): Shortcut for KAction  "KritaShape/KisToolLine" "Draw a straight line with the current brush" set with QShortcut::setShortcut()! See KAction documentation.
krita(8034)/kdeui (kdelibs): Shortcut for KAction  "KisRulerAssistantTool" "Ruler assistant editor tool" set with QShortcut::setShortcut()! See KAction documentation.
krita(8034)/kdeui (kdelibs): Shortcut for KAction  "KisToolSelectContiguous" "Select a contiguous area of colors" set with QShortcut::setShortcut()! See KAction documentation.
krita(8034)/kdeui (kdelibs): Shortcut for KAction  "KisToolPolyline" "Draw a polyline. Shift-mouseclick ends the polyline." set with QShortcut::setShortcut()! See KAction documentation.
krita(8034)/kdeui (kdelibs): Shortcut for KAction  "KritaShape/KisToolEllipse" "Draw an ellipse" set with QShortcut::setShortcut()! See KAction documentation.
krita(8034)/kdeui (kdelibs): Shortcut for KAction  "KritaShape/KisToolDyna" "Paint with brushes using dynamic movements" set with QShortcut::setShortcut()! See KAction documentation.
krita(8034)/kdeui (kdelibs): Shortcut for KAction  "KisToolPencil" "Draw a freehand path." set with QShortcut::setShortcut()! See KAction documentation.
krita(8034)/kdeui (kdelibs): Shortcut for KAction  "TextToolFactory_ID" "Text editing" set with QShortcut::setShortcut()! See KAction documentation.
krita(8034)/kdeui (kdelibs): Shortcut for KAction  "KisToolPerspectiveGrid" "Edit the perspective grid" set with QShortcut::setShortcut()! See KAction documentation.
krita(8034)/kdeui (kdelibs): Shortcut for KAction  "KisToolSelectOutline" "Select an area by its outline" set with QShortcut::setShortcut()! See KAction documentation.
krita(8034)/kdeui (kdelibs): Shortcut for KAction  "KritaFill/KisToolFill" "Fill a contiguous area of color with a color, or fill a selection." set with QShortcut::setShortcut()! See KAction documentation.
krita(8034)/kdeui (kdelibs): Shortcut for KAction  "PathToolFactoryId" "Path editing tool" set with QShortcut::setShortcut()! See KAction documentation.
krita(8034)/kdeui (kdelibs): Shortcut for KAction  "KisToolPolygon" "Draw a polygon. Shift-mouseclick ends the polygon." set with QShortcut::setShortcut()! See KAction documentation.
krita(8034)/kdeui (kdelibs): Shortcut for KAction  "InteractionTool" "Shape handling" set with QShortcut::setShortcut()! See KAction documentation.
krita(8034)/kdeui (kdelibs): Shortcut for KAction  "KritaShape/KisToolText" "Text tool" set with QShortcut::setShortcut()! See KAction documentation.
krita(8034)/kdeui (kdelibs): Shortcut for KAction  "KisToolSelectPath" "Select an area of the image with path." set with QShortcut::setShortcut()! See KAction documentation.
krita(8034)/kdeui (kdelibs): Shortcut for KAction  "KisToolSelectBrush" "Select by brush" set with QShortcut::setShortcut()! See KAction documentation.
krita(8034)/kdeui (kdelibs): Shortcut for KAction  "KisToolPath" "Draw a path. Shift-mouseclick ends the path." set with QShortcut::setShortcut()! See KAction documentation.
krita(8034)/kdeui (kdelibs): Shortcut for KAction  "KisToolSelectSimilar" "Select similar colors" set with QShortcut::setShortcut()! See KAction documentation.
krita(8034)/kdeui (kdelibs): Shortcut for KAction  "KritaShape/KisToolRectangle" "Draw a rectangle" set with QShortcut::setShortcut()! See KAction documentation.
krita(8034)/kdeui (kdelibs): Shortcut for KAction  "KisToolSelectPolygonal" "Select a polygonal region" set with QShortcut::setShortcut()! See KAction documentation.
krita(8034)/kdeui (kdelibs): Shortcut for KAction  "KisToolCrop" "Crop the image to an area" set with QShortcut::setShortcut()! See KAction documentation.
krita(8034)/kdeui (kdelibs): Shortcut for KAction  "KritaShape/KisToolMeasure" "Measure the distance between two points" set with QShortcut::setShortcut()! See KAction documentation.
klauncher(8038)/kdecore (services) KServiceFactory::findServiceByDesktopPath: "kactivitymanagerd.desktop" not found
fish: Job 1, “krita PATH/TO/KRITA/FILE.kra” terminated by signal SIGKILL (Forced quit)

QClipboard: Unable to receive an event from the clipboard manager in a reasonable time
User avatar
terrycloth
Registered Member
Posts
30
Karma
0
OS
I thought the problem was some kind of weird interaction between Atom and Krita, but turns out there was a bug in Atom that wouldn't let it copy/paste in any third-party applications. That bug has been fixed.


Bookmarks



Who is online

Registered users: Bing [Bot], claydoh, Evergrowing, Google [Bot], rblackwell