<?xml version="1.0" encoding="UTF-8" standalone="yes" ?>
<!DOCTYPE bugzilla SYSTEM "https://bugs.kde.org/page.cgi?id=bugzilla.dtd">

<bugzilla version="5.0.6"
          urlbase="https://bugs.kde.org/"
          
          maintainer="sysadmin@kde.org"
>

    <bug>
          <bug_id>506549</bug_id>
          
          <creation_ts>2025-07-03 18:56:55 +0000</creation_ts>
          <short_desc>Zooming in a few more ticks beyond the maximum limit turns the magnifier effect into a fullscreen thumbnail</short_desc>
          <delta_ts>2025-07-10 16:00:37 +0000</delta_ts>
          <reporter_accessible>1</reporter_accessible>
          <cclist_accessible>1</cclist_accessible>
          <classification_id>4</classification_id>
          <classification>Plasma</classification>
          <product>kwin</product>
          <component>effects-various</component>
          <version>6.4.2</version>
          <rep_platform>Other</rep_platform>
          <op_sys>Linux</op_sys>
          <bug_status>RESOLVED</bug_status>
          <resolution>FIXED</resolution>
          
          
          <bug_file_loc></bug_file_loc>
          <status_whiteboard></status_whiteboard>
          <keywords></keywords>
          <priority>NOR</priority>
          <bug_severity>normal</bug_severity>
          <target_milestone>---</target_milestone>
          
          
          <everconfirmed>1</everconfirmed>
          <reporter name="Tech-Tac">im.tech.tac</reporter>
          <assigned_to name="KWin default assignee">kwin-bugs-null</assigned_to>
          <cc>kdedev</cc>
    
    <cc>nate</cc>
          
          <cf_commitlink>https://invent.kde.org/plasma/kwin/-/commit/b83d55c764bb69687295da7351573996decd3dd4</cf_commitlink>
          <cf_versionfixedin>6.4.3</cf_versionfixedin>
          <cf_sentryurl></cf_sentryurl>
          <votes>0</votes>

      

      

      

          <comment_sort_order>oldest_to_newest</comment_sort_order>  
          <long_desc isprivate="0" >
    <commentid>2438281</commentid>
    <comment_count>0</comment_count>
    <who name="Tech-Tac">im.tech.tac</who>
    <bug_when>2025-07-03 18:56:55 +0000</bug_when>
    <thetext>STEPS TO REPRODUCE
1. Enable Magnifier effect
2. Zoom in like, a lot

OBSERVED RESULT
The magnifier box turns into a mini preview of the whole screen

EXPECTED RESULT
Not do that

SOFTWARE/OS VERSIONS
Linux: Arch
KDE Plasma Version: 6.4.2
KDE Frameworks Version: 6.15.0
Qt Version: 6.9.1</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>2439218</commentid>
    <comment_count>1</comment_count>
    <who name="TraceyC">kdedev</who>
    <bug_when>2025-07-07 22:06:19 +0000</bug_when>
    <thetext>I&apos;m am able to reproduce this on git-master. Note: The zoom and magnify effects were moved under Accessibility
I am also able to reproduce on Fedora 42</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>2439276</commentid>
    <comment_count>2</comment_count>
    <who name="Bug Janitor Service">bug-janitor</who>
    <bug_when>2025-07-08 08:21:05 +0000</bug_when>
    <thetext>A possibly relevant merge request was started @ https://invent.kde.org/plasma/kwin/-/merge_requests/7891</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>2439521</commentid>
    <comment_count>3</comment_count>
    <who name="Vlad Zahorodnii">vlad.zahorodnii</who>
    <bug_when>2025-07-09 09:12:55 +0000</bug_when>
    <thetext>Git commit f1ae726839a5782b7227126d490570ffac6ec3c1 by Vlad Zahorodnii.
Committed on 09/07/2025 at 08:53.
Pushed by vladz into branch &apos;master&apos;.

plugins/magnifier: Constrain zoom factors

With extreme zoom factors, the source rect will be empty, which will
make the GLFramebuffer blit the whole framebuffer.

In order to prevent that, this change constrains the zoom factor to a
reasonable range. The zoom effect already does this.

M  +33   -33   src/plugins/magnifier/magnifier.cpp
M  +2    -0    src/plugins/magnifier/magnifier.h

https://invent.kde.org/plasma/kwin/-/commit/f1ae726839a5782b7227126d490570ffac6ec3c1</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>2439525</commentid>
    <comment_count>4</comment_count>
    <who name="Vlad Zahorodnii">vlad.zahorodnii</who>
    <bug_when>2025-07-09 09:55:43 +0000</bug_when>
    <thetext>Git commit b83d55c764bb69687295da7351573996decd3dd4 by Vlad Zahorodnii.
Committed on 09/07/2025 at 09:27.
Pushed by vladz into branch &apos;Plasma/6.4&apos;.

plugins/magnifier: Constrain zoom factors

With extreme zoom factors, the source rect will be empty, which will
make the GLFramebuffer blit the whole framebuffer.

In order to prevent that, this change constrains the zoom factor to a
reasonable range. The zoom effect already does this.
(cherry picked from commit f1ae726839a5782b7227126d490570ffac6ec3c1)

M  +33   -33   src/plugins/magnifier/magnifier.cpp
M  +2    -0    src/plugins/magnifier/magnifier.h

https://invent.kde.org/plasma/kwin/-/commit/b83d55c764bb69687295da7351573996decd3dd4</thetext>
  </long_desc>
      
      

    </bug>

</bugzilla>