[konsole] [Bug 427610] Konsole manages its own window position even when forcing KWin to manage window placement

2022-10-15 Thread Dave
https://bugs.kde.org/show_bug.cgi?id=427610

Dave  changed:

   What|Removed |Added

 CC||d...@decent.cz

-- 
You are receiving this mail because:
You are watching all bug changes.

[konsole] [Bug 427610] Konsole manages its own window position even when forcing KWin to manage window placement

2022-04-22 Thread Jim Jones
https://bugs.kde.org/show_bug.cgi?id=427610

--- Comment #51 from Jim Jones  ---
ping

-- 
You are receiving this mail because:
You are watching all bug changes.

[konsole] [Bug 427610] Konsole manages its own window position even when forcing KWin to manage window placement

2021-10-15 Thread Jim Jones
https://bugs.kde.org/show_bug.cgi?id=427610

--- Comment #50 from Jim Jones  ---
any updates on this bug?

-- 
You are receiving this mail because:
You are watching all bug changes.

[konsole] [Bug 427610] Konsole manages its own window position even when forcing KWin to manage window placement

2021-08-04 Thread Alec Habig
https://bugs.kde.org/show_bug.cgi?id=427610

Alec Habig  changed:

   What|Removed |Added

 CC||aha...@umn.edu

--- Comment #49 from Alec Habig  ---
This has been bugging me for a while, but finally started searching around bug
reports to see.  plasma version 5.22.4, konsole5 version 21.04.2 (in Fedora 34)

Same behavior as described here towards the end of this thread: selecting "run
all konsole instances in a single process" lets the placement do the "minimal
overlapping" I've asked of kWin, but without that they all end up stacked in
one place.  Which might even be a fine workaround, we'll see if this causes
problems for me long term.

As for a why: sounds like a race condition in konsole writing its state out for
future use that's triggered by having multiple processes trying to do it.  A
wild guess: is konsole one of the few programs that users tend to have a lot of
open at once, while for most plasma applications you're happy with only one of
them running at a time?  Maybe if Dolphin et al ran as separate processes per
open window they'd do the same.

-- 
You are receiving this mail because:
You are watching all bug changes.

[konsole] [Bug 427610] Konsole manages its own window position even when forcing KWin to manage window placement

2021-03-03 Thread Nate Graham
https://bugs.kde.org/show_bug.cgi?id=427610

--- Comment #48 from Nate Graham  ---
i can reproduce with that command but I have no idea what the cause might be.

-- 
You are receiving this mail because:
You are watching all bug changes.

[konsole] [Bug 427610] Konsole manages its own window position even when forcing KWin to manage window placement

2021-03-03 Thread Jim Jones
https://bugs.kde.org/show_bug.cgi?id=427610

--- Comment #47 from Jim Jones  ---
ping

-- 
You are receiving this mail because:
You are watching all bug changes.

[konsole] [Bug 427610] Konsole manages its own window position even when forcing KWin to manage window placement

2021-02-15 Thread Jim Jones
https://bugs.kde.org/show_bug.cgi?id=427610

--- Comment #46 from Jim Jones  ---
btw the same happens for dolphin too


for i in {1..2} ; do ( dolphin & ) ; done

now both dolphin windows overlap each other to 100% aka get placed at the same
positon

-- 
You are receiving this mail because:
You are watching all bug changes.

[konsole] [Bug 427610] Konsole manages its own window position even when forcing KWin to manage window placement

2021-02-14 Thread Jim Jones
https://bugs.kde.org/show_bug.cgi?id=427610

--- Comment #45 from Jim Jones  ---
the only bug that still exists:

this command still places two windows on top of each other

for i in {1..2} ; do ( konsole & ) ; done

disabling "Allow KDE apps to remember the position of their own window", places
them at different positions aka they don't overlap each other to 100%

-- 
You are receiving this mail because:
You are watching all bug changes.

[konsole] [Bug 427610] Konsole manages its own window position even when forcing KWin to manage window placement

2021-02-13 Thread Jim Jones
https://bugs.kde.org/show_bug.cgi?id=427610

--- Comment #44 from Jim Jones  ---
Enabling the option

