There are API options for creating new views for documents. But opening documents into an empty view is not possible at the moment.
updating this to a wishlist since it is a feature request
This ticket was written a while ago, so apologies for this taking a while to respond to. We might need a bit more information. This is currently how you set a view document. Maybe this didn't exist when this bug was created. newDocument = Krita.instance().createDocument(1280, 1024, "Document name", "RGBA", "U8", "", 300.0) Krita.instance().activeWindow().addView(newDocument) # shows it in the application The only way I know how to close the view is by closing the file from an action... Krita.instance().action('file_close').trigger() Here is the current API that might help a little https://api.kde.org/appscomplete-api/krita-apidocs/libs/libkis/html/classWindow.html For now I going to set to Needs Info and we can figure out what to do next.
Dear Bug Submitter, This bug has been in NEEDSINFO status with no change for at least 15 days. Please provide the requested information as soon as possible and set the bug status as REPORTED. Due to regular bug tracker maintenance, if the bug is still in NEEDSINFO status with no change in 30 days the bug will be closed as RESOLVED > WORKSFORME due to lack of needed information. For more information about our bug triaging procedures please read the wiki located here: https://community.kde.org/Guidelines_and_HOWTOs/Bug_triaging If you have already provided the requested information, please mark the bug as REPORTED so that the KDE team knows that the bug is ready to be confirmed. Thank you for helping us make KDE software even better for everyone!
This bug has been in NEEDSINFO status with no change for at least 30 days. The bug is now closed as RESOLVED > WORKSFORME due to lack of needed information. For more information about our bug triaging procedures please read the wiki located here: https://community.kde.org/Guidelines_and_HOWTOs/Bug_triaging Thank you for helping us make KDE software even better for everyone!