[digikam] [Bug 460779] digiKam in the Windows 10 forgets the last opened window size.

2023-05-10 Thread Tom Cunningham
https://bugs.kde.org/show_bug.cgi?id=460779

Tom Cunningham  changed:

   What|Removed |Added

 Status|RESOLVED|VERIFIED

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

[digikam] [Bug 460779] digiKam in the Windows 10 forgets the last opened window size.

2023-05-10 Thread bugzilla_noreply
https://bugs.kde.org/show_bug.cgi?id=460779

caulier.gil...@gmail.com changed:

   What|Removed |Added

   Version Fixed In||8.1.0
 Resolution|DUPLICATE   |FIXED

--- Comment #42 from caulier.gil...@gmail.com ---
Fixed with bug 460260

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

[digikam] [Bug 460779] digiKam in the Windows 10 forgets the last opened window size.

2022-12-08 Thread Maik Qualmann
https://bugs.kde.org/show_bug.cgi?id=460779

--- Comment #41 from Maik Qualmann  ---
The problem is also fixed under digiKam-8.0.0. But not for the first start,
first for the further ones.

Maik

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

[digikam] [Bug 460779] digiKam in the Windows 10 forgets the last opened window size.

2022-12-08 Thread bugzilla_noreply
https://bugs.kde.org/show_bug.cgi?id=460779

--- Comment #40 from caulier.gil...@gmail.com ---
Hi Tom,

And not in 7.9.0 just released ? Unix Linux, Mac or Windows ?

Gilles

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

[digikam] [Bug 460779] digiKam in the Windows 10 forgets the last opened window size.

2022-12-08 Thread Tom Cunningham
https://bugs.kde.org/show_bug.cgi?id=460779

--- Comment #39 from Tom Cunningham  ---
I noticed this behavior happens with the image editor window as well in digiKam
8.0 beta.

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

[digikam] [Bug 460779] digiKam in the Windows 10 forgets the last opened window size.

2022-12-02 Thread Maik Qualmann
https://bugs.kde.org/show_bug.cgi?id=460779

--- Comment #38 from Maik Qualmann  ---
Git commit c84751010a0cbae92ae4fa3aecfa4b780e01 by Maik Qualmann.
Committed on 02/12/2022 at 17:39.
Pushed by mqualmann into branch 'qt5-maintenance'.

backport from master workaround to fix window size and position on Windows

M  +94   -0core/libs/widgets/mainview/dxmlguiwindow.cpp
M  +8-0core/libs/widgets/mainview/dxmlguiwindow.h

https://invent.kde.org/graphics/digikam/commit/c84751010a0cbae92ae4fa3aecfa4b780e01

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

[digikam] [Bug 460779] digiKam in the Windows 10 forgets the last opened window size.

2022-12-02 Thread bugzilla_noreply
https://bugs.kde.org/show_bug.cgi?id=460779

--- Comment #37 from caulier.gil...@gmail.com ---
Great. Well, i can plan the 7.9.0 tag on git while this week end.

Gilles

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

[digikam] [Bug 460779] digiKam in the Windows 10 forgets the last opened window size.

2022-12-02 Thread Maik Qualmann
https://bugs.kde.org/show_bug.cgi?id=460779

--- Comment #36 from Maik Qualmann  ---
Thanks Gilles, it seems to be working fine as a workaround so far. digiKam will
reopen to the last used screen, with the same position and size or maximized. I
will apply the patch to digiKam-7.9.0 tonight.

Maik

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

[digikam] [Bug 460779] digiKam in the Windows 10 forgets the last opened window size.

2022-12-01 Thread bugzilla_noreply
https://bugs.kde.org/show_bug.cgi?id=460779

--- Comment #35 from caulier.gil...@gmail.com ---
Maik,

New version of Windows installer 8.0.0 is online.

Gilles

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

[digikam] [Bug 460779] digiKam in the Windows 10 forgets the last opened window size.

2022-12-01 Thread Maik Qualmann
https://bugs.kde.org/show_bug.cgi?id=460779

--- Comment #34 from Maik Qualmann  ---
Git commit 6415d9aef7477471e8b814ff03c9c07c7906ec31 by Maik Qualmann.
Committed on 01/12/2022 at 19:13.
Pushed by mqualmann into branch 'master'.

improved support for multiple monitors

