SUMMARY When "Dim Inactive" effect is active and working, we are not able to correctly take "rectangular selection" screenshots anymore, as they capture the dimmed part. The moment you click the keyboard key to take a screenshot, your current window/app becomes unfocused, making itself dim, and the screenshot is taken after this dim happens, so the screenshot captures it dimmed. Depending on the intensity of the dim effect (configured in settings), this can make any screenshots completely unusable. STEPS TO REPRODUCE 1. Turn on dim effect, set it to a strong level (to see the problem more clearly) 2. Go to any app, click your keyboard key/shortcut to take a screenshot (using spectacle for example) 3. The app/thing you were trying to screenshot gets unfocused and dimmed, and spectacle captures a dimmed image. OBSERVED RESULT Dimmed/dark/black screenshot, depending on the intensity of the effect. EXPECTED RESULT Dim effect should not be applied when taking a screenshot, or the app that the spectacle is taking the screenshot should not lose focus while taking the screenshot. SOFTWARE/OS VERSIONS Linux: 6.11.6 KDE Plasma Version: 6.2.2 KDE Frameworks Version: 6.7.0 Qt Version: 6.7.2
An additional important part that I just noticed now after more testing: This bug only happens when you manually select "Rectangular region" (and then select a region) or "All screens" or "Current screen". If you choose "Active window" or "window bellow the cursor" (and then click any window) it seems to work fine, the target window gets focused and the screenshot is taken without the dim effect. If you have spectacle configured to "use last selected capture method" on spectacle startup, this bug does not appear. You can select a rectangular region (if that was your last used method) and everything works well.
I can't reproduce the issue with those instructions. Can you attach a screen recording that shows it happening?
🐛🧹 ⚠️ This bug has been in NEEDSINFO status with no change for at least 15 days. Please provide the requested information, then set the bug status to REPORTED. If there is no change for at least 30 days, it will be automatically closed as RESOLVED WORKSFORME. For more information about our bug triaging procedures, please read https://community.kde.org/Guidelines_and_HOWTOs/Bug_triaging. Thank you for helping us make KDE software even better for everyone!
🐛🧹 This bug has been in NEEDSINFO status with no change for at least 30 days. Closing as RESOLVED WORKSFORME.