On Monday 15 March 2010 06:59:59 David C. Rankin wrote:
Guys,
With kde44, there is this new open dialog that appears every time you try and load a file into system settings that is NOT a real file open dialog:
It is a royal pain in the butt to work with if you have more than one file to install from the same location because it cannot remember the last directory you installed something from, causing you to have to re-navigate the entire directory tree to get back to where you just were. A real pain if you have 4-5 cursors to load from say ~/dt/kde4/xadditions/xcursors/..
It's KUrlRequesterDialog , and it's been there since the mouse cursors UI was ported from KDE 3 in r698740 on Fri, 10 Aug 2007.
Can this thing be disabled or can a secret switch be flipped so that it can remember the last directory?
I get that this thing supposedly allows you to drag-n-drop something on it, but that is a completely ridiculous thing to have pop up in response to a "browse for file" button. Think about it, to ever use a drag-n-drop, you would have to configure your desktop so the file you want is visible before you pressed "browse for a file". It really kindof defeats the whole purpose of "browse for a file"
So where is the switch to politely turn this off?
You can get the full file dialog by clicking the file dialog icon to the right of the URL field, and using this you can access the last used directory in its path history combo box. It would be a few lines of code to store the directory of the last successfully installed theme for the lifetime of the control module, and reuse it directly the next time 'Install theme is shown'. If someone wants to get their hands dirty, see kdebase/workspace/kcontrol/input/xcursor/themepage.cpp Will -- Will Stephenson, KDE Developer, openSUSE Boosters Team SUSE LINUX Products GmbH - Nürnberg - AG Nürnberg - HRB 16746 - GF: Markus Rex -- To unsubscribe, e-mail: opensuse+unsubscribe@opensuse.org For additional commands, e-mail: opensuse+help@opensuse.org