<?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>455617</bug_id>
          
          <creation_ts>2022-06-19 17:41:23 +0000</creation_ts>
          <short_desc>Flicker when I tile my windows left or right.</short_desc>
          <delta_ts>2022-06-24 07:53:07 +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-window-management</component>
          <version>5.25.0</version>
          <rep_platform>Arch Linux</rep_platform>
          <op_sys>Linux</op_sys>
          <bug_status>RESOLVED</bug_status>
          <resolution>FIXED</resolution>
          
          
          <bug_file_loc>https://webmshare.com/5KWEL</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="Roope Kiviniemi">roope.kiviniemi</reporter>
          <assigned_to name="KWin default assignee">kwin-bugs-null</assigned_to>
          <cc>nate</cc>
    
    <cc>noyme97</cc>
    
    <cc>nyanpasu64</cc>
          
          <cf_commitlink>https://invent.kde.org/plasma/kwin/commit/6f5caa60fe3e33c4850c0bb933a88019da88f2ce</cf_commitlink>
          <cf_versionfixedin>5.25.1</cf_versionfixedin>
          <cf_sentryurl></cf_sentryurl>
          <votes>0</votes>

      

      

      <flag name="Wayland"
          id="4743"
          type_id="31"
          status="-"
          setter="vlad.zahorodnii"
    />
    <flag name="X11"
          id="4744"
          type_id="32"
          status="+"
          setter="vlad.zahorodnii"
    />

          <comment_sort_order>oldest_to_newest</comment_sort_order>  
          <long_desc isprivate="0" >
    <commentid>2132821</commentid>
    <comment_count>0</comment_count>
      <attachid>149933</attachid>
    <who name="Roope Kiviniemi">roope.kiviniemi</who>
    <bug_when>2022-06-19 17:41:23 +0000</bug_when>
    <thetext>Created attachment 149933
Short clip

SUMMARY
***
After plasma 5.25  some apps like Firefox and Thunderbird I had this strange flicker/error effect when I tile my windows left or right. This happens only with traditional panel layout if I change floating panel then error goes away.
Short clip: https://webmshare.com/5KWEL
***


STEPS TO REPRODUCE
Tile your window on left or right then move out and you see strange errors

OBSERVED RESULT
Happens only with traditional panel layout, If I change floating panel the error goes away.

EXPECTED RESULT
No flicker and errors

SOFTWARE/OS VERSIONS
KDE Plasma Version:  Plasma 5.25
KDE Frameworks Version: 5.95.0
Qt Version: 5.15.5

