Summary: | can't resize kate mainwindow on Mac OSX | ||
---|---|---|---|
Product: | [Applications] kate | Reporter: | Alexander Neundorf <neundorf> |
Component: | general | Assignee: | KWrite Developers <kwrite-bugs-null> |
Status: | RESOLVED FIXED | ||
Severity: | normal | CC: | illogical1, jan, jolz, krater |
Priority: | NOR | ||
Version: | unspecified | ||
Target Milestone: | --- | ||
Platform: | Compiled Sources | ||
OS: | macOS | ||
Latest Commit: | Version Fixed In: | ||
Sentry Crash Report: | |||
Attachments: |
Patch which should resolve the problem
Updated patch wich is surrounded by #ifdef and was created with -u option |
Description
Alexander Neundorf
2008-08-09 16:30:21 UTC
I' having the same bug. The window opens maximized and I can't resize it. I'm running Kate on Mac OS X 10.5.5 from KDE 4.1.2 package for OS X from mac.kde.org, which includes QT 4.4. here too. jolz@jolz-macbook:~> konqueror --version Qt: 4.4.3 KDE: 4.2.00 (KDE 4.2.0) Konqueror: 4.2.00 (KDE 4.2.0) jolz@jolz-macbook:~> port list kdebase4 kdebase4 @4.2.0 kde/kdebase4 jolz@jolz-macbook:~> (In reply to comment #2) > here too. with konqueror. (i forgott - sorry) I have the same problem. But this should be no big deal to fix. Probably all you have to do is to add somewhere a QSizeGrip. Discovered a duplicate bug report for the bug: #170199 *** Bug 170199 has been marked as a duplicate of this bug. *** Created attachment 39047 [details]
Patch which should resolve the problem
Please explain: - why is this required, the code itself looks totally strange to me - if it works around some quirky Qt behavior on Mac platforms, it probably should be #ifdef'ed for that platform only (or did you test this on the other platforms (windows, linux, ...) - does it still work there like before? - please create patches with -u Why this code is required: KStatusBar will set per default the ShowSizeGrip property on OS X. However this size grip does not work in Kate on OS X. I do not really know why, because in other application it works. Maybe it's because the status bar can be hidden or is not the most bottom bar if you have tabs for the terminal or stuff like that at the bottom. Because the default size grip does not work I disable it and add manually a new QSizeGrip which for some reason works. I admit it is a bit strange, but it works and IMO an unresizeable editor window totally sucks. I do not know whether there is any sense in reporting this to Qt, because in every other Qt or KDE application I have seen resizing was no problem. That with the #ifdef is a good hint. I will add that (but may take me some days). I will also use -u for the new patch. I did not know about this option, because this is just the second patch or so I am submitting to an open source project. Therefore thanks for telling me. Created attachment 39103 [details]
Updated patch wich is surrounded by #ifdef and was created with -u option
SVN commit 1063531 by mwolff: Fix resizing of Kate under Mac OS X. Path by Jan Gosmann, thanks! BUG: 168809 M +6 -0 kateviewspace.cpp WebSVN link: http://websvn.kde.org/?view=rev&revision=1063531 |