[frameworks-kconfig] [Bug 401042] kate doesn't remember size when resized on second monitor

2022-10-12 Thread Zhong Lufan
https://bugs.kde.org/show_bug.cgi?id=401042

Zhong Lufan  changed:

   What|Removed |Added

 CC||lufanzh...@gmail.com
 Status|ASSIGNED|RESOLVED
   Version Fixed In||5.99
 Resolution|--- |FIXED

--- Comment #6 from Zhong Lufan  ---
According to my tests (two screens with different resolutions), this bug has
been fixed.

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

[frameworks-kconfig] [Bug 401042] kate doesn't remember size when resized on second monitor

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

Nate Graham  changed:

   What|Removed |Added

 CC||n...@kde.org

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

[frameworks-kconfig] [Bug 401042] kate doesn't remember size when resized on second monitor

2022-01-13 Thread Bug Janitor Service
https://bugs.kde.org/show_bug.cgi?id=401042

Bug Janitor Service  changed:

   What|Removed |Added

 Status|REOPENED|ASSIGNED

--- Comment #5 from Bug Janitor Service  ---
A possibly relevant merge request was started @
https://invent.kde.org/frameworks/kconfig/-/merge_requests/101

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

[frameworks-kconfig] [Bug 401042] kate doesn't remember size when resized on second monitor

2019-07-27 Thread Maxwell Reid
https://bugs.kde.org/show_bug.cgi?id=401042

Maxwell Reid  changed:

   What|Removed |Added

 CC||dicke...@outlook.com

--- Comment #4 from Maxwell Reid  ---
I have tested this bug on my dual monitor system. I am seeing the exact same
behaviour as shown in the video. Two colleagues of mine who also use KDE can
confirm this bug also. This bug occurs with other KDE applications (such as
Dolphin and Okular) too, not just Kate.

In my case, my primary montior is to the right of my secondary monitor. This
means that I have to move a window to my secondary monitor and resize it there
before it will remember that size the next time I start it. This interrupts my
workflow and makes the desktop unpleasant to work with.

I switched the positions of my monitors in KDE's settings (the primary monitor
is now to the left of the secondary monitor) and the behaviour is now reversed:
window sizes are only remembered when changed on the primary (left) monitor.

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

[frameworks-kconfig] [Bug 401042] kate doesn't remember size when resized on second monitor

2019-06-09 Thread S. Christian Collins
https://bugs.kde.org/show_bug.cgi?id=401042

S. Christian Collins  changed:

   What|Removed |Added

 Attachment #116311|0   |1
is obsolete||

--- Comment #3 from S. Christian Collins  ---
Created attachment 120735
  --> https://bugs.kde.org/attachment.cgi?id=120735=edit
video showing repro method in VirtualBox

This bug is still present in current Git (Kate package version in KDE neon
Developer Edition: 4:19.04.2+p18.04+git20190606.1109-0). I have attached a new
video showing how to repro this bug consistently in Virtualbox. Here's how:
1. Configure the VM for two monitors.
2. Set the primary and monitor to 800 x 600 and the secondary monitor to 1024 x
768.
3. Open Kate, drag it to the second monitor and resize it, then close it.
4. Open Kate again.

Result: Kate does not remember the new size.

Is there a way to stop Kate from remembering its window size altogether? I have
set KDE's window rules to enforce a specific screen location and size on
startup, but Kate overrides this with its own values, and combined with this
bug makes for a frustrating experience.

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

[frameworks-kconfig] [Bug 401042] kate doesn't remember size when resized on second monitor

2019-03-23 Thread S. Christian Collins
https://bugs.kde.org/show_bug.cgi?id=401042

S. Christian Collins  changed:

   What|Removed |Added

 Status|RESOLVED|REOPENED
 Resolution|NOT A BUG   |---
 Ever confirmed|0   |1

--- Comment #2 from S. Christian Collins  ---
Regardless of the method used to store the window dimensions, Kate is not
remembering the last size in a multi-monitor setup with different resolutions
per monitor, so therefore the bug is still valid.

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

[frameworks-kconfig] [Bug 401042] kate doesn't remember size when resized on second monitor

2019-03-23 Thread Ahmad Samir
https://bugs.kde.org/show_bug.cgi?id=401042

Ahmad Samir  changed:

   What|Removed |Added

  Component|general |general
Product|kate|frameworks-kconfig
   Assignee|kwrite-bugs-n...@kde.org|matt...@mjdsystems.ca
 CC||a.samir...@gmail.com,
   ||kdelibs-b...@kde.org
Version|Git |unspecified
 Status|REPORTED|RESOLVED
 Resolution|--- |NOT A BUG

--- Comment #1 from Ahmad Samir  ---
Kate uses KWindowConfig::saveWindowSize() and
KWindowConfig::restoreWindowSize(); looking at the code this is the expected
behaviour, KWindowConfig saves both the width of the screen and the width of
the window, the same goes for the height. So IIUC, saving/restoring a window
size is tied to the screen dimensions.

Closing as not a bug, feel free to reopen it if you don't agree.

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