[prev in list] [next in list] [prev in thread] [next in thread]
List: kopete-devel
Subject: Re: [kopete-devel] Review Request: Automatically resize main window
From: Matt Rogers <mattr () kde ! org>
Date: 2008-03-01 15:24:28
Message-ID: 20080301152428.27263.6498 () localhost
[Download RAW message or body]
> On 2008-02-23 10:33:04, Matt Rogers wrote:
> > hmm, I wonder if you could tie the resize to the layout timer instead of having \
> > to create a new one. That removes another option ( the one about how long to wait \
> > to resize ) and removes a timer. :)
> > If you can't do it, then we'll go with this way and just commit the patch as-is.
>
> Charles Connell wrote:
> I don't think it would be a good idea to tie the two timers together because:
> a) Some people might want them to be different (after all you can't even change the \
> layout timer) b) People who have disabled contact list animations will see almost \
> no difference between sudden resizing and layout-timer resizing
> Matt Rogers wrote:
> I don't care if some people want them to be different.
>
> Why is people seeing no difference between sudden resizing and layout-timer \
> resizing a bad thing?
> Charles Connell wrote:
> As I've already said, sudden resizing means resizing every time a buddy come or \
> goes, which might be very frequent, and therefore very annoying to the user. \
> However, we can do it that way if you want.
> The layout timer is set to 30 milliseconds, making it, for all purposes, the same \
> as sudden resizing.
> Simplifying is good, so my recommendation for that is to do "sudden resizing", \
> which to me means resizing every time the contact list changes contents. (aka after \
> the layout timer has fired and everything is laid out)
> Charles Connell wrote:
> Simplification complete. Only options now are:
> 1) Turn resizing on and off
> 2) Choose to anchor at top or bottom
>
> It will resize 1000 milliseconds after a contact list item appears or disappears. I \
> gave it this buffer because sometimes hundreds of contacts will appear/disappear at \
> almost the exact same time, but we only want to resize once.
> The diff is updated, as well as the screenshot, as well as the official \
> description.
sounds good to me
- Matt
-----------------------------------------------------------
This is an automatically generated e-mail. To reply, visit:
http://mattr.info/r/171/#review176
-----------------------------------------------------------
On 2008-02-24 16:48:57, Charles Connell wrote:
>
> -----------------------------------------------------------
> This is an automatically generated e-mail. To reply, visit:
> http://mattr.info/r/171/
> -----------------------------------------------------------
>
> (Updated 2008-02-24 16:48:57)
>
>
> Review request for Kopete.
>
>
> Summary
> -------
>
> This is a patch that resizes the main window automatically, so that it nicely fits \
> the size of the contact list tree. This is set up as an off-by-default option. It \
> will never get taller than the size of the user's desktop, and it will never get \
> shorter than 400 pixels.
> 1000 milliseconds after a contact enters/leaves the visible contact list, the \
> window resizes. We wait 1000 milliseconds in case a significant number of contacts \
> are appearing/disappearing at once and we only want to resize once. Also, it will \
> not resize if the user's cursor is inside the main window, as this would likely \
> cause undue frustration.
> Advantages: - Always a nicely presented main window.
> - Keep up with feature sets in competitors (some of them already have this).
>
> Disadvantages: - If window is visible to user, it is distracting to see it resizing \
> spontaneously.
> Of course, this is all off by default, and even if the setting is enabled, it only \
> takes effect when the main window is maximized.
> User has two config options:
> 1) Enable/disable automatic resizing
> 2) Anchor resizing at top or bottom of window
>
>
> This addresses bug 154955.
>
>
> Diffs
> -----
>
> trunk/KDE/kdenetwork/kopete/kopete/config/appearance/appearanceconfig.cpp
> trunk/KDE/kdenetwork/kopete/kopete/config/appearance/appearanceconfig_advanced.ui
> trunk/KDE/kdenetwork/kopete/kopete/kopetewindow.h
> trunk/KDE/kdenetwork/kopete/kopete/kopetewindow.cpp
> trunk/KDE/kdenetwork/kopete/libkopete/kopeteappearancesettings.kcfg
> trunk/KDE/kdenetwork/kopete/libkopete/ui/kopetelistview.h
> trunk/KDE/kdenetwork/kopete/libkopete/ui/kopetelistviewitem.h
> trunk/KDE/kdenetwork/kopete/libkopete/ui/kopetelistviewitem.cpp
>
> Diff: http://mattr.info/r/171/diff
>
>
> Testing
> -------
>
> works for me after during a few minutes of testing
>
>
> Screenshots
> -----------
>
> Config options rev. 3
> http://mattr.info/r/171/s/20/
>
>
> Thanks,
>
> Charles
>
>
_______________________________________________
kopete-devel mailing list
kopete-devel@kde.org
https://mail.kde.org/mailman/listinfo/kopete-devel
[prev in list] [next in list] [prev in thread] [next in thread]
Configure |
About |
News |
Add a list |
Sponsored by KoreLogic