"Run all Konsole windows in a single process" in konsole fixes the bug for me
and windows don't overlap each other after this option is enabled, disabling
the option leads to the same broken behavior.

-- 
You are receiving this mail because:
You are watching all bug changes.

[konsole] [Bug 427610] Konsole manages its own window position even when forcing KWin to manage window placement

2021-02-13 Thread Jim Jones
https://bugs.kde.org/show_bug.cgi?id=427610

Jim Jones  changed:

   What|Removed |Added

 Ever confirmed|0   |1
 Resolution|WAITINGFORINFO  |---
 Status|NEEDSINFO   |CONFIRMED

--- Comment #43 from Jim Jones  ---
I'm now on 5.79 framework and the bug is still there.

But I'm still on plasma 5.20, maybe 5.21 fixes the bug?

-- 
You are receiving this mail because:
You are watching all bug changes.

[konsole] [Bug 427610] Konsole manages its own window position even when forcing KWin to manage window placement

2021-02-07 Thread Nate Graham
https://bugs.kde.org/show_bug.cgi?id=427610

Nate Graham  changed:

   What|Removed |Added

 Resolution|--- |WAITINGFORINFO
 Status|REPORTED|NEEDSINFO

--- Comment #42 from Nate Graham  ---
Thanks. I wonder if there is a chance that this will be fixed accidentally by
the fix for Bug 430521. There were a few more corner cases with this stuff that
I fixed in that bug. It should be released in a few days, with Frameworks 5.79.
Could you test again with that once it's out?

If it's still broken after that, then I am well and truly stumped. :(

-- 
You are receiving this mail because:
You are watching all bug changes.

[konsole] [Bug 427610] Konsole manages its own window position even when forcing KWin to manage window placement

2021-02-05 Thread Jim Jones
https://bugs.kde.org/show_bug.cgi?id=427610

--- Comment #41 from Jim Jones  ---
Created attachment 135439
  --> https://bugs.kde.org/attachment.cgi?id=135439=edit
resetting the config only works until konsole is closed again

-- 
You are receiving this mail because:
You are watching all bug changes.

[konsole] [Bug 427610] Konsole manages its own window position even when forcing KWin to manage window placement

2021-02-05 Thread Jim Jones
https://bugs.kde.org/show_bug.cgi?id=427610

--- Comment #40 from Jim Jones  ---
deleting all konsole related config files with

# rm -rf ./.config/konsolerc ./konsole ./.local/share/konsole

fixes the bug for a short time but after opening and closing konsole a few
times, the same behavior is back again

-- 
You are receiving this mail because:
You are watching all bug changes.

[konsole] [Bug 427610] Konsole manages its own window position even when forcing KWin to manage window placement

2021-02-05 Thread Jim Jones
https://bugs.kde.org/show_bug.cgi?id=427610

Jim Jones  changed:

   What|Removed |Added

 Attachment #135437|0   |1
is obsolete||

--- Comment #39 from Jim Jones  ---
Created attachment 135438
  --> https://bugs.kde.org/attachment.cgi?id=135438=edit
video showing the bug

-- 
You are receiving this mail because:
You are watching all bug changes.

[konsole] [Bug 427610] Konsole manages its own window position even when forcing KWin to manage window placement

2021-02-05 Thread Jim Jones
https://bugs.kde.org/show_bug.cgi?id=427610

--- Comment #38 from Jim Jones  ---
Created attachment 135437
  --> https://bugs.kde.org/attachment.cgi?id=135437=edit
video showing the bug

-- 
You are receiving this mail because:
You are watching all bug changes.

[konsole] [Bug 427610] Konsole manages its own window position even when forcing KWin to manage window placement

2021-02-03 Thread Nate Graham
https://bugs.kde.org/show_bug.cgi?id=427610

Nate Graham  changed:

   What|Removed |Added

 Ever confirmed|1   |0
 Status|CONFIRMED   |REPORTED

