[prev in list] [next in list] [prev in thread] [next in thread] 

List:       kde-panel-devel
Subject:    Re: Review Request: Pager QML port
From:       "Shaun Reich" <shaun.reich () kdemail ! net>
Date:       2012-08-31 20:06:50
Message-ID: 20120831200650.2798.68721 () vidsolbach ! de
[Download RAW message or body]

[Attachment #2 (multipart/alternative)]


> On Aug. 21, 2012, 5:15 p.m., Marco Martin wrote:
> > found a small issue: when there is only one desktop, the pager should show nothing and be \
> > only few pixels wide (effectively "hidden")
> 
> Marco Martin wrote:
> what's the status on this? can it be merged?
> 
> Luis Gabriel Lima wrote:
> I'll upload a new diff soon (today or tomorrow) with a bug fixed and the hidden feature.
> 
> Luis Gabriel Lima wrote:
> I was looking the pager history and I found this commit: \
> http://quickgit.kde.org/index.php?p=kde-workspace.git&a=commit&h=9bee3f3fbf3f4b91caf04ede5bfe1d1aec41f66e
>  Should we really bring this hidden behavior back?
> 
> Marco Martin wrote:
> when semi invisible it should still have some width and react to right clicks, but that \
> revert wasn't good

the revert was needed because it was entirely invisible ;-)
iow you couldn't click it or anything, it just took up blank space iirc. not opposed to being \
-somewhat- hidden in that mode, as long as it doesn't turn into "where'd the pager go? what's \
this gap doing here for?"


- Shaun


-----------------------------------------------------------
This is an automatically generated e-mail. To reply, visit:
http://git.reviewboard.kde.org/r/106112/#review17812
-----------------------------------------------------------


On Aug. 30, 2012, 2:30 a.m., Luis Gabriel Lima wrote:
> 
> -----------------------------------------------------------
> This is an automatically generated e-mail. To reply, visit:
> http://git.reviewboard.kde.org/r/106112/
> -----------------------------------------------------------
> 
> (Updated Aug. 30, 2012, 2:30 a.m.)
> 
> 
> Review request for Plasma and Marco Martin.
> 
> 
> Description
> -------
> 
> This patch contains the QML port of the Pager plasmoid done during the GSoC 2012.
> 
> In this port basically I used QML to paint the Pager UI and deal with the user interaction. 
> The geometry calculation of the desktop and window rectangles was kept in C++ as well as \
> other routines that needs to interact with classes like KWindowSystem, QDbusConnection and so \
> on. This patch also introduces the PagerModel, a QAIM subclass that holds the desktop/window \
> geometries and is used by the QML part to fill the UI. 
> 
> Diffs
> -----
> 
> plasma/desktop/applets/pager/CMakeLists.txt 5d80514 
> plasma/desktop/applets/pager/model.h PRE-CREATION 
> plasma/desktop/applets/pager/model.cpp PRE-CREATION 
> plasma/desktop/applets/pager/package/contents/ui/main.qml PRE-CREATION 
> plasma/desktop/applets/pager/package/contents/ui/utils.js PRE-CREATION 
> plasma/desktop/applets/pager/package/metadata.desktop PRE-CREATION 
> plasma/desktop/applets/pager/pager.h 6c7c045 
> plasma/desktop/applets/pager/pager.cpp 74dc529 
> 
> Diff: http://git.reviewboard.kde.org/r/106112/diff/
> 
> 
> Testing
> -------
> 
> - Tested inside panels and floating on desktop, sizing works as expected
> - Mouse interactions (move windows around, change desktop, etc)
> 
> 
> Screenshots
> -----------
> 
> 
> http://git.reviewboard.kde.org/r/106112/s/691/
> 
> http://git.reviewboard.kde.org/r/106112/s/692/
> 
> 
> Thanks,
> 
> Luis Gabriel Lima
> 
> 


