Bug 512360 - Screenshotting a modal window from `flathub`'s `com.jetbrains.IntelliJ-IDEA-Community` via the “Select Window” option caused its height to be reduced
Summary: Screenshotting a modal window from `flathub`'s `com.jetbrains.IntelliJ-IDEA-C...
Status: REPORTED
Alias: None
Product: Spectacle
Classification: Applications
Component: General (other bugs)
Version First Reported In: 6.5.2
Platform: Fedora RPMs Linux
: NOR normal
Target Milestone: ---
Assignee: Noah Davis
URL: https://youtrack.jetbrains.com/api/fi...
Keywords:
Depends on:
Blocks:
 
Reported: 2025-11-19 23:28 UTC by Roke Julian Lockhart Beedell
Modified: 2025-11-19 23:28 UTC (History)
1 user (show)

See Also:
Latest Commit:
Version Fixed/Implemented In:
Sentry Crash Report:


Attachments
The Incorrectly-Sized Output Of The “Select Window” Option (4.95 KB, image/webp)
2025-11-19 23:28 UTC, Roke Julian Lockhart Beedell
Details
The Correctly-Sized Output Of The “Rectangular Region” Option (9.28 KB, image/webp)
2025-11-19 23:28 UTC, Roke Julian Lockhart Beedell
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Roke Julian Lockhart Beedell 2025-11-19 23:28:00 UTC
Created attachment 186965 [details]
The Incorrectly-Sized Output Of The “Select Window” Option

# SUMMARY

When reporting https://youtrack.jetbrains.com/issue/IDEA-382346/Crashes-are-impossible-to-report-via-the-Report-this-problem-option-in-the-modal-that-appears.#what-occurs-instead:~:text=the%20current%20platform!-,A%20Screenshot,-My%20Environment (for my brother), I needed to capture a screenshot of an error modal. I recall that this failed via “Active window”, which may be relevant, but isn't the purview of this issue. What *is* is that it succeeded via the selection-under-cursor option, but the resultant image was vertically shrunk.

# STEPS TO REPRODUCE

1. Reproduce https://youtrack.jetbrains.com/issue/IDEA-382346/Crashes-are-impossible-to-report-via-the-Report-this-problem-option-in-the-modal-that-appears.#what-occurs-instead:~:text=the%20current%20platform!-,A%20Screenshot,-My%20Environment.

2. Invoke `spectacle`.

3. Select the QPushButton that is labelled “Select Window”.

# OBSERVED RESULT

The height was erroneously reduced.

# EXPECTED RESULT

It shouldn't be incorrectly sized.

# SOFTWARE/OS VERSIONS

> ~~~
> Name        : spectacle
> Epoch       : 1
> Version     : 6.5.2
> Release     : 1.fc43
> Architecture: x86_64
> Install Date: Sun 09 Nov 2025 21:39:39 GMT
> Size        : 6857564
> Signature   :
>               RSA/SHA256, Thu 06 Nov 2025 15:08:03 GMT, Key ID 829b606631645531
> Source RPM  : spectacle-6.5.2-1.fc43.src.rpm
> Build Date  : Thu 06 Nov 2025 11:45:10 GMT
> Build Host  : buildvm-x86-15.rdu3.fedoraproject.org
> Packager    : Fedora Project
> Vendor      : Fedora Project
> Bug URL     : https://bugz.fedoraproject.org/spectacle
> ~~~

# ADDITIONAL INFORMATION

The “Rectangular Region” option did not exhibit this.
Comment 1 Roke Julian Lockhart Beedell 2025-11-19 23:28:55 UTC
Created attachment 186966 [details]
The Correctly-Sized Output Of The “Rectangular Region” Option