When using the internal search, it seems that the ktorrent mainwin is adjusted to the preferred size of the khtmlpart, which depends on the content of the widget. E.g. if I search on bittorrent.com for "Schubert", the mainwin is resized to a width about 1.5x of my screen width, even when the mainwin is in maximized mode. IMO the ktorrent window should _never_ be automatically resized.
I'm aware of this problem, but I haven't yet figured out why it is happening.
Created attachment 12246 [details] stop ktorrent to resize automatically This patch fixes the problem for me, setting the ResizeMode of the layout the HTMLPart is in to QLayout::Minimum.
Patch doesn't fix it. But I have figured out the cause, it seems that the statusbar is causing the problem. When you move with the cursor over a really long URL, that URL will be displayed in the statusbar, but because it's really long, the label displaying the URL will be expanded which causes the whole statusbar and thus also the window to expand.
SVN commit 450003 by guisson: Changes : - Tracker and derivatives now interpret their data instead of TorrentControl and PeerManager, which makes for some cleaner code. Tracker and TorrentControl now also communicate through signals - The port used by UDPTracker is now configurable - Added warning message for people to forward their ports in the download preferences - Drag and Drop of URL's into view now works (FEATURE 110937) - Set proper filter in open file dialog (FEATURE 110940) - Fixed small bug in KTorrentCore::stop - Use colors in Status column of KTorrentView - Used KSqueezedTextLabel for first item of StatusBar (Fixes Bug 110938) FEATURE: 110937 FEATURE: 110940 BUG: 110938 GUI M +1 -0 TODO M +89 -8 libtorrent/httptracker.cpp M +4 -5 libtorrent/httptracker.h M +2 -96 libtorrent/peermanager.cpp M +12 -26 libtorrent/peermanager.h M +17 -79 libtorrent/torrentcontrol.cpp M +23 -23 libtorrent/torrentcontrol.h M +1 -1 libtorrent/tracker.cpp M +22 -11 libtorrent/tracker.h M +43 -24 libtorrent/udptracker.cpp M +6 -2 libtorrent/udptracker.h M +75 -7 src/downloadpref.ui M +1 -1 src/infowidget.cpp M +15 -20 src/ktorrent.cpp M +3 -6 src/ktorrent.h M +6 -0 src/ktorrent.kcfg M +5 -3 src/ktorrentcore.cpp M +11 -2 src/ktorrentview.cpp M +3 -0 src/ktorrentview.h M +60 -2 src/ktorrentviewitem.cpp M +4 -0 src/ktorrentviewitem.h M +27 -12 src/pref.cpp M +4 -3 src/pref.h M +7 -0 src/searchwidget.cpp M +1 -0 src/searchwidget.h