Hide Forgot
Description of problem: Under GNOME in Fedora 16, Krita won't maximize. It behaves very bizarrely with regards to window management. This makes it pretty difficult to use. :( Version-Release number of selected component (if applicable): koffice-krita-2.3.3-14.fc16.x86_64 How reproducible: Very Steps to Reproduce: 1. Maximize Krita window 2. Note that it doesn't maximize, but gets 'stuck' on screen 3. Sigh and be sad Any ideas? :(
Hi Máirín, I don't have Fedora myself, but I tried the latest beta of Krita 2.4 with Gnome3, and that maximized correctly. Krita is now part of Calligra, no longer part of KOffce. Lukas Tvrdy tells me Krita 2.4 beta's are in KDE unstable.
If with 2.4, you can still reproduce, don't hesitate to report the bug to bugs.kde.org, btw :-)
Hi Máirín, you can try this to add repo from http://kde-redhat.sourceforge.net/. Remove all of the koffice packages and install calligra-krita from "kde-unstable" repo. Cheers
Here are the git-sha commits from Boud, who fixed the problem for upcoming 2.4: db9bb3364615406f0e2fd3f00e3b3bb83dc12a2a 2a28907e6f4ab2677c3893f5da1a4a44893f11d4 Also there is workaround: to extend the window manually :)
the kde-unstable repo will pull in all of kde-4.8.x too, probably not worth it. I'll test it myself here in a jiffy.
Testing calligra-krita-2.3.87-2.fc16.x86_64 from kde-unstable on gnome seems to exhibit the same behavior as described here. Once krita is launched, I cannot move or manipulate it's window as far as I can tell. :( I'll go track down the commits Lukas references to see if my build includes those or not.
Hm... I wonder what's so different between Fedora's gnome3 and OpenSUSE's gnome3 that maximize works for me... Can you test with both opengl enabled and disabled in Krita's settings?
I tried krita again, and when maximizing it: 1. the krita window does not resize to fill screen 2. and it won't move/resize either 2 isn't surprising, considering the app thinks it's already maximized. unmaximizing allows one to move/resize again. Interestingly, on krita's initial launch, where it asks to open an existing document or create a new one, *that* screen will maximize ok. Only after clicking "Create" does the badness happen. krita's opengl option enabled or disabled, seems to make no difference. I tested with other calligra apps, calligrawords, calligraflow, calligratables, they all work as expected, so this seems specific to krita somehow.
I found if I remove some dockers from the right to allow the krita window to fit on my 1280x800 screen, then maximize seems to work ok. Opening upstream bug. (and I'll retest with f16's koffice-krita-2.3.x)
Hm... I wonder what Máirín's screen size is. My own screen is 1920x1200, so naturally everything fits in there :-).
bug upstreamed, https://bugs.kde.org/show_bug.cgi?id=293640 Máirín, what size screen do you have? In particular, can you see the full (unmaximized) krita window on screen or was the bottom clipped a bit like me?
Same workaround for koffice-krita-2.3.x. If I remove enough dockers and toolbars to ensure the window can be resized vertically to fit 100% on the screen, maximize works too.
I tested it on my netbook with the resolution of 1024x600 and the same result - the window can't be maximized even when running in Plasma Desktop session. Does not occur on my 1920x1200 desktop. So it's probably not related to window manager. Could be Qt 4.8 issue then?
Well, Krita does really need a bit of room. The default configuration should work fine on 1280x1024, which is kind of the minimum I test. But depending on widget theme, that might not fit either. The problem occurs when krita's default layout is too big for the screen. Different window managers handle that in different ways... It's probably possible to do some hacking around that problem, to make the toolbox wider (which means less high) and shade some dockers if the screen is too small.
Wow, you folks are totally on top of your bugs, fantastic super fast response :) I'm using a Lenovo x220T wacom-enabled tablet, which I think is a great piece of hardware to use with Krita's natural-style brushes, right? Well, the resolution is 1366x768. When I have Krita open I can't even move or size it down enough to see the bar along the bottom of the screen. The docker-type palettes on the right size also have this weird thing where they expand all the way to the bottom, so I can never access the '+' in the layers palette to add a new layer. I'll attach a screenshot so you can see what I'm seeing. I can't seem to drag it out so I have full access to the tools.
Created attachment 560432 [details] Krita 'maximized' I can unmaximize it and manually drag out the sides to span the full screen, but it's not possible to resize the bottom of the screen to snap up so i can access those controls - see how the controls at the bottom of the layers dialog are chopped off :(
Weird as it may seem, some Krita developers actually have the same hardware... But widget theme counts for a lot. Until I find a real fix, there are two things you can do to make Krita fit again: * the toolbox (left hand side) can be dragged wider. Right now, the tools are in a single column, and with your vertical resolution you might need 3. * the dockers on the right-hand side take too much space... it would be best to shade (press the little triangle button on the left in the palette's titlebar) then, or remove some of them, or make sure they are tabbed by dragging the docker by the titlebar. I'm looking into the right way of doing things like that automatically, but it's a bit of a mare's nest...
OK, I've backported the upstream fix made to calligra, but as hinted, this only affects initial/default setup, so won't help existing users (ie, folks with an existing kritarc file). The easiest workaround I've found matches boud's, make the left toolbox use 2 (or even 3 columns), and shade/remove some dockers on the right.
i'm not counting that as a fix -- we still need some smart heuristics to figure out what'll fit the screen. And screens that are too small probably will never make for a happy krita experience, of course.
Hi, I am speaking with the Krita developers right now. It is a known issue with the Qt toolkit. The workaround is to resize the toolbar dock along the left side of the screen - it is this single docked item that is causing the bottom of the screen to get clipped.
Hi, Krita works beautifully in Fedora 17 and I no longer experience this issue after my Fedora 17 upgrade, so it would be okay with me if you closed this bug. I am really, really enjoying the new Krita. Thanks!
Good to hear :)