[frameworks-kxmlgui] [Bug 427875] On a multi screen setup, KDE app windows do not remember size, position, or the screen they were last opened on. For X11 when the left-most display is not the primary

2021-09-16 Thread Nate Graham
https://bugs.kde.org/show_bug.cgi?id=427875

Nate Graham  changed:

   What|Removed |Added

 CC||hugor.hugo...@gmail.com

--- Comment #47 from Nate Graham  ---
*** Bug 387736 has been marked as a duplicate of this bug. ***

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

[frameworks-kxmlgui] [Bug 427875] On a multi screen setup, KDE app windows do not remember size, position, or the screen they were last opened on. For X11 when the left-most display is not the primary

2021-09-16 Thread Nate Graham
https://bugs.kde.org/show_bug.cgi?id=427875

Nate Graham  changed:

   What|Removed |Added

 CC||piotr.mierzwin...@gmail.com

--- Comment #46 from Nate Graham  ---
*** Bug 442467 has been marked as a duplicate of this bug. ***

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

[frameworks-kxmlgui] [Bug 427875] On a multi screen setup, KDE app windows do not remember size, position, or the screen they were last opened on. For X11 when the left-most display is not the primary

2021-08-23 Thread Ismael Asensio
https://bugs.kde.org/show_bug.cgi?id=427875

--- Comment #45 from Ismael Asensio  ---
For what I could investigate, the problem here is not on save (it saves the
right size to the right monitor), but on loading.

When the app opens, the wrong window is passed to the size loading method, so
it loads the size for that window.

Then, the screen associated to the window is changed, a signal emitted (this is
a guess) and that previous size is saved to the other monitor, overriding the
previous setting.

I think the issue is that we try to load the size setting too early, before the
compositor has placed the window in the final screen.

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

[frameworks-kxmlgui] [Bug 427875] On a multi screen setup, KDE app windows do not remember size, position, or the screen they were last opened on. For X11 when the left-most display is not the primary

2021-08-21 Thread John Miller
https://bugs.kde.org/show_bug.cgi?id=427875

John Miller  changed:

   What|Removed |Added

 CC||neuromance...@yahoo.com

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

[frameworks-kxmlgui] [Bug 427875] On a multi screen setup, KDE app windows do not remember size, position, or the screen they were last opened on. For X11 when the left-most display is not the primary

2021-08-21 Thread Daniel Swarbrick
https://bugs.kde.org/show_bug.cgi?id=427875

Daniel Swarbrick  changed:

   What|Removed |Added

 CC||daniel.swarbr...@gmail.com

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

[frameworks-kxmlgui] [Bug 427875] On a multi screen setup, KDE app windows do not remember size, position, or the screen they were last opened on. For X11 when the left-most display is not the primary

2021-07-23 Thread bugzilla_noreply
https://bugs.kde.org/show_bug.cgi?id=427875

--- Comment #44 from friedrich.schrie...@gmx.net ---
Yes after some more testing I had the same results you described.

I've now added rules for every application, but something like this is not very
enjoyable or time efficient.

Maybe - until a proper solution is found - we can use KWin Scripts to automate
that process by adding a new rule  with the described settings for every
application each time a new window is opened, if there is not already one
available. Unfortunately I was not yet able to get my head around how this
system works.

 OS: Manjaro
 Kernel: Linux 5.10.52-1
 DE: KDE 5.83.0 / Plasma 5.22.3
 WM: KWin
 CPU: AMD Ryzen 5 Six core
 GPU: Nvidia GeForce GTX 1060 6GB

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

[frameworks-kxmlgui] [Bug 427875] On a multi screen setup, KDE app windows do not remember size, position, or the screen they were last opened on. For X11 when the left-most display is not the primary

2021-07-23 Thread Armin
https://bugs.kde.org/show_bug.cgi?id=427875

