Bug 364572

Summary: Take region screenshot from multimonitors configuration work with incorrectly scaled
Product: [Applications] Spectacle Reporter: roman <ceo.roman>
Component: GeneralAssignee: Boudhayan Gupta <me>
Status: RESOLVED WORKSFORME    
Severity: normal CC: alex.bikadorov, desudesuzhe, justin.zobel, karolbe
Priority: NOR    
Version: unspecified   
Target Milestone: ---   
Platform: Other   
OS: Linux   
Latest Commit: Version Fixed In:
Sentry Crash Report:
Attachments: Resolution image is not equal to the resolution of the screen

Description roman 2016-06-20 23:01:35 UTC
I have two monitors.  I want to make a screenshot of rectangular area. After selection I get a screenshot of the incorrectly scaled.

Reproducible: Always

Steps to Reproduce:
1. Take screenshoot from multiple monitors
2. Open screenshot



Expected Results:  
Correctly scaled image

Video with bug https://www.youtube.com/watch?v=w5t5xVctowA
Comment 1 roman 2016-09-01 06:47:36 UTC
Created attachment 100876 [details]
Resolution image is not equal to the resolution of the screen

I can provide more additional information for this bug
Example: Two monitors, all has resolution 1920x1080
When I take rectungular screenshot from spectacle, I selected region of my first monitor. I expacted what screenshot resolution is still exist 1920x1080. But output screenshot has resolution  960x540


Kscreen config
[
    {
        "enabled": true,
        "id": "4243c4320d0dc86e8f6b48570f5eb46d",
        "metadata": {
            "fullname": "xrandr-unknown",
            "name": "eDP1"
        },
        "mode": {
            "refresh": 59.97454833984375,
            "size": {
                "height": 1080,
                "width": 1920
            }
        },
        "pos": {
            "x": 0,
            "y": 0
        },
        "primary": true,
        "rotation": 1
    },
    {
        "enabled": true,
        "id": "a2cc2e8f33908041d09260f27a89fe65",
        "metadata": {
            "fullname": "xrandr-FS2333-46359023",
            "name": "HDMI2"
        },
        "mode": {
            "refresh": 60,
            "size": {
                "height": 1080,
                "width": 1920
            }
        },
        "pos": {
            "x": 1920,
            "y": 0
        },
        "primary": false,
        "rotation": 1
    }
]
Comment 2 Alex Bikadorov 2017-04-25 17:17:08 UTC
Similar here: when trying to take a screenshot with "Rectangular Region" the second (external) monitor turns off.

Xrandr config:
Screen 0: minimum 320 x 200, current 1366 x 768, maximum 16384 x 16384                                                                                                                         
LVDS-1 connected primary 1366x768+0+0 (normal left inverted right x axis y axis) 309mm x 173mm                                                                                                 
   1366x768      60.10*+                                                                                                                                                                       
   1024x768      59.95                                                                                                                                                                         
   800x600       59.96                                                                                                                                                                         
   640x480       59.94                                                                                                                                                                         
   720x400       59.97                                                                                                                                                                         
   640x400       59.96                                                                                                                                                                         
   640x350       59.84                                                                                                                                                                         
VGA-1 disconnected (normal left inverted right x axis y axis)                                                                                                                                  
HDMI-1 connected (normal left inverted right x axis y axis)                                                                                                                                    
   1920x1080     60.00 +  50.00    50.00    59.94                                                                                                                                              
   1920x1080i    60.00    50.00    59.94                                                                                                                                                       
   1680x1050     59.88                                                                                                                                                                         
   1280x1024     75.02    60.02                                                                                                                                                                
   1440x900      59.90                                                                                                                                                                         
   1280x960      60.00                                                                                                                                                                         
   1280x800      59.91                                                                                                                                                                         
   1152x864      75.00                                                                                                                                                                         
   1280x720      60.00    50.00    59.94                                                                                                                                                       
   1024x768      75.03    70.07    60.00                                                                                                                                                       
   832x624       74.55                                                                                                                                                                         
   800x600       72.19    75.00    60.32    56.25  
   720x576       50.00  
   720x480       60.00    59.94  
   640x480       75.00    72.81    66.67    60.00    59.94  
   720x400       70.08  
DP-1 disconnected (normal left inverted right x axis y axis)

I have to do
>xrandr --output HDMI-1 --off
>xrandr --output HDMI-1 --auto --right-of LVDS-1 --panning 1920x1080+1366+0
to get the second output back.

(Using LXQt).
Comment 3 Alex Bikadorov 2017-04-25 17:19:07 UTC
Forgot the version:
Spectacle 16.12.3-1
KF5 5.32.0-1
Comment 4 Nate Graham 2018-11-14 22:26:33 UTC
*** Bug 400903 has been marked as a duplicate of this bug. ***
Comment 5 Nate Graham 2020-04-15 00:33:40 UTC
*** Bug 419398 has been marked as a duplicate of this bug. ***
Comment 6 Justin Zobel 2022-11-11 06:54:51 UTC
I'm unable to replicate this issue. I've used Spectacle to take a rectangular region screenshot of my main monitor and the size is correct.

Can you please confirm if this issue (the image resolution) is still occurring for you?

Alex as for your issue it sounds completely different, can you please open a new ticket if it is still occurring, thanks.
Comment 7 Bug Janitor Service 2022-11-26 05:15:21 UTC
Dear Bug Submitter,

This bug has been in NEEDSINFO status with no change for at least
15 days. Please provide the requested information as soon as
possible and set the bug status as REPORTED. Due to regular bug
tracker maintenance, if the bug is still in NEEDSINFO status with
no change in 30 days the bug will be closed as RESOLVED > WORKSFORME
due to lack of needed information.

For more information about our bug triaging procedures please read the
wiki located here:
https://community.kde.org/Guidelines_and_HOWTOs/Bug_triaging

If you have already provided the requested information, please
mark the bug as REPORTED so that the KDE team knows that the bug is
ready to be confirmed.

Thank you for helping us make KDE software even better for everyone!
Comment 8 Bug Janitor Service 2022-12-11 05:08:19 UTC
This bug has been in NEEDSINFO status with no change for at least
30 days. The bug is now closed as RESOLVED > WORKSFORME
due to lack of needed information.

For more information about our bug triaging procedures please read the
wiki located here:
https://community.kde.org/Guidelines_and_HOWTOs/Bug_triaging

Thank you for helping us make KDE software even better for everyone!