Bug 333049

Summary: Search-and-Replace form not properly laid out on MacOSX in version 3.12.2
Product: [Applications] kate Reporter: Marko Käning <mk-lists>
Component: searchAssignee: KWrite Developers <kwrite-bugs-null>
Status: RESOLVED DUPLICATE    
Severity: normal CC: rjvbertin
Priority: NOR    
Version: unspecified   
Target Milestone: ---   
Platform: MacPorts   
OS: macOS   
Latest Commit: Version Fixed In:
Sentry Crash Report:
Attachments: Snapshot showing the observed issue on OS X 10.9.2
screenshot on OS X 10.6.8 with kdelibs 4.14.1 (git/kde4.14) with the MacPorts patches and the QtCurve style

Description Marko Käning 2014-04-03 20:52:58 UTC
When running kate on OSX with KDE 12.2.2 installed via MacPorts one can observe that there are a couple of issues with the "Search and Replace" form.

1) The tabs "Search and Replace" and "Current Project" slightly overlap with each other (the icon of "Current Project" overlaps almost with the last letter of "Replace")

2) Almost all inputs of the lower half are squished together to a degree that they overlap each other and the inputs are too small in height as well to display a entered character fully.

Reproducible: Always

Steps to Reproduce:
1. Start kate on OSX
2. Click on "Search and Replace" Tab
3. See the weird layout
Actual Results:  
Too narrow input and text fields as well as icons in lower half of form. 

Expected Results:  
Proper layout like in the upper half.
Comment 1 Marko Käning 2014-04-03 20:53:54 UTC
Created attachment 85948 [details]
Snapshot showing the observed issue on OS X 10.9.2
Comment 2 Christoph Feck 2014-04-04 00:45:20 UTC
1) is bug 296810, if that's a KMultiTabBar.
Comment 3 Marko Käning 2014-04-09 23:50:00 UTC

*** This bug has been marked as a duplicate of bug 296810 ***
Comment 4 RJVB 2014-09-28 18:49:17 UTC
Created attachment 88874 [details]
screenshot on OS X 10.6.8 with kdelibs 4.14.1 (git/kde4.14) with the MacPorts patches and the QtCurve style

I don't get this issue on OS X 10.6.8 with kdelibs 4.14.1 (git/kde4.14) with the MacPorts patches and the QtCurve style (using a theme based on the "Agua" preset).
Comment 5 Marko Käning 2014-09-29 06:16:18 UTC
Thanks to René, I was able to install a stripped down version of ode-workspace on OSX [http://commits.kde.org/macports-kde/1f76f1038b58a781b7e37bdd8a22ebfac334ae0b].

This finally allowed to select a specific theme via "System Settings/Style/Applications/Widget Style".

Selecting *anything else* than "Macintosh (aqua)" solves the observed overlapping issue for the tab bar!!! :-)

The only drawback is some redrawing issue with the pull down selection lists, already found by René previously (don't know ATM whether a bug was opened for that already though).
Comment 6 RJVB 2014-09-29 07:32:16 UTC
*ode*-workspace?
The updating glitch in drop/pull down menus is because of compositing and the way Qt4-mac handles raster graphics, or something like that. At least that's what has been explained to me. It'd be interesting to see whether it's still there with Qt5, but in the meantime it'll only get fixed if someone intimate with these topics cares enough to look (and has a Mac). BTW, Oxygen also has an issue in pure Qt apps where most borders are drawn with too heavy lines. I can only think of a setting which initialised by KDE's theme loading code but not by Qt's to explain that.
Oxygen may not be the only theme that provokes this issue, but most of the other themes don't, nor does QtCurve. Trying Oxygen once *does* "install" the glitch in other themes too, until you restart the application.

Marko: I posted a port for QtCurve. It's a painless install, and contrary to Oxygen it will also work in pure QtCurve once you set up a link in Qt's plugin directory (my Portfile will do that).
The few snapshots I've posted lately are all made with that theme and a version of the settings that I've included with the port files.
Comment 7 RJVB 2014-09-29 07:33:57 UTC
BTW: should you give QtCurve a try you can also check if it indeed builds with Qt5, I understand it's supposed to. ;)
Comment 8 Marko Käning 2014-10-01 05:38:01 UTC
(In reply to RJVB from comment #6)
> *ode*-workspace?

OSX's auto-correction. :-(


> Marko: I posted a port for QtCurve. 

Where do I find this portfile? I know only your RR 120437.
Comment 9 RJVB 2014-10-01 08:22:02 UTC
On Wednesday October 01 2014, Marko Käning wrote regarding "[kate] [Bug 333049] Search-and-Replace form not properly laid out on MacOSX in version 3.12.2"

>> Marko: I posted a port for QtCurve. 
>
>Where do I find this portfile? I know only your RR 120437.

On trac of course ;)

https://trac.macports.org/ticket/44527

R.