Version: (using KDE 4.0.2) Installed from: Ubuntu Packages *I reported this at https://bugs.launchpad.net/ubuntu/+source/kdesdk-kde4/+bug/193063 and was asked to file upstream. I've been using KDE4 kate in gnome (4:4.0.2-0ubuntu1~gutsy1~ppa1) and if I press Ctrl+R to replace some text the window is resized wider than my screen. If kate was maximized one side lines lines up with my screen while the other side hangs off my monitor. Clicking the mouse anywhere in the window causes the window to switch so the opposite side hangs off my screen. If the window is not maximized I can resize the window, but I can only make it larger. This started happening after KDE4.0.1 was released in the PPA. I just edited my ~/.kde4/share/config/katerc and removed my Search Pattern History and Replacement Text History and it works now. The problem was that when Kate creates the replace dialog at the bottom of the window, the drop down is made wide enough for the longest search or replace you've ever done. Steps to reproduce: 1. Open Kate 2. Press Ctrl+R to get the search and replace options 3. search for a very long sentence that doesn't fit within the search field. 4. close and reopen kate 5. When you press Ctrl+R the window will expand wide enough to fit your entire search into the drop down at the bottom. You can make the window wider, but not smaller.
I can confirm this bug. I concur with the poster that it appears to be based on the find and/or replace text widget being resized to fit the widest history text for those widgets, which can have the effect of making the window wider than the screen. This severely affects the usability of find/replace widget as the action buttons "find/next/replace/all" can be pushed off-screen meaning the user must move the window to access them. The bug is present even when the kate window is maximised: pressing Ctrl-R will un-maximise the window and resize it to wider than the screen. I am using KDE 4.0.2 from the PPA repositories for Kubuntu Gutsy on one computer and KDE 4.0.2 from the Kubuntu Hardy beta release on another. The bug as described is present on both.
I can confirm this with KDE 4.0.3.
Version 4.1.00 (KDE 4.1.0) (KDEmod) in ArchLinux i686: I can't reproduce this bug. Can you still reproduce it with a recent version of KDE (4.0.5 or 4.1) ?
I had the same bug with Kate in 4.0.0 through to 4.0.5, but in 4.1.0 it has disappeared for me.
This bug is still present in Version: 4:4.1.0-0ubuntu1~hardy1~ppa2. I'm using the Ubuntu Hardy Heron PPA listed here: https://edge.launchpad.net/~kubuntu-members-kde4/+archive
Archlinux with kdemod (which is vanilla), i can reproduce the bug, but it happens ALWAYS when i open the replace dialog, i dont even have to enter a long string... (1024x768 resolution)
... aaaaand confirmed on kate 3.1.1 (kde 4.1.1). the problem was gone in the 4.1.0, and now re-appeared: just doing CTRL+r makes the window way to large (horizontally).
I confirm that bug in kde 4.1.1, ubuntu package.
Bug still present in KDE 4.1.3. I have to say that I wish there we could have the good old search/replace dialog back as an option, as the new one not only resizes the window for the search, but does not put it back as it was before the search. This makes it difficult to respect width-based coding rules, and thus renders Kate much less usable than it was in KDE3.
> This makes it difficult to respect width-based coding rules, and thus renders > Kate much less usable than it was in KDE3. IMO this is what the static word wrap marker is for :-). I have /never/ used window size as an indicator; it's far too much effort compared to just having a neat line at the end of the "last allowed column".
I cannot reproduce this any more with the new replace dialog in KDE 4.2 beta1.