[krita] [Bug 421844] setResolution, setXRes, setYRes, scaleImage not working

2020-07-31 Thread Scott Petrovic
https://bugs.kde.org/show_bug.cgi?id=421844

Scott Petrovic  changed:

   What|Removed |Added

 Resolution|WAITINGFORINFO  |WORKSFORME
 Status|NEEDSINFO   |RESOLVED

--- Comment #3 from Scott Petrovic  ---
Alright. We can close this for now. If something else pops up we can make a new
ticket. There has been quite a few fixes happening in the past couple months,
so maybe it got fixed with something else.

-- 
You are receiving this mail because:
You are watching all bug changes.

[krita] [Bug 421844] setResolution, setXRes, setYRes, scaleImage not working

2020-07-31 Thread Manga Tengu
https://bugs.kde.org/show_bug.cgi?id=421844

--- Comment #2 from Manga Tengu  ---
I'm a bit lost here, I tried it for the nth time and now it works. In between
there was OS and Krita upgrades so It's hard for me to tell where it comes
from.

-- 
You are receiving this mail because:
You are watching all bug changes.

[krita] [Bug 421844] setResolution, setXRes, setYRes, scaleImage not working

2020-07-31 Thread Scott Petrovic
https://bugs.kde.org/show_bug.cgi?id=421844

Scott Petrovic  changed:

   What|Removed |Added

 Status|REPORTED|NEEDSINFO
 CC||scottpetro...@gmail.com
 Resolution|--- |WAITINGFORINFO

--- Comment #1 from Scott Petrovic  ---
I just tried the setResolution(), which seems to work for me. Maybe it is a
specific issue for Macs. See if this works. For Python stuff, we can probably
use Krita artists to start off any issues. That will probably get to the root
of the issue, or if it is just related to how it is scripted.

from krita import *

# create document and show in view
doc = Krita.instance().createDocument(1280, 1024, "Document name", "RGBA",
"U8", "", 300.0)
view = Krita.instance().activeWindow().addView(doc) # shows it in the
application
window = Application.activeWindow()

doc.setResolution(123)

-- 
You are receiving this mail because:
You are watching all bug changes.