Bug 304279 - KWrite invoked by line command ignores part of the requested geometry.
Summary: KWrite invoked by line command ignores part of the requested geometry.
Status: RESOLVED FIXED
Alias: None
Product: kate
Classification: Applications
Component: kwrite (show other bugs)
Version: unspecified
Platform: Debian stable Linux
: NOR normal
Target Milestone: ---
Assignee: KWrite Developers
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2012-07-30 11:17 UTC by Jennifer
Modified: 2012-10-24 21:36 UTC (History)
1 user (show)

See Also:
Latest Commit:
Version Fixed In: 4.10.0


Attachments

Note You need to log in before you can comment on or make changes to this bug.
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