M  +0-2core/app/main/digikamapp.cpp
M  +35   -22   core/libs/widgets/mainview/dxmlguiwindow.cpp
M  +5-0core/libs/widgets/mainview/dxmlguiwindow.h
M  +0-2core/utilities/imageeditor/main/imagewindow.cpp
M  +0-2core/utilities/lighttable/lighttablewindow.cpp
M  +0-2core/utilities/queuemanager/main/queuemgrwindow.cpp

https://invent.kde.org/graphics/digikam/commit/6415d9aef7477471e8b814ff03c9c07c7906ec31

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

[digikam] [Bug 460779] digiKam in the Windows 10 forgets the last opened window size.

2022-12-01 Thread bugzilla_noreply
https://bugs.kde.org/show_bug.cgi?id=460779

--- Comment #33 from caulier.gil...@gmail.com ---
>code to restore and sample dialog size and position
==> code to restore and save dialog size and position

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

[digikam] [Bug 460779] digiKam in the Windows 10 forgets the last opened window size.

2022-12-01 Thread bugzilla_noreply
https://bugs.kde.org/show_bug.cgi?id=460779

--- Comment #32 from caulier.gil...@gmail.com ---
Created attachment 154197
  --> https://bugs.kde.org/attachment.cgi?id=154197=edit
7zip archive of BaseDlg class sample

Hi Maik,

Class BaseDlg based on QDialog used in my office on multi-screen Windows
computer, with code to restore and sample dialog size and position. It's use
QDialog::showEvent().

Gilles

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

[digikam] [Bug 460779] digiKam in the Windows 10 forgets the last opened window size.

2022-12-01 Thread Maik Qualmann
https://bugs.kde.org/show_bug.cgi?id=460779

--- Comment #31 from Maik Qualmann  ---
For a single screen it works fine. In a multiscreen setup, it doesn't work on
the 2nd screen. I guess we are too fast and have to do it after the show event.

Maik

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

[digikam] [Bug 460779] digiKam in the Windows 10 forgets the last opened window size.

2022-11-30 Thread bugzilla_noreply
https://bugs.kde.org/show_bug.cgi?id=460779

--- Comment #30 from caulier.gil...@gmail.com ---
Done. Windows installers 8.0.0 are updated online at usual place...

Gilles

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

[digikam] [Bug 460779] digiKam in the Windows 10 forgets the last opened window size.

2022-11-30 Thread Maik Qualmann
https://bugs.kde.org/show_bug.cgi?id=460779

--- Comment #29 from Maik Qualmann  ---
@Gilles, another digiKam-8.0.0 test version would be good before we merge the
patch to digiKam-7.9.0.

Maik

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

[digikam] [Bug 460779] digiKam in the Windows 10 forgets the last opened window size.

2022-11-30 Thread Peter
https://bugs.kde.org/show_bug.cgi?id=460779

--- Comment #28 from Peter  ---
Maik and Giles.
Thank you for your work
Regards
Peter

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

[digikam] [Bug 460779] digiKam in the Windows 10 forgets the last opened window size.

2022-11-30 Thread Maik Qualmann
https://bugs.kde.org/show_bug.cgi?id=460779

--- Comment #27 from Maik Qualmann  ---
Git commit dfacb22f8819c5ac3150201aef2a2a833ddf396a by Maik Qualmann.
Committed on 30/11/2022 at 18:05.
Pushed by mqualmann into branch 'master'.

restore maximized state and check geometry

M  +20   -6core/libs/widgets/mainview/dxmlguiwindow.cpp

https://invent.kde.org/graphics/digikam/commit/dfacb22f8819c5ac3150201aef2a2a833ddf396a

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

[digikam] [Bug 460779] digiKam in the Windows 10 forgets the last opened window size.

2022-11-30 Thread bugzilla_noreply
https://bugs.kde.org/show_bug.cgi?id=460779

--- Comment #26 from caulier.gil...@gmail.com ---
yes i agree with Maik. the goal is to restore size and position between
sessions, the first one is a special case.

Gilles

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

[digikam] [Bug 460779] digiKam in the Windows 10 forgets the last opened window size.

2022-11-30 Thread Maik Qualmann
https://bugs.kde.org/show_bug.cgi?id=460779

--- Comment #25 from Maik Qualmann  ---
It is clear that it does not work the first time you start it, but then it
always works here under Windows10.
Yes, the window is only resized to its previous size, currently it is not
stored in the config that it is maximized. As said, this is only a workaround
until the problem is fixed in the KF5 Library.

Maik

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

[digikam] [Bug 460779] digiKam in the Windows 10 forgets the last opened window size.

2022-11-30 Thread Peter
https://bugs.kde.org/show_bug.cgi?id=460779