ADDITIONAL INFORMATION
Short clip: https://webmshare.com/5KWEL</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>2132916</commentid>
    <comment_count>1</comment_count>
    <who name="Vlad Zahorodnii">vlad.zahorodnii</who>
    <bug_when>2022-06-20 08:10:31 +0000</bug_when>
    <thetext>Can&apos;t reproduce it. Are you on Wayland or X11?</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>2132917</commentid>
    <comment_count>2</comment_count>
    <who name="Roope Kiviniemi">roope.kiviniemi</who>
    <bug_when>2022-06-20 08:11:03 +0000</bug_when>
    <thetext>(In reply to Vlad Zahorodnii from comment #1)
&gt; Can&apos;t reproduce it. Are you on Wayland or X11?

X11</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>2132924</commentid>
    <comment_count>3</comment_count>
    <who name="Vlad Zahorodnii">vlad.zahorodnii</who>
    <bug_when>2022-06-20 08:16:59 +0000</bug_when>
    <thetext>*** Bug 455445 has been marked as a duplicate of this bug. ***</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>2132926</commentid>
    <comment_count>4</comment_count>
    <who name="Vlad Zahorodnii">vlad.zahorodnii</who>
    <bug_when>2022-06-20 08:19:03 +0000</bug_when>
    <thetext>Can reproduce on X11.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>2132935</commentid>
    <comment_count>5</comment_count>
    <who name="Bug Janitor Service">bug-janitor</who>
    <bug_when>2022-06-20 09:03:50 +0000</bug_when>
    <thetext>A possibly relevant merge request was started @ https://invent.kde.org/plasma/kwin/-/merge_requests/2549</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>2132998</commentid>
    <comment_count>6</comment_count>
    <who name="Vlad Zahorodnii">vlad.zahorodnii</who>
    <bug_when>2022-06-20 13:15:52 +0000</bug_when>
    <thetext>Git commit 35a3184ea3cbfcb0a66a49b466f9f6793c466d10 by Vlad Zahorodnii.
Committed on 20/06/2022 at 10:18.
Pushed by vladz into branch &apos;master&apos;.

Fix computation of effective opaque region of SurfaceItemX11

The value of _NET_WM_OPAQUE_REGION can be out of sync with the geometry
of the window. The NETWM spec suggests to compute the effective opaque
region by taking intersection of _NET_WM_OPAQUE_REGION and the bounding
region set by the shape extension.

SurfaceItemX11::opaque() got broken after refactoring opaque region
handling in wayland surfaces so SurfaceInterface::opaque() always
returns a sane value, the computation of effective opaque region is done
in SurfaceInterface at commit time.

M  +5    -1    src/surfaceitem_x11.cpp

https://invent.kde.org/plasma/kwin/commit/35a3184ea3cbfcb0a66a49b466f9f6793c466d10</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>2132999</commentid>
    <comment_count>7</comment_count>
    <who name="Vlad Zahorodnii">vlad.zahorodnii</who>
    <bug_when>2022-06-20 13:16:59 +0000</bug_when>
    <thetext>Git commit 6f5caa60fe3e33c4850c0bb933a88019da88f2ce by Vlad Zahorodnii.
Committed on 20/06/2022 at 13:16.
Pushed by vladz into branch &apos;Plasma/5.25&apos;.

Fix computation of effective opaque region of SurfaceItemX11

The value of _NET_WM_OPAQUE_REGION can be out of sync with the geometry
of the window. The NETWM spec suggests to compute the effective opaque
region by taking intersection of _NET_WM_OPAQUE_REGION and the bounding
region set by the shape extension.

SurfaceItemX11::opaque() got broken after refactoring opaque region
handling in wayland surfaces so SurfaceInterface::opaque() always
returns a sane value, the computation of effective opaque region is done
in SurfaceInterface at commit time.


(cherry picked from commit 35a3184ea3cbfcb0a66a49b466f9f6793c466d10)

M  +5    -1    src/surfaceitem_x11.cpp

https://invent.kde.org/plasma/kwin/commit/6f5caa60fe3e33c4850c0bb933a88019da88f2ce</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>2133201</commentid>
    <comment_count>8</comment_count>
    <who name="Vlad Zahorodnii">vlad.zahorodnii</who>
    <bug_when>2022-06-21 07:01:39 +0000</bug_when>
    <thetext>*** Bug 455675 has been marked as a duplicate of this bug. ***</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>2134270</commentid>
    <comment_count>9</comment_count>
    <who name="Vlad Zahorodnii">vlad.zahorodnii</who>
    <bug_when>2022-06-24 07:53:07 +0000</bug_when>
    <thetext>*** Bug 455594 has been marked as a duplicate of this bug. ***</thetext>
  </long_desc>
      
          <attachment
              isobsolete="0"
              ispatch="0"
              isprivate="0"
          >
            <attachid>149933</attachid>
            <date>2022-06-19 17:41:23 +0000</date>
            <delta_ts>2022-06-19 17:41:23 +0000</delta_ts>
            <desc>Short clip</desc>
            <filename>file_455617.txt</filename>
            <type>text/plain</type>
            <size>38</size>
            <attacher name="Roope Kiviniemi">roope.kiviniemi</attacher>
            
              <data encoding="base64">ZmlsZTovLy9ob21lL2JhenovVmlkZW9zL3VudGl0bGVkLndlYm0=
</data>

          </attachment>
      

    </bug>

</bugzilla>