Bug 304279

Summary: KWrite invoked by line command ignores part of the requested geometry.
Product: [Applications] kate Reporter: Jennifer <jennifertf3>
Component: kwriteAssignee: KWrite Developers <kwrite-bugs-null>
Status: RESOLVED FIXED    
Severity: normal CC: bart.polot
Priority: NOR    
Version: unspecified   
Target Milestone: ---   
Platform: Debian stable   
OS: Linux   
Latest Commit: Version Fixed In: 4.10.0

Description Jennifer 2012-07-30 11:17:25 UTC
I enter the following line command on a terminal: "kwrite /ddisk/i/Links.txt --geometry 690x576+100+100".  It accepts the 690x576 part of the geometry but ignores the +100+100.

Reproducible: Always

Steps to Reproduce:
1.  Invoke KWrite from a terminal, using your own file name, but with the geometry option as described above.  If it puts the window in the upper-left corner of the available screen, it's ignoring part of the geometry.
2.
3.
Actual Results:  
The window is always placed in the upper-left corner of the screen.

Expected Results:  
The window is placed where I want it.

I've been running this under the Gnome desktop.
Comment 1 Bart 2012-10-11 17:17:15 UTC
Duplicate of #165355
https://bugs.kde.org/show_bug.cgi?id=165355
Comment 2 Dominik Haumann 2012-10-24 16:10:02 UTC
Known issue, a patch to fix it has been proposed at https://git.reviewboard.kde.org/r/107023/

*** This bug has been marked as a duplicate of bug 165355 ***
Comment 3 Dominik Haumann 2012-10-24 21:23:11 UTC
not exactly a duplicate, hence leave it separate.
Comment 4 Dominik Haumann 2012-10-24 21:36:35 UTC
Git commit d5a0d33a249c52fde68b31654f4ab09221161e8c by Dominik Haumann.
Committed on 24/10/2012 at 23:36.
Pushed by dhaumann into branch 'KDE/4.10'.

fix offset in --geometry cmd line option

FIXED-IN: 4.10.0
REVIEW: 107023

M  +2    -2    kdeui/widgets/kmainwindow.cpp

http://commits.kde.org/kdelibs/d5a0d33a249c52fde68b31654f4ab09221161e8c