--- Comment #37 from Nate Graham  ---
Thanks. I still cannot reproduce that. :( That's why I wanted a screen
recording. Sometimes a video reveals extra information that you didn't think to
report because it didn't seem unusual to you, because you've set it that way or
been living with it for years.

-- 
You are receiving this mail because:
You are watching all bug changes.

[konsole] [Bug 427610] Konsole manages its own window position even when forcing KWin to manage window placement

2021-02-03 Thread Jim Jones
https://bugs.kde.org/show_bug.cgi?id=427610

--- Comment #36 from Jim Jones  ---
"Allow KDE apps to rememeber ..." enabled + "Remember window size" enabled:

CORRECT: stores the position correctly on exit and opens the first instance at
the stored position

ERROR: doesn't hand over the instances after the first instance to kwin aka the
following instances overlap each other as they get also opened at the same
position


"Allow KDE apps to rememeber ..." enabled + "Remember window size" disabled:

ERROR: doesn't store the position on exit and always opens the first instance
at the same position

CORRECT: the instances that gets open afterwards get handed over to kwin

-- 
You are receiving this mail because:
You are watching all bug changes.

[konsole] [Bug 427610] Konsole manages its own window position even when forcing KWin to manage window placement

2021-02-03 Thread Jim Jones
https://bugs.kde.org/show_bug.cgi?id=427610

Jim Jones  changed:

   What|Removed |Added

 Status|NEEDSINFO   |CONFIRMED
 Resolution|WAITINGFORINFO  |---

--- Comment #35 from Jim Jones  ---
"Allow KDE apps to rememeber ..." enabled + "Remember window size" enabled:
1) last konsole window is at position A when it gets closed
2) the next window that gets opened is opened at position A

everything is correct up to this point but

3) following instances that get opened afterwards get also opened at position A
aka overlap the last opened window to 100% instead of handling over the window
to kwin (which would palce them at a different point)



"Allow KDE apps to rememeber ..." enabled + "Remember window size" disabled:
1) last konsole window is at position A when it gets closed
2) the position isn't stored on exit, following windows always get opened at
the same position B
3) but the second instance is handed over to kwin aka they don't overlap like
in the case before


is the description better now?

-- 
You are receiving this mail because:
You are watching all bug changes.

[konsole] [Bug 427610] Konsole manages its own window position even when forcing KWin to manage window placement

2021-02-02 Thread Nate Graham
https://bugs.kde.org/show_bug.cgi?id=427610