[Attachment #5 (text/html)]

<html>
 <body>
  <div style="font-family: Verdana, Arial, Helvetica, Sans-Serif;">
   <table bgcolor="#f9f3c9" width="100%" cellpadding="8" style="border: 1px #c9c399 solid;">
    <tr>
     <td>
      This is an automatically generated e-mail. To reply, visit:
      <a href="http://git.reviewboard.kde.org/r/106112/">http://git.reviewboard.kde.org/r/106112/</a>
  </td>
    </tr>
   </table>
   <br />





<blockquote style="margin-left: 1em; border-left: 2px solid #d0d0d0; padding-left: 10px;">
 <p style="margin-top: 0;">On August 21st, 2012, 5:15 p.m., <b>Marco Martin</b> wrote:</p>
 <blockquote style="margin-left: 1em; border-left: 2px solid #d0d0d0; padding-left: 10px;">
  <pre style="white-space: pre-wrap; white-space: -moz-pre-wrap; white-space: -pre-wrap; \
white-space: -o-pre-wrap; word-wrap: break-word;">found a small issue: when there is only one \
desktop, the pager should show nothing and be only few pixels wide (effectively \
&quot;hidden&quot;)</pre>  </blockquote>




 <p>On August 27th, 2012, 9:14 a.m., <b>Marco Martin</b> wrote:</p>
 <blockquote style="margin-left: 1em; border-left: 2px solid #d0d0d0; padding-left: 10px;">
  <pre style="white-space: pre-wrap; white-space: -moz-pre-wrap; white-space: -pre-wrap; \
white-space: -o-pre-wrap; word-wrap: break-word;">what&#39;s the status on this? can it be \
merged?</pre>  </blockquote>





 <p>On August 27th, 2012, 10:59 a.m., <b>Luis Gabriel Lima</b> wrote:</p>
 <blockquote style="margin-left: 1em; border-left: 2px solid #d0d0d0; padding-left: 10px;">
  <pre style="white-space: pre-wrap; white-space: -moz-pre-wrap; white-space: -pre-wrap; \
white-space: -o-pre-wrap; word-wrap: break-word;">I&#39;ll upload a new diff soon (today or \
tomorrow) with a bug fixed and the hidden feature.</pre>  </blockquote>





 <p>On August 29th, 2012, 2:20 a.m., <b>Luis Gabriel Lima</b> wrote:</p>
 <blockquote style="margin-left: 1em; border-left: 2px solid #d0d0d0; padding-left: 10px;">
  <pre style="white-space: pre-wrap; white-space: -moz-pre-wrap; white-space: -pre-wrap; \
white-space: -o-pre-wrap; word-wrap: break-word;">I was looking the pager history and I found \
this commit: http://quickgit.kde.org/index.php?p=kde-workspace.git&amp;a=commit&amp;h=9bee3f3fbf3f4b91caf04ede5bfe1d1aec41f66e
 Should we really bring this hidden behavior back?</pre>
 </blockquote>





 <p>On August 29th, 2012, 8:07 a.m., <b>Marco Martin</b> wrote:</p>
 <blockquote style="margin-left: 1em; border-left: 2px solid #d0d0d0; padding-left: 10px;">
  <pre style="white-space: pre-wrap; white-space: -moz-pre-wrap; white-space: -pre-wrap; \
white-space: -o-pre-wrap; word-wrap: break-word;">when semi invisible it should still have some \
width and react to right clicks, but that revert wasn&#39;t good</pre>  </blockquote>








</blockquote>

<pre style="white-space: pre-wrap; white-space: -moz-pre-wrap; white-space: -pre-wrap; \
white-space: -o-pre-wrap; word-wrap: break-word;">the revert was needed because it was entirely \
invisible ;-) iow you couldn&#39;t click it or anything, it just took up blank space iirc. not \
opposed to being -somewhat- hidden in that mode, as long as it doesn&#39;t turn into \
&quot;where&#39;d the pager go? what&#39;s this gap doing here for?&quot;</pre> <br />








<p>- Shaun</p>


<br />
<p>On August 30th, 2012, 2:30 a.m., Luis Gabriel Lima wrote:</p>






<table bgcolor="#fefadf" width="100%" cellspacing="0" cellpadding="8" style="background-image: \
url('http://git.reviewboard.kde.org/media/rb/images/review_request_box_top_bg.png'); \
background-position: left top; background-repeat: repeat-x; border: 1px black solid;">  <tr>
  <td>

