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 504480 - new dialog-less errors are too tall for the status bar
new dialog-less errors are too tall for the status bar
Status: RESOLVED FIXED
Product: evolution
Classification: Applications
Component: Mailer
2.22.x (obsolete)
Other All
: Normal normal
: ---
Assigned To: evolution-mail-maintainers
Evolution QA team
Depends on:
Blocks:
 
 
Reported: 2007-12-19 15:17 UTC by Martin Meyer
Modified: 2013-09-13 00:59 UTC
See Also:
GNOME target: ---
GNOME version: 2.21/2.22


Attachments
Proposed patch (1016 bytes, patch)
2007-12-20 04:30 UTC, Matthew Barnes
committed Details | Review
proposed evo patch (4.49 KB, patch)
2007-12-20 16:39 UTC, Milan Crha
reviewed Details | Review
proposed evo patch (leak and prototype fix) (2.36 KB, patch)
2008-01-04 10:53 UTC, Milan Crha
committed Details | Review

Description Martin Meyer 2007-12-19 15:17:12 UTC
Please describe the problem:
I'm running Evolution 2.21.4 in Hardy. I love these new messages that are coming to the status bar, but when they appear they cause the entire status bar to grow taller.

The issue seems to be that the contents of those boxes containing the error code and the little cancel button are too tall for the status bar - you can see the lower part of the evolution window re-draw when any message appears.

To reproduce, all you have to do is click send/receive on the toolbar and observe the status bar redraw.

Steps to reproduce:


Actual results:


Expected results:


Does this happen every time?


Other information:
Comment 1 André Klapper 2007-12-19 20:46:43 UTC
known issue.
Comment 2 Matthew Barnes 2007-12-20 04:30:09 UTC
Created attachment 101295 [details] [review]
Proposed patch

Increases the height of the ETaskBar to eliminate the constant resizing.  Note that I fudged the height a bit to account for the button border, which is a style property that I couldn't figure out how to easily retrieve.  Maybe someone else knows a better way.
Comment 3 Milan Crha 2007-12-20 16:39:11 UTC
Created attachment 101327 [details] [review]
proposed evo patch

for evolution;

When we are talking about cheating, what about this? :)
Btw, I fixed a possible leak too and other bug with unused parameter (it wasn't visible, because the hard coded value is same as the parameter in all calls, but anyway, it shouldn't be like that, either remove the parameter or use it. I hope you will agree.)
Btw2, I didn't obsolete your patch, one can choose "the better" one.
Comment 4 Srinivasa Ragavan 2007-12-20 18:59:29 UTC
Thanks for the patches guys. I'm on vacation and will be back on 1st of Jan and will test/choose the best one :)
Comment 5 Srinivasa Ragavan 2008-01-01 09:34:13 UTC
Hmm, I'll push Matt's patch here. Milan, In the prepare_popup I wanted to add a menu to "Cancel" and "Cancel All" but I haven't got time to implement it. You almost take that off :)

Can you just patch your leak fix alone?
Comment 6 Milan Crha 2008-01-04 10:53:18 UTC
Created attachment 102096 [details] [review]
proposed evo patch (leak and prototype fix)

for evolution;

Sure, I can, I just wasn't CCed to this bug, so I didn't notice your request earlier :(
Comment 7 Milan Crha 2008-01-04 11:45:37 UTC
Matt's patch committed to trunk. Committed revision 34758.

So this just waits for reject/approve of my leak and prototype fix.
Comment 8 Matthew Barnes 2008-01-04 12:24:28 UTC
Looks good, Milan.  Please commit.
Comment 9 Milan Crha 2008-01-04 13:08:13 UTC
Second patch committed to trunk. Committed revision 34759.
Comment 10 Milan Crha 2008-01-07 18:53:54 UTC
I observed one little issue about this patch, when I open a menu and move mouse over the menu items with hint, the status bar is getting smaller when displaying the hint, and grow a bit again when moving over the item without the hint.

Try this (everything with mouse):
1) Open Edit menu item
2) Move mouse between first item (Copy for me in mailer) and the separator just under that item.

When you are over Copy, the height is a bit smaller.
When you are over the separator, the height is back in taller state.
It scared me again (a bit), until I realized what is going on.