Make ksnapshot obey #55

Closed
opened 1 year ago by jlturriff · 8 comments

Basic information

Desktop Environment:
Trinity
Qt: 3.5.0
TDE: R14.0.13
tde-config: 1.0
Hardware: x86_64
Distribution: openSUSE Leap 15.4

Description

ksnapshot ignores the size and positioning settings in Special Window Settings; it always places its main window and File Save dialog in the center of the screen.

This is often a niusance, since it covers up other windows on the screen and has to be moved after each snapshot is taken in order to see what one is doing.

Steps to reproduce

  1. Open ksnapshot
  2. Move its window to a position that does not cover windows of interest
  3. Open the Special Window Settings dialog (left banner icon, Advanced...), check and change Position to Remember or Force
  4. Set options as desired
  5. Click on New Snapshot
  6. The ksnapshot window disappears; select the region|window to be copied
  7. The ksnapshot window reappears in the center of the screen, again covering windows of interest
  8. Click on Save As...; the Save File dialog appears in the center of the screen, covering windows of interest
  9. Open the Special Window Settings dialog, check and change Position to Remember or Force
  10. Repeat 2, 5, 6, 7, 8, ... ksnapshot's windows always appear in the center of the screen, ignoring the Special Window Settings values.
## Basic information Desktop Environment: Trinity Qt: 3.5.0 TDE: R14.0.13 tde-config: 1.0 Hardware: x86_64 Distribution: openSUSE Leap 15.4 <!-- Use SL/* labels to set the severity level. Please do not set a milestone. --> ## Description ksnapshot ignores the size and positioning settings in **Special Window Settings**; it always places its main window and **File Save** dialog in the center of the screen. This is often a niusance, since it covers up other windows on the screen and has to be moved after each snapshot is taken in order to see what one is doing. ## Steps to reproduce 1. Open ksnapshot 2. Move its window to a position that does not cover windows of interest 3. Open the **Special Window Settings** dialog (left banner icon, Advanced...), check and change **Position** to **Remember** or **Force** 4. Set options as desired 5. Click on **New Snapshot** 6. The ksnapshot window disappears; select the region|window to be copied 7. The ksnapshot window reappears in the center of the screen, again covering windows of interest 8. Click on **Save As...**; the **Save File** dialog appears in the center of the screen, covering windows of interest 9. Open the **Special Window Settings** dialog, check and change **Position** to **Remember** or **Force** 10. Repeat 2, 5, 6, 7, 8, ... ksnapshot's windows always appear in the center of the screen, ignoring the **Special Window Settings** values.
Owner

Ehm.... not the most useful issue report in the current form :-)
Btw I can see the labels available

Ehm.... not the most useful issue report in the current form :-) Btw I can see the labels available
Poster

Well, there was lots of text there at one point. I haven't a clue what went wrong. Is there a way to fill in the missing stuff, or should I just close this and start over?

Well, there was *lots* of text there at one point. I haven't a clue what went wrong. Is there a way to fill in the missing stuff, or should I just close this and start over?
SlavekB commented 1 year ago
Owner

You can use the three dots icon on the right side of your initial comment and then Edit from the popup menu.

You can use the three dots icon on the right side of your initial comment and then Edit from the popup menu.
Owner

image

![image](/attachments/205f03f6-b984-4e83-9ba6-ce2f5730ed55)
Poster

Looks like my text survived this time. :-)

Looks like my text survived this time. :-)
Owner

Thanks Leslie.
I think the problem is actually different.

Special Window Settings is used to set special properties between different executions of the application. So if you run KSnapshot, set a special position, close KSnapshot and open it again, it will remember that position and open up there (I tested, it works).

The problem you described happens when capturing snapshots, that is KSnapshot replaces itself at the center of the screen after taking a snapsnot instead of reusing the position where it was before the snapshot.
Still a problem of course, but not related to the Special Window Settings (which are properties for TWin instead).

Thanks Leslie. I think the problem is actually different. `Special Window Settings` is used to set special properties between different executions of the application. So if you run KSnapshot, set a special position, close KSnapshot and open it again, it will remember that position and open up there (I tested, it works). The problem you described happens when capturing snapshots, that is KSnapshot replaces itself at the center of the screen after taking a snapsnot instead of reusing the position where it was before the snapshot. Still a problem of course, but not related to the `Special Window Settings` (which are properties for TWin instead).
Owner

PR #56 is a solution for the problem.
KSnapshot will now remember its position across snapshots.
Using Special Window Settings it is possible to remember the position across multiple executions.
So now it is possible to place KSnapshot in a place and getting it to be always there.

PR #56 is a solution for the problem. KSnapshot will now remember its position across snapshots. Using `Special Window Settings` it is possible to remember the position across multiple executions. So now it is possible to place KSnapshot in a place and getting it to be always there.
MicheleC added this to the R14.1.0 release milestone 1 year ago
Owner

Fixed by above PR

Fixed by above PR
MicheleC closed this issue 1 year ago
Sign in to join this conversation.
No Milestone
No Assignees
3 Participants
Notifications
Due Date

No due date set.

Dependencies

No dependencies set.

Reference: TDE/tdegraphics#55
Loading…
There is no content yet.