<div>Review request for Plasma and Marco Martin.</div>
<div>By Luis Gabriel Lima.</div>


<p style="color: grey;"><i>Updated Aug. 30, 2012, 2:30 a.m.</i></p>






<h1 style="color: #575012; font-size: 10pt; margin-top: 1.5em;">Description </h1>
 <table width="100%" bgcolor="#ffffff" cellspacing="0" cellpadding="10" style="border: 1px \
solid #b8b5a0">  <tr>
  <td>
   <pre style="margin: 0; padding: 0; white-space: pre-wrap; white-space: -moz-pre-wrap; \
white-space: -pre-wrap; white-space: -o-pre-wrap; word-wrap: break-word;">This patch contains \
the QML port of the Pager plasmoid done during the GSoC 2012.

In this port basically I used QML to paint the Pager UI and deal with the user interaction. 
The geometry calculation of the desktop and window rectangles was kept in C++ as well as other \
routines that needs to interact with classes like KWindowSystem, QDbusConnection and so on. \
This patch also introduces the PagerModel, a QAIM subclass that holds the desktop/window \
geometries and is used by the QML part to fill the UI.</pre>  </td>
 </tr>
</table>


<h1 style="color: #575012; font-size: 10pt; margin-top: 1.5em;">Testing </h1>
<table width="100%" bgcolor="#ffffff" cellspacing="0" cellpadding="10" style="border: 1px solid \
#b8b5a0">  <tr>
  <td>
   <pre style="margin: 0; padding: 0; white-space: pre-wrap; white-space: -moz-pre-wrap; \
white-space: -pre-wrap; white-space: -o-pre-wrap; word-wrap: break-word;">- Tested inside \
                panels and floating on desktop, sizing works as expected
- Mouse interactions (move windows around, change desktop, etc)</pre>
  </td>
 </tr>
</table>




<h1 style="color: #575012; font-size: 10pt; margin-top: 1.5em;">Diffs</b> </h1>
<ul style="margin-left: 3em; padding-left: 0;">

 <li>plasma/desktop/applets/pager/CMakeLists.txt <span style="color: \
grey">(5d80514)</span></li>

 <li>plasma/desktop/applets/pager/model.h <span style="color: grey">(PRE-CREATION)</span></li>

 <li>plasma/desktop/applets/pager/model.cpp <span style="color: \
grey">(PRE-CREATION)</span></li>

 <li>plasma/desktop/applets/pager/package/contents/ui/main.qml <span style="color: \
grey">(PRE-CREATION)</span></li>

 <li>plasma/desktop/applets/pager/package/contents/ui/utils.js <span style="color: \
grey">(PRE-CREATION)</span></li>

 <li>plasma/desktop/applets/pager/package/metadata.desktop <span style="color: \
grey">(PRE-CREATION)</span></li>

 <li>plasma/desktop/applets/pager/pager.h <span style="color: grey">(6c7c045)</span></li>

 <li>plasma/desktop/applets/pager/pager.cpp <span style="color: grey">(74dc529)</span></li>

</ul>

<p><a href="http://git.reviewboard.kde.org/r/106112/diff/" style="margin-left: 3em;">View \
Diff</a></p>



<h1 style="color: #575012; font-size: 10pt; margin-top: 1.5em;">Screenshots </h1>

<div>

 <a href="http://git.reviewboard.kde.org/r/106112/s/691/"><img \
src="http://git.reviewboard.kde.org/media/uploaded/images/2012/08/21/pager_400x100.png" \
style="border: 1px black solid;" alt="" /></a>

 <a href="http://git.reviewboard.kde.org/r/106112/s/692/"><img \
src="http://git.reviewboard.kde.org/media/uploaded/images/2012/08/21/pager-panel_400x100.png" \
style="border: 1px black solid;" alt="" /></a>

</div>


  </td>
 </tr>
</table>








  </div>
 </body>
</html>



_______________________________________________
Plasma-devel mailing list
Plasma-devel@kde.org
https://mail.kde.org/mailman/listinfo/plasma-devel


[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic