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 573301 - Cheese's window changes it size
Cheese's window changes it size
Status: RESOLVED INCOMPLETE
Product: cheese
Classification: Applications
Component: general
2.25.x
Other All
: Normal minor
: 2.26
Assigned To: Cheese Maintainer(s)
Cheese Maintainer(s)
Depends on:
Blocks:
 
 
Reported: 2009-02-26 19:05 UTC by Arnaud B.
Modified: 2017-07-27 03:19 UTC
See Also:
GNOME target: ---
GNOME version: 2.25/2.26



Description Arnaud B. 2009-02-26 19:05:47 UTC
In some langages (french, here) "Begin the record" is longer than "Take a photo". So, when first switching from the « Photos » mode to the « Vidéos » mode, the size of the window change. That doesn't look "clean"! (and doesn't respect the HIGs)

Other information:
Comment 1 Filippo Argiolas 2009-03-01 20:55:04 UTC
I confirm the issue with italian locale.
Comment 2 Andreas Nilsson 2009-05-25 00:47:12 UTC
Does this issue still remain if you decrease the padding from 16 to 2 (or something like that) of the take_picture button in Glade (under Button Properties > Packing)?
Comment 3 Filippo Argiolas 2009-05-25 06:02:45 UTC
Apparently it doesn't :) I didn't notice there was a minimum size hardcoded for the drawing area. It would still happen if I could size down the window a bit more, but I can't. Anyway it's there again if I set my font size e.g. to 12 or if I set a wider font. That's the drawback of hardcoding sizes, you can never find one that fits each case.
Comment 4 Filippo Argiolas 2009-06-16 14:21:55 UTC
commit e3dfe574aa1b37231dbc1a91b25b5374fb2e2a32
Author: Filippo Argiolas <filippo.argiolas@gmail.com>
Date:   Tue Jun 16 16:01:32 2009 +0200

    ui: remove padding from the take_picture button
    
    Use alignment xscale property instead of padding in the take_picture
    button. Doesn't fix but at least partly works around bug #573301 (the
    button can now grow up and fill the whole free space with no padding
    constraint).

Still far from a real solution at least now the button can fill up all the empty space with the only constraint of being centered in the toolbar. The bug is still triggered depending on the particular locale and font sizes so it's not fixed yet. IMHO the only solution is to completely get rid either of the label or the centered layout or just hard code a big enough minimum size which I really wouldn't like.

Probably things will be a little better if I'll write the custom widget for the toggle buttons (there will be more space for the button to grow in). [http://www.gnome.org/~fargiolas/toggle-button-mockup.png]
Comment 5 Arnaud B. 2009-09-24 14:53:54 UTC
Shouldn't this bug be closed now? I tried the 2.28's cheese, and I don't see any problem now, so I think it's resolved… or does it depend of the locale?
Comment 6 Filippo Argiolas 2009-09-24 15:33:50 UTC
Unfortunately not, it's still there unchanged...
Step to reproduce:
- switch to a locale where "Take photo" translation has a different length than "Start Recording" or "Take a burst" (e.g. LC_ALL=fr_FR.UTF-8 cheese)
- in Photo mode shrink the window to its minimum width
- switch to Video or Burst Mode
- see the window size changing
Comment 7 daniel g. siegel 2010-08-09 00:54:43 UTC
this only happens when you shrink the window from the default size to something smaller. 

should i close it?
Comment 8 Felipe Besoaín Pino 2010-09-24 03:51:27 UTC
Closing this bug report as no further information has been provided. Please feel free to reopen this bug if you can provide the information asked for.
Thanks!
Comment 9 Christian Bueno 2017-07-27 03:18:11 UTC
the same problem here
on terminal:
(cheese:30192): Gtk-WARNING **: Theme parsing error: cheese.css:7:35: The style property GtkScrollbar:min-slider-length is deprecated and shouldn't be used anymore. It will be removed in a future version

cheese has alo of black space around of the display
Comment 10 Christian Bueno 2017-07-27 03:19:30 UTC
the same problem here
on terminal:
(cheese:30192): Gtk-WARNING **: Theme parsing error: cheese.css:7:35: The style property GtkScrollbar:min-slider-length is deprecated and shouldn't be used anymore. It will be removed in a future version

cheese has alo of black space around of the display