<?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>335396</bug_id>
          
          <creation_ts>2014-05-26 22:11:56 +0000</creation_ts>
          <short_desc>Assigning a window to an activity has no effect at all</short_desc>
          <delta_ts>2014-06-01 16:58:45 +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>activities</component>
          <version>git master</version>
          <rep_platform>Gentoo Packages</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>0</everconfirmed>
          <reporter name="Elias Probst">mail</reporter>
          <assigned_to name="KWin default assignee">kwin-bugs-null</assigned_to>
          <cc>ivan.cukic</cc>
          
          <cf_commitlink>http://commits.kde.org/kwin/b995c9da231d65805621f9264975c74ec30fa88b</cf_commitlink>
          <cf_versionfixedin></cf_versionfixedin>
          <cf_sentryurl></cf_sentryurl>
          <votes>0</votes>

      

      

      

          <comment_sort_order>oldest_to_newest</comment_sort_order>  
          <long_desc isprivate="0" >
    <commentid>1451311</commentid>
    <comment_count>0</comment_count>
    <who name="Elias Probst">mail</who>
    <bug_when>2014-05-26 22:11:56 +0000</bug_when>
    <thetext>Assigning a window to an activity via kwin&apos;s context menu has no effect at all.

Clicking on once of the activities in the list sets the checkbox for this activity, but even &quot;All Activities&quot; isn&apos;t unchecked by this.
Re-opening the context menu shows the activity list in the default state again (&quot;All Activities&quot; checked, all others unchecked).

It&apos;s not only the menu which doesn&apos;t work, but it seems to be a general window &lt;-&gt; activity mapping issue, as the windows aren&apos;t hidden/shown based on the current activity.

Unfortunately kwin doesn&apos;t log anything when assigning windows to activities, so I can&apos;t provide any debug output here.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>1451340</commentid>
    <comment_count>1</comment_count>
    <who name="Martin Flöser">mgraesslin</who>
    <bug_when>2014-05-27 05:27:36 +0000</bug_when>
    <thetext>I have to admit that I haven&apos;t tried with KWin/5 yet. Ivan are there any changes needed in the activities code?</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>1452328</commentid>
    <comment_count>2</comment_count>
    <who name="Elias Probst">mail</who>
    <bug_when>2014-05-31 15:43:56 +0000</bug_when>
    <thetext>Added some debug statements to the code and the most useful pointer I could find so far:

client.cpp:1606 → QStringList allActivities = Activities::self()-&gt;all();
this returns only a single activity: 00000000-0000-0000-0000-000000000000</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>1452504</commentid>
    <comment_count>3</comment_count>
    <who name="Ivan Čukić">ivan.cukic</who>
    <bug_when>2014-06-01 16:58:45 +0000</bug_when>
    <thetext>Git commit b995c9da231d65805621f9264975c74ec30fa88b by Ivan Čukić.
Committed on 01/06/2014 at 16:55.
Pushed by ivan into branch &apos;master&apos;.

KWin activities usage ported to the new library paradigm

Since the KActivities library now keeps an internal cache (and is
non-blocking), there is no point in thread-based information
fetching.
REVIEW: 118443

M  +2    -78   activities.cpp
M  +9    -12   activities.h
M  +2    -3    useractions.cpp
M  +0    -3    workspace.cpp

http://commits.kde.org/kwin/b995c9da231d65805621f9264975c74ec30fa88b</thetext>
  </long_desc>
      
      

    </bug>

</bugzilla>