--- Comment #43 from Armin  ---
(In reply to friedrich.schriewer from comment #42)
> This fixed the issue for me.

Unfortunately, this does not really fix it for me. So, while introducing rules
to manipulate the window placement indeed forces the windows to obey these
rules, it seems to only "remember" one position per application where it should
remember the position of every window.

For example, if I open two documents in okular and arrange them on my screen
say side by side, kwin will only remember the position of one of them and apply
it to the other one as well. This applies to window positioning as well as
placement on virtual desktops (the latter being a real pain in the neck for
me).

At least that's the behaviour on my system running the latest KDE Plasma
version:
 OS: Fedora 34
 Kernel: x86_64 Linux 5.13.4-200.fc34.x86_64
 DE: KDE 5.83.0 / Plasma 5.22.3
 WM: KWin
 CPU: Intel Core i7-7600U
 GPU: Mesa Intel(R) HD Graphics 620

Which KDE/ Plasma version are you on?

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

[frameworks-kxmlgui] [Bug 427875] On a multi screen setup, KDE app windows do not remember size, position, or the screen they were last opened on. For X11 when the left-most display is not the primary

2021-07-23 Thread bugzilla_noreply
https://bugs.kde.org/show_bug.cgi?id=427875

--- Comment #42 from friedrich.schrie...@gmx.net ---
This fixed the issue for me.

Go to Settings > Window Management > Window Behaviour > Advanced

Uncheck Allow apps to remember the positions of their own windows, if they
support it


Go to Settings > Window Management > Window Rules > Add New...

Set the Window Class to Unimportant

Under Window types uncheck everything except for Normal Window

Click on Add Property... search for Position and change Apply Initially to
Remember.

Click on Add Property... search for Screen and change Apply Initially to
Remember.

Set the value to 0.

This works for me, now every window I've never opened before will open on my
primary screen and will remember it's position when I close it.

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

[frameworks-kxmlgui] [Bug 427875] On a multi screen setup, KDE app windows do not remember size, position, or the screen they were last opened on. For X11 when the left-most display is not the primary

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

Nate Graham  changed:

   What|Removed |Added

 CC||myndstr...@protonmail.ch

--- Comment #41 from Nate Graham  ---
*** Bug 439366 has been marked as a duplicate of this bug. ***

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

[frameworks-kxmlgui] [Bug 427875] On a multi screen setup, KDE app windows do not remember size, position, or the screen they were last opened on. For X11 when the left-most display is not the primary

2021-07-18 Thread bugzilla_noreply
https://bugs.kde.org/show_bug.cgi?id=427875

friedrich.schrie...@gmx.net changed:

   What|Removed |Added

 CC||friedrich.schrie...@gmx.net

--- Comment #40 from friedrich.schrie...@gmx.net ---
Could it possibly be that there is an issue with the screen counting?

If you select to move a window to another screen the screens will be labeled
Screen1 and Screen2 while Screen1 will always be the primary screen as can be
seen here
https://drive.google.com/file/d/1w8UEU8rhTzjbMPp95lP5dxtTRVE2Y4WJ/view
(Also apparently you can't take screenshots while in a menu)

When you look at the way screens are displayed in the window settings, you will
see that they start from 0 and count upwards. So in that case Screen0 is the
primary screen.
https://drive.google.com/file/d/1MFi2Or8OsAsla0bn9UykVbgIibEgDWDN/view

Now if you force the screen to appear on Screen0 in the window settings, the
window will appear on the primary screen. If you force Screen1 the window will
appear on the secondary screen. So in my theory the window's last screen
position will be saved as Screen1 mentioned in the first paragraph. But when
loading the window, the window will be placed on Screen1 mentioned in this
paragraph, so the secondary screen.

  Secondary | Primary
saving window's screen2 |1
loading win's   screen1 |0

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

[frameworks-kxmlgui] [Bug 427875] On a multi screen setup, KDE app windows do not remember size, position, or the screen they were last opened on. For X11 when the left-most display is not the primary

2021-05-17 Thread bugzilla_noreply
https://bugs.kde.org/show_bug.cgi?id=427875

hexer...@gmail.com changed:

   What|Removed |Added

 CC||hexer...@gmail.com

--- Comment #39 from hexer...@gmail.com ---
I'm having the following issues as well when the default monitor is on the
right and the secondary on the left:

- When right-clicking on a desktop icon the context menu opens some pixels on
the left (even going the in the other monitor).
- The windows position/size/monitor is not remembered properly in some
applications (like Dolphin).

SOFTWARE/OS VERSIONS
Operating System: Arch Linux
KDE Plasma Version: 5.21.5
KDE Frameworks Version: 5.82.0
Qt Version: 5.15.2
Kernel Version: 5.12.3-arch1-1
OS Type: 64-bit
Graphics Platform: X11
Processors: 20 × Intel® Core™ i9-10850K CPU @ 3.60GHz
Memory: 62.7 GiB of RAM
Graphics Processor: NVIDIA GeForce RTX 2060 SUPER/PCIe/SSE2

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

[frameworks-kxmlgui] [Bug 427875] On a multi screen setup, KDE app windows do not remember size, position, or the screen they were last opened on. For X11 when the left-most display is not the primary

2021-05-06 Thread Armin
https://bugs.kde.org/show_bug.cgi?id=427875

Armin  changed:

   What|Removed |Added

 CC||dkxl...@gmail.com

--- Comment #38 from Armin  ---
I experience the same issue on my Fedora 34 laptop. 

I typically use a large external screen and disable the laptop screen, so
technically only one screen active. However, I also tested this just with my
laptop screen active (i.e. unplugged the external screen entirely) and I have
the same issue.

No matter which screen arrangement I use, KDE/Plasma does not remember the
window location. Also, all windows will be moved to the first virtual desktop
after a reboot even if they were distributed over the 8 virtual desktops I
typically use to compartmentalise my work.

Given the large number of duplicate bugs which more or less report the same
issue, combined with the fact that I can reproduce this in a single and
multi-screen setup, it seems there is something fundamentally broken in the
logic that decides how to arrange the windows and this is not necessarily
related to the number of physical screens.

Also, all applications are affected by this, KDE or others such as Google
Chrome or XUL-based applications.

I only tested this properly on X11, wayland is not yet usable in a production
environment anyway due to the lareg number of outstanding showstoppers issues.


SOFTWARE/OS VERSIONS
 OS: Fedora 
 Kernel: x86_64 Linux 5.11.17-300.fc34.x86_64
 DE: KDE 5.80.0 / Plasma 5.21.4
 WM: KWin
 CPU: Intel Core i7-7600U
 GPU: Mesa Intel(R) HD Graphics 620

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

[frameworks-kxmlgui] [Bug 427875] On a multi screen setup, KDE app windows do not remember size, position, or the screen they were last opened on. For X11 when the left-most display is not the primary

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

Nate Graham  changed:

   What|Removed |Added

 CC||xnw...@yandex.com

--- Comment #37 from Nate Graham  ---
*** Bug 435357 has been marked as a duplicate of this bug. ***

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

[frameworks-kxmlgui] [Bug 427875] On a multi screen setup, KDE app windows do not remember size, position, or the screen they were last opened on. For X11 when the left-most display is not the primary

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

Nate Graham  changed:

   What|Removed |Added

Summary|On a multi screen setup |On a multi screen setup,
   |windows do not remember |KDE app windows do not
   |size, position, or the  |remember size, position, or
   |screen they were last   |the screen they were last
   |opened on. For X11 when the |opened on. For X11 when the
   |left-most display is not|left-most display is not
   |the primary one.|the primary one.

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