After an evaluation, GNOME has moved from Bugzilla to GitLab. Learn more about GitLab.
No new issues can be reported in GNOME Bugzilla anymore.
To report an issue in a GNOME project, go to GNOME GitLab.
Do not go to GNOME Gitlab for: Bluefish, Doxygen, GnuCash, GStreamer, java-gnome, LDTP, NetworkManager, Tomboy.
Bug 155870 - The tasks are sized according to the amount of text in window titles.
The tasks are sized according to the amount of text in window titles.
Status: RESOLVED DUPLICATE of bug 310809
Product: libwnck
Classification: Core
Component: tasklist
2.8.x
Other All
: High major
: ---
Assigned To: libwnck maintainers
libwnck maintainers
: 85209 85210 111961 139411 143118 (view as bug list)
Depends on:
Blocks: 155905 166605
 
 
Reported: 2004-10-19 18:02 UTC by Benjamin Kahn
Modified: 2005-07-18 23:13 UTC
See Also:
GNOME target: ---
GNOME version: ---


Attachments
Unify the tasklist task size. (5.20 KB, patch)
2004-10-19 18:02 UTC, Benjamin Kahn
needs-work Details | Review

Description Benjamin Kahn 2004-10-19 18:02:24 UTC
The tasks are sized according to the amount of text in window titles.  Because
applications which change their window titles frequently are very common,
(Terminal, Mozilla, Red Carpet, etc.) this means that task sizes will often be
changing sizes.  Obviously if there is a lack of space for all the tasks, the
tasks should be shrunk so they all fit.  But they should not grow and shrink
according to window titles.
Comment 1 Benjamin Kahn 2004-10-19 18:02:51 UTC
Created attachment 32784 [details] [review]
Unify the tasklist task size.
Comment 2 Elijah Newren 2004-10-19 19:57:12 UTC
You know bugzilla searching must be too painful when people start filing
duplicates of their own bugs...
Comment 3 Elijah Newren 2004-10-19 19:57:29 UTC
*** Bug 85209 has been marked as a duplicate of this bug. ***
Comment 4 Elijah Newren 2004-10-19 22:01:32 UTC
See also bug 125023.
Comment 5 Elijah Newren 2004-10-19 22:39:25 UTC
*** Bug 139411 has been marked as a duplicate of this bug. ***
Comment 6 Elijah Newren 2004-10-19 22:44:07 UTC
*** Bug 143118 has been marked as a duplicate of this bug. ***
Comment 7 Elijah Newren 2004-10-19 23:11:19 UTC
*** Bug 85210 has been marked as a duplicate of this bug. ***
Comment 8 Christian Neumair 2004-10-20 14:33:20 UTC
Benjamin: From taking a quick look at the patch, I could see that you introduced
a new variable called b_width, which is only assigned but never read.
Comment 9 Elijah Newren 2004-10-20 14:43:04 UTC
We are not in any freezes right now.  libwnck hasn't branched, but that's merely
because there hasn't been any patches that would cause the need for a branch
before applying.  I'm removing the BLOCKED_BY_FREEZE keyword.
Comment 10 Havoc Pennington 2004-10-26 17:31:14 UTC
Alex may be the most qualified person to look at this...
Comment 11 Alexander Larsson 2004-12-06 22:56:57 UTC
Man, i haven't looked at this code in a zillion years...
Comment 12 Vincent Noel 2004-12-10 20:26:08 UTC
This patch would solve at the same time bug 160977 (introduced while solving bug
155868).
Comment 13 Vincent Noel 2004-12-22 16:02:37 UTC
Could someone make a decision on this ? The tasklist is almost useless now
because of bug 160977.
Comment 14 Elijah Newren 2004-12-22 16:10:38 UTC
Vincent: You'll probably have to ping Havoc privately; he often misses bugzilla
activity for libwnck.  It may also be good to get some comments from Vincent
Untz, due to his work in bug 125023.
Comment 15 Vincent Untz 2004-12-22 16:25:25 UTC
+  total_width = BUTTON_MAX_WIDTH * n_cols;

This should probably be:

+  total_width = b_width * n_cols;

Comment 16 Havoc Pennington 2004-12-23 21:44:24 UTC
Comment on attachment 32784 [details] [review]
Unify the tasklist task size.

Aside, if you add -p option to diff it's easier to see what's going on.

A max height has to allow for large fonts. I would suggest something like
MAX(24,font_height). Even that's a bit wrong; you really can't go chopping off
the button bevel (the text may even "lose" if you do) so maybe just say that we
need to honor size request height on the buttons.

Of course, that's what the old code seems to do, so obviously I simply don't
understand this patch ;-) I don't see how we can just chop off buttons if they
exceed 24 pixels.

Width I kind of get - I think it's potentially OK to just chop that especially
if we ellipsize.
Comment 17 Vincent Noel 2005-01-24 18:39:33 UTC
*** Bug 111961 has been marked as a duplicate of this bug. ***
Comment 18 Michaël Arnauts 2005-01-24 18:55:41 UTC
Perhaps something can be done to the preferences also, because the "Window List
Size" settings are behaving quite strange...
I mean the "Minimus size" and "Maximum size" settings, setting the maximum size
doesn't seem to do anything...
Comment 19 Vincent Noel 2005-01-28 14:57:43 UTC
Moving to the right component. Sorry for the spam.
Comment 20 Vincent Noel 2005-02-16 21:47:10 UTC
This could also fix the fact that when you check email in evolution, it opens
briefly a "Send & receive mail" window, that inserts itself into the tasklist
and shuffles everything. This happens with evolution, but also with any app that
opens a window and closes it after a very short while. It looks really weird.
Comment 21 Elijah Newren 2005-07-18 21:55:03 UTC
Consolidating; see bug 310809.

*** This bug has been marked as a duplicate of 310809 ***