--- Comment #24 from Peter  ---
(In reply to caulier.gilles from comment #23)
> Maik,
> I tested last 8.0.0 pre-release under Windows 7, and window sizes and
> positions are now properly restored as i can see...
> Gilles

Hi Maik and Gilles,
I tested last 8.0.0 pre-release under Windows 10.
It seems to work fine, but it doesn't...
...digiKam adjusts the set size only after every second start, but even then
the program window is only apparently full screen. It's actually full screen,
but a resizable window.

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

[digikam] [Bug 460779] digiKam in the Windows 10 forgets the last opened window size.

2022-11-29 Thread bugzilla_noreply
https://bugs.kde.org/show_bug.cgi?id=460779

--- Comment #23 from caulier.gil...@gmail.com ---
Maik,
I tested last 8.0.0 pre-release under Windows 7, and window sizes and positions
are now properly restored as i can see...
Gilles

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

[digikam] [Bug 460779] digiKam in the Windows 10 forgets the last opened window size.

2022-11-29 Thread bugzilla_noreply
https://bugs.kde.org/show_bug.cgi?id=460779

--- Comment #22 from caulier.gil...@gmail.com ---
Windows 8.0.0 installer have been just updated online :

https://files.kde.org/digikam/unstable/

Gilles

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

[digikam] [Bug 460779] digiKam in the Windows 10 forgets the last opened window size.

2022-11-29 Thread bugzilla_noreply
https://bugs.kde.org/show_bug.cgi?id=460779

--- Comment #21 from caulier.gil...@gmail.com ---
yes 8.0.0 installer will be online tomorrow morning.

Gilles

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

[digikam] [Bug 460779] digiKam in the Windows 10 forgets the last opened window size.

2022-11-29 Thread Maik Qualmann
https://bugs.kde.org/show_bug.cgi?id=460779

--- Comment #20 from Maik Qualmann  ---
@Gilles, can you create a Windows digiKam-8.0.0 bundle to test? If it works, we
can apply the patch to digiKam-7.9.0. Some checks to see if the window size
still fits may need to be added. I only plan on keeping this code until it is
fixed in KF5.

Maik

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

[digikam] [Bug 460779] digiKam in the Windows 10 forgets the last opened window size.

2022-11-29 Thread Maik Qualmann
https://bugs.kde.org/show_bug.cgi?id=460779

--- Comment #19 from Maik Qualmann  ---
Git commit 329e06c8f0f804810adf8ef65ae873bf3f8e435d by Maik Qualmann.
Committed on 29/11/2022 at 20:50.
Pushed by mqualmann into branch 'master'.

save and restore window Size on Windows for testing

M  +2-0core/app/main/digikamapp.cpp
M  +67   -0core/libs/widgets/mainview/dxmlguiwindow.cpp
M  +3-0core/libs/widgets/mainview/dxmlguiwindow.h
M  +2-0core/utilities/imageeditor/main/imagewindow.cpp
M  +2-0core/utilities/import/main/importui.cpp
M  +2-0core/utilities/lighttable/lighttablewindow.cpp
M  +2-0core/utilities/queuemanager/main/queuemgrwindow.cpp

https://invent.kde.org/graphics/digikam/commit/329e06c8f0f804810adf8ef65ae873bf3f8e435d

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

[digikam] [Bug 460779] digiKam in the Windows 10 forgets the last opened window size.

2022-11-29 Thread bugzilla_noreply
https://bugs.kde.org/show_bug.cgi?id=460779

--- Comment #18 from caulier.gil...@gmail.com ---
This problem is a recurrent issue since many years. It's clear for me there is
a lack of Windows support somewhere. I vote for a simple solution based on
QSettings file for ex, which work well under Windows (i use it  at work since a
very long time).

Gilles

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

[digikam] [Bug 460779] digiKam in the Windows 10 forgets the last opened window size.

2022-11-29 Thread Maik Qualmann
https://bugs.kde.org/show_bug.cgi?id=460779

--- Comment #17 from Maik Qualmann  ---
These are the entries from a Windows 10 (VM) digiKamrc. The screen is missing
at the beginning and the config starts with a "\". This is also output with
many error messages in the log. It is clear that the window size cannot be
found. We have 2 options, either we look for the problem in the KF5 library or
we implement it ourselves as a workaround.

\sHeight 1600x1200=829
\sWidth 1600x1200=1238
\sXPosition 1600x1200=174
\sYPosition 1600x1200=168

Maik

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

[digikam] [Bug 460779] digiKam in the Windows 10 forgets the last opened window size.

2022-11-29 Thread Nate Graham
https://bugs.kde.org/show_bug.cgi?id=460779

--- Comment #16 from Nate Graham  ---
> A test with a Wayland Plasma session shows that the values from X11 are not 
> adopted

That's a separate issue, basically Bug 385135.

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

[digikam] [Bug 460779] digiKam in the Windows 10 forgets the last opened window size.

2022-11-29 Thread Nate Graham
https://bugs.kde.org/show_bug.cgi?id=460779

Nate Graham  changed:

   What|Removed |Added

 Status|CONFIRMED   |RESOLVED
 Resolution|--- |DUPLICATE
 CC||n...@kde.org

--- Comment #15 from Nate Graham  ---


*** This bug has been marked as a duplicate of bug 460260 ***

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

[digikam] [Bug 460779] digiKam in the Windows 10 forgets the last opened window size.

2022-11-25 Thread Maik Qualmann
https://bugs.kde.org/show_bug.cgi?id=460779

--- Comment #14 from Maik Qualmann  ---
A test with a Waland Plasma session shows that the values from X11 are not
adopted. The size is then saved correctly, but not the position. It also shows
the applied values that no position is saved under Wayland.

DP-1 Height 1920x1200 DP-1=931
DP-1 Width 1920x1200 DP-1=1511
DP-1 Window-Maximized 1920x1200 DP-1=true

Maik

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

[digikam] [Bug 460779] digiKam in the Windows 10 forgets the last opened window size.

2022-11-25 Thread Maik Qualmann
https://bugs.kde.org/show_bug.cgi?id=460779

--- Comment #13 from Maik Qualmann  ---
The current values written in KF5.100 look like this:

DisplayPort-0=DisplayPort-0
DisplayPort-0 Height 1920x1200 DisplayPort-0=1021
DisplayPort-0 Width 1920x1200 DisplayPort-0=1912
DisplayPort-0 XPosition 1920x1200 DisplayPort-0=4
DisplayPort-0 YPosition 1920x1200 DisplayPort-0=32

Maik

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

[digikam] [Bug 460779] digiKam in the Windows 10 forgets the last opened window size.

2022-11-25 Thread Maik Qualmann
https://bugs.kde.org/show_bug.cgi?id=460779

--- Comment #12 from Maik Qualmann  ---
I see that not only the screen size is encoded in the size parameter, but also
the screen itself. I think since the problem only occurs on Wyland and Windows
and probably not on X11 that it is related to that.

Here's a history, it seems to have been changed several times, my monitor is
always connected via display port, the port names vary.

DP-1 HDMI-A-1 Height 1200=894
DP-1 HDMI-A-1 Width 1920=1920
DP-1 Height 1200=894
DP-1 Height 1920x1200=894
DP-1 Width 1920=1920
DP-1 Width 1920x1200=1912
DP-1 XPosition 1920x1200=4
DP-1 YPosition 1920x1200=147
DisplayPort-0=DisplayPort-0
DisplayPort-0 HDMI-0 Height 1200=894
DisplayPort-0 HDMI-0 Width 1920=1920
DisplayPort-0 HDMI-0 XPosition=0
DisplayPort-0 HDMI-0 YPosition=31

Maik

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

[digikam] [Bug 460779] digiKam in the Windows 10 forgets the last opened window size.

2022-11-25 Thread bugzilla_noreply
https://bugs.kde.org/show_bug.cgi?id=460779

--- Comment #11 from caulier.gil...@gmail.com ---
Maik,

Another entry interesting to read :

https://bugs.kde.org/show_bug.cgi?id=415150

Gilles

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

[digikam] [Bug 460779] digiKam in the Windows 10 forgets the last opened window size.

2022-11-25 Thread bugzilla_noreply
https://bugs.kde.org/show_bug.cgi?id=460779

--- Comment #10 from caulier.gil...@gmail.com ---
The entry in bugzilla relevant of this code in KXMLGUI :
https://bugs.kde.org/show_bug.cgi?id=426725

Gilles

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

[digikam] [Bug 460779] digiKam in the Windows 10 forgets the last opened window size.

2022-11-25 Thread bugzilla_noreply
https://bugs.kde.org/show_bug.cgi?id=460779

--- Comment #9 from caulier.gil...@gmail.com ---
Maik,

This is the commit change in KXMLGUI about to restore the window position on
screen between application instances:

https://invent.kde.org/frameworks/kxmlgui/-/commit/72919b5ef9168a5419b80fb26b7241fc507cd63a#78c679f7f0f0a8423d30a5f6eb63a53f4fc17ccc

So the current code located at this place :

https://invent.kde.org/frameworks/kxmlgui/-/blob/master/src/kmainwindow.cpp#L745

Who turn on "AllowKDEAppsToRememberWindowPositions" value on the config file
exactly ?

Gilles

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

[digikam] [Bug 460779] digiKam in the Windows 10 forgets the last opened window size.

2022-11-24 Thread Maik Qualmann
https://bugs.kde.org/show_bug.cgi?id=460779

--- Comment #8 from Maik Qualmann  ---
I think this recent bug report is related to this: Bug 461405

Maik

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

[digikam] [Bug 460779] digiKam in the Windows 10 forgets the last opened window size.

2022-11-24 Thread bugzilla_noreply
https://bugs.kde.org/show_bug.cgi?id=460779

--- Comment #7 from caulier.gil...@gmail.com ---
Hi Maik,

In KF5 5.100, i do not seen change in KXmlGui framework about this problem:

https://invent.kde.org/frameworks/kxmlgui/-/commits/master

There is also nothing to read in framework announcement :

https://kde.org/announcements/frameworks/5/5.100.0/

I can upgrade KF5 to release 100 (actually 99), but i doubt that something will
be fixed...

Gilles

Note : i can reproduce the problem under Windows 10, but not under Linux and
MacOS.

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

[digikam] [Bug 460779] digiKam in the Windows 10 forgets the last opened window size.

2022-11-20 Thread Maik Qualmann
https://bugs.kde.org/show_bug.cgi?id=460779

Maik Qualmann  changed:

   What|Removed |Added

 CC||twcunningham...@outlook.com

--- Comment #6 from Maik Qualmann  ---
*** Bug 462068 has been marked as a duplicate of this bug. ***

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

[digikam] [Bug 460779] digiKam in the Windows 10 forgets the last opened window size.

2022-11-17 Thread Maik Qualmann
https://bugs.kde.org/show_bug.cgi?id=460779

--- Comment #5 from Maik Qualmann  ---
The problem is in a used KF5 library. It has also been reported for Linux with
Wyland.

Maik

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

[digikam] [Bug 460779] digiKam in the Windows 10 forgets the last opened window size.

2022-11-17 Thread Maik Qualmann
https://bugs.kde.org/show_bug.cgi?id=460779

Maik Qualmann  changed:

   What|Removed |Added

 CC||bjo...@bjh.se

--- Comment #4 from Maik Qualmann  ---
*** Bug 461954 has been marked as a duplicate of this bug. ***

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

[digikam] [Bug 460779] digiKam in the Windows 10 forgets the last opened window size.

2022-11-16 Thread Kurpfaelzer
https://bugs.kde.org/show_bug.cgi?id=460779

Kurpfaelzer  changed:

   What|Removed |Added

 CC||stephan.kr...@t-online.de

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

[digikam] [Bug 460779] digiKam in the Windows 10 forgets the last opened window size.

2022-10-20 Thread Maik Qualmann
https://bugs.kde.org/show_bug.cgi?id=460779

--- Comment #3 from Maik Qualmann  ---
Hmm, I see that there is a new feature for saving via QScreen. But I also see
that we probably need to implement save/restoreWindowPosition() in addition to
save/restoreWindowSize().

Maik

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

[digikam] [Bug 460779] digiKam in the Windows 10 forgets the last opened window size.

2022-10-20 Thread bugzilla_noreply
https://bugs.kde.org/show_bug.cgi?id=460779

caulier.gil...@gmail.com changed:

   What|Removed |Added

 CC||caulier.gil...@gmail.com

--- Comment #2 from caulier.gil...@gmail.com ---
Hi Maik,

Look here :

https://kde.org/announcements/frameworks/5/5.99.0/

Section KXMLGUI : "use same config for position restoration as for position
saving"

Gilles

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

[digikam] [Bug 460779] digiKam in the Windows 10 forgets the last opened window size.

2022-10-20 Thread Maik Qualmann
https://bugs.kde.org/show_bug.cgi?id=460779

Maik Qualmann  changed:

   What|Removed |Added

 Ever confirmed|0   |1
 CC||metzping...@gmail.com
 Status|REPORTED|CONFIRMED

--- Comment #1 from Maik Qualmann  ---
Yes, I can reproduce. Since we haven't made any changes here, I suspect the
update to a newer KF5 version made things worse.

Maik

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