--- Comment #34 from Nate Graham  ---
I'm afraid I've read your last few comments several times and I'm still
confused, sorry. :( Is there any chance you could attach a screen recording
that demonstrates the issue?

-- 
You are receiving this mail because:
You are watching all bug changes.

[konsole] [Bug 427610] Konsole manages its own window position even when forcing KWin to manage window placement

2021-01-21 Thread Jim Jones
https://bugs.kde.org/show_bug.cgi?id=427610

--- Comment #33 from Jim Jones  ---
(In reply to Nate Graham from comment #32)
> (In reply to Jim Jones from comment #31)
> > To make i more easy to read:
> > 
> > "Allow KDE apps to rememeber ..." + "Remember window size":
> > restores the windows the gets opened after the last got closed at the same
> > position, but following windows get opened at the same position aka overlap
> What window placement strategy is KWin using? "Minimal overlapping" or
> something else?

"Minimal overlapping"

> > "Allow KDE apps to rememeber ..." + ( "Remember window size" disabled ):
> > doesn't store the last position but doesn't create following windows at the
> > same position aka kwin handles the following window
> This sounds like the intended behavior, no?

The window position of the last closed window doesn't seem to get
honored/stored and the first window after the last closed window, always gets
created at the same position

aka

last window gets closed at position "A" and the first window afterwards always
gets opened at position "B" doesn't matter where the last window got closed

-- 
You are receiving this mail because:
You are watching all bug changes.

[konsole] [Bug 427610] Konsole manages its own window position even when forcing KWin to manage window placement

2021-01-21 Thread Nate Graham
https://bugs.kde.org/show_bug.cgi?id=427610

Nate Graham  changed:

   What|Removed |Added

 Resolution|--- |WAITINGFORINFO
 Status|REOPENED|NEEDSINFO

--- Comment #32 from Nate Graham  ---
(In reply to Jim Jones from comment #31)
> To make i more easy to read:
> 
> "Allow KDE apps to rememeber ..." + "Remember window size":
> restores the windows the gets opened after the last got closed at the same
> position, but following windows get opened at the same position aka overlap
What window placement strategy is KWin using? "Minimal overlapping" or
something else?

> "Allow KDE apps to rememeber ..." + ( "Remember window size" disabled ):
> doesn't store the last position but doesn't create following windows at the
> same position aka kwin handles the following window
This sounds like the intended behavior, no?

-- 
You are receiving this mail because:
You are watching all bug changes.

[konsole] [Bug 427610] Konsole manages its own window position even when forcing KWin to manage window placement

2021-01-20 Thread Jim Jones
https://bugs.kde.org/show_bug.cgi?id=427610

--- Comment #31 from Jim Jones  ---
To make i more easy to read:

"Allow KDE apps to rememeber ..." + "Remember window size":
restores the windows the gets opened after the last got closed at the same
position, but following windows get opened at the same position aka overlap

"Allow KDE apps to rememeber ..." + ( "Remember window size" disabled ):
doesn't store the last position but doesn't create following windows at the
same position aka kwin handles the following window

-- 
You are receiving this mail because:
You are watching all bug changes.

[konsole] [Bug 427610] Konsole manages its own window position even when forcing KWin to manage window placement

2021-01-20 Thread Jim Jones
https://bugs.kde.org/show_bug.cgi?id=427610

--- Comment #30 from Jim Jones  ---
btw dolphin works correctly, it rembers it's window position and places the
first window created after the last got closed at the same position and all
following windows are handled by kwin

-- 
You are receiving this mail because:
You are watching all bug changes.

[konsole] [Bug 427610] Konsole manages its own window position even when forcing KWin to manage window placement

2021-01-20 Thread Jim Jones
https://bugs.kde.org/show_bug.cgi?id=427610

Jim Jones  changed:

   What|Removed |Added

 Status|RESOLVED|REOPENED
 Resolution|FIXED   |---

--- Comment #29 from Jim Jones  ---
(In reply to Kurt Hindenburg from comment #28)
> Git commit d22236c3615ac2189c0254d71614eda316130abd by Kurt Hindenburg, on
> behalf of Nate Graham.
> Committed on 20/01/2021 at 15:25.
> Pushed by hindenburg into branch 'master'.
> 
> Fix "Remember window size" not working when unchecked
> 
> When this feature is turned off, it deletes some keys from Konsole's
> config file. However this broke recently for two reasons:
> 
> 1. The key names changed a few Frameworks releases ago
> 2. There are new keys that need to be deleted or else position gets
>restored too
> 
> This commit fixes that bug by updating the condition to delete all the
> config keys required to make the off state for this feature work again.
> FIXED-IN: 20.12.2
> (cherry picked from commit 8fa1c4b508b080f958a16d52a1e03bcf9e7e4495)
> 
> M  +16   -3src/MainWindow.cpp
> 
> https://invent.kde.org/utilities/konsole/commit/
> d22236c3615ac2189c0254d71614eda316130abd

When I apply this patch and set "Allow KDE apps to rememeber ..." in the
settings and set "Remember window size" in the konsole settings, konsole window
still open ontop of each other aka overlap each other

When i disable "Remember window size" in the konsole settings and let "Allow
KDE apps to rememeber ..." enabled in the settings, a new konsole window always
opens in the top left corner and it doesn't seem to remember it's position at
all.

Do i have to apply aother patch too to make it work correctly?





did i do something wrong?

-- 
You are receiving this mail because:
You are watching all bug changes.

[konsole] [Bug 427610] Konsole manages its own window position even when forcing KWin to manage window placement

2021-01-20 Thread Kurt Hindenburg
https://bugs.kde.org/show_bug.cgi?id=427610

Kurt Hindenburg  changed:

   What|Removed |Added

  Latest Commit|https://invent.kde.org/util |https://invent.kde.org/util
   |ities/konsole/commit/8fa1c4 |ities/konsole/commit/d22236
   |b508b080f958a16d52a1e03bcf9 |c3615ac2189c0254d71614eda31
   |e7e4495 |6130abd

--- Comment #28 from Kurt Hindenburg  ---
Git commit d22236c3615ac2189c0254d71614eda316130abd by Kurt Hindenburg, on
behalf of Nate Graham.
Committed on 20/01/2021 at 15:25.
Pushed by hindenburg into branch 'master'.

Fix "Remember window size" not working when unchecked

When this feature is turned off, it deletes some keys from Konsole's
config file. However this broke recently for two reasons:

1. The key names changed a few Frameworks releases ago
2. There are new keys that need to be deleted or else position gets
   restored too

This commit fixes that bug by updating the condition to delete all the
config keys required to make the off state for this feature work again.
FIXED-IN: 20.12.2
(cherry picked from commit 8fa1c4b508b080f958a16d52a1e03bcf9e7e4495)

M  +16   -3src/MainWindow.cpp

https://invent.kde.org/utilities/konsole/commit/d22236c3615ac2189c0254d71614eda316130abd

-- 
You are receiving this mail because:
You are watching all bug changes.

[konsole] [Bug 427610] Konsole manages its own window position even when forcing KWin to manage window placement

2021-01-20 Thread Nate Graham
https://bugs.kde.org/show_bug.cgi?id=427610

Nate Graham  changed:

   What|Removed |Added

 Status|ASSIGNED|RESOLVED
  Latest Commit||https://invent.kde.org/util
   ||ities/konsole/commit/8fa1c4
   ||b508b080f958a16d52a1e03bcf9
   ||e7e4495
 Resolution|--- |FIXED
   Version Fixed In||20.12.2

--- Comment #27 from Nate Graham  ---
Git commit 8fa1c4b508b080f958a16d52a1e03bcf9e7e4495 by Nate Graham.
Committed on 20/01/2021 at 05:15.
Pushed by hindenburg into branch 'release/20.12'.

Fix "Remember window size" not working when unchecked

When this feature is turned off, it deletes some keys from Konsole's
config file. However this broke recently for two reasons:

1. The key names changed a few Frameworks releases ago
2. There are new keys that need to be deleted or else position gets
   restored too

This commit fixes that bug by updating the condition to delete all the
config keys required to make the off state for this feature work again.
FIXED-IN: 20.12.2

M  +16   -3src/MainWindow.cpp

https://invent.kde.org/utilities/konsole/commit/8fa1c4b508b080f958a16d52a1e03bcf9e7e4495

-- 
You are receiving this mail because:
You are watching all bug changes.

[konsole] [Bug 427610] Konsole manages its own window position even when forcing KWin to manage window placement

2021-01-19 Thread Bug Janitor Service
https://bugs.kde.org/show_bug.cgi?id=427610

Bug Janitor Service  changed:

   What|Removed |Added

 Status|CONFIRMED   |ASSIGNED

--- Comment #26 from Bug Janitor Service  ---
A possibly relevant merge request was started @
https://invent.kde.org/utilities/konsole/-/merge_requests/331

-- 
You are receiving this mail because:
You are watching all bug changes.

[konsole] [Bug 427610] Konsole manages its own window position even when forcing KWin to manage window placement

2021-01-19 Thread Nate Graham
https://bugs.kde.org/show_bug.cgi?id=427610

--- Comment #25 from Nate Graham  ---
Found the bug. MR incoming.

-- 
You are receiving this mail because:
You are watching all bug changes.

[konsole] [Bug 427610] Konsole manages its own window position even when forcing KWin to manage window placement

2021-01-19 Thread Nate Graham
https://bugs.kde.org/show_bug.cgi?id=427610

--- Comment #24 from Nate Graham  ---
Problem is probably in or around line 68 of MainWindow.cpp

-- 
You are receiving this mail because:
You are watching all bug changes.

[konsole] [Bug 427610] Konsole manages its own window position even when forcing KWin to manage window placement

2021-01-19 Thread Nate Graham
https://bugs.kde.org/show_bug.cgi?id=427610

Nate Graham  changed:

   What|Removed |Added

 Resolution|WAITINGFORINFO  |---
 Status|NEEDSINFO   |CONFIRMED
Summary|Konsole no longer follows   |Konsole manages its own
   |window placement policy |window position even when
   ||forcing KWin to manage
   ||window placement

--- Comment #23 from Nate Graham  ---
Ah ok, so the bug here is that when you use that setting, Konsole manages its
own position anyway. Can confirm. Will work on it.

-- 
You are receiving this mail because:
You are watching all bug changes.