Version: (using KDE KDE 3.2.92) Installed from: Slackware Packages kdialog does not respect --geometry in command line. Dialogs like textbox and msgbox are always placed in the center of screen (stil bearable) while passivepopup always sits in the left-top corner (very annoying).
CVS commit by bhards: Initial support for --geometry argument. Works for text boxes, menus (including checklists, radiolists and comboboxes), password dialogs. Doesn't work for message boxes, input boxes, file dialogs or passive popup. Passive popup is looking particularly messy. CCMAIL: 87389@bugs.kde.org M +1 -1 progressdemo 1.2 M +2 -0 progressdialog.cpp 1.4 M +18 -10 test 1.10 M +32 -0 widgets.cpp 1.10 M +3 -0 widgets.h 1.8
As a minor wishlist item, a reference to man X in the kdialog --help-kde entry for --geometry would make the format of the argumnets transparently clear.
Apparently the CVS commit in comment #1 above has not made it into KDE 3.3.1. Can you give us any idea of when it will be part of the release?
New features don't make it to stable branches.
I've just committed the change for the --geometry text. You can expect to see that in KDE 3.4 as well.
Could this be done for the passivepopup window as well? I'd like to call passivepopup windows from a shell script, but having them appear in the upper left corner makes them hardly visible (at least on my desktop). I'd like to have them appear near the systray, just like the popups from kopete. Or is there another way to do that?
Sure, I'd like to do it for everything. However I am not seeing an easy way.
Passive popups seems to work (3.5.7) but still several "normal" dialog windows do not -- for example msgbox.
This problem is still not fixed in KDE 4.2.1 and makes it very difficult to write nice kdialog scripts. E.g. kdialog --geometry 400x200 --inputbox "bla bla \n bla" doesn't respect it at all. Another funny thing is that --inputbox doesn't respect the \n as well, whereas --msgbox does a nice newline... Would be really great if this could somehow be fixed...
I'll take a patch for the --geometry issue if you have one. It isn't that it isn't meant to work (i.e. this is a valid bug), it is just that it isn't very important to me, and last time I looked it isn't trivial to fix. The \n issue is covered in https://bugs.kde.org/show_bug.cgi?id=148575 Thanks for using kdialog and reporting the issue is still valid though.