Menu

#620 Strange scrollbar when selecting video codec for ogg containers

v2.4
closed-fixed
pottendo
None
User Interface
2016-11-21
2015-03-08
No

I am using VICE 2.4.18, rev 29455M compiled with --enable-static-ffmpeg and --enable-gnomeui. This version of VICE can be used to record a video using the "Save media file…" command of the "Snapshot" menu.

In the "Save screenshot file" dialog which appears upon invoking this command, it is possible to set the (container) format of the video to "ogg". When this is done, the only permitted audio and video codecs are FLAC and Theora, respectively. This is as expected. However, trying to change the codecs results in a strange scrollbar appearing -- see the attached screenshots.

The best way of handling this is to deactivate (grey out) the "Audio codec" and "Video codec" drop-down selection boxes whenever "ogg" is the selected container format. This will prevent anyone from clicking on them in the first place.

1 Attachments

Discussion

  • Tristan Miller

    Tristan Miller - 2015-03-08

    Here's another screenshot showing the problem for the "Audio codec" drop-down selection box.

     
  • Tristan Miller

    Tristan Miller - 2015-03-08

    Some further testing has revealed that this problem isn't limited to cases where the container format is Theora. For example, it also occurs when "mp4" is selected as the container format. In this case there is more than one possible audio codec and more than one possible video codec.

     
  • gpz

    gpz - 2015-03-17

    confirmed, it happens at a bunch of places in that dialog ... tried to google for a solution with little success, GTK is just weird =P

     
  • pottendo

    pottendo - 2015-04-02

    Hmm, not reproducible in my setup. I have the following setup:
    Ubuntu 14.10, fairly standard + Dev packages.

    VICE Version 2.4.18, rev 29561
    OS compiled for: Linux glibc 2.19
    GUI compiled for: GTK+
    CPU compiled for: AMD64/x86_64
    Compiler used: GCC-4.9.1
    Current OS: Linux 3.16.0-33-generic (glibc 2.19)
    Current CPU: Intel(R) Core(TM) i7 CPU 970 @ 3.20GHz
    [...]
    X11: GTK version compiled with: 2.24 (xf86 ext:yes cairo:yes pango:yes VTE:no hwscale:yes fullscreen:yes ui-threads:yes)
    XRandR: XRandR reports current display: 1920x1080@50
    [...]

    If I click on e.g. Flac, it get's highlighted but doesn't show the strange bar.

    Maybe this is related to theme? (wild guess)

    bye pottendo

     
  • pottendo

    pottendo - 2015-04-02

    Forgot to mention, I use the Gnome Shell (Ubuntu Gnome).

     
  • compyx

    compyx - 2016-08-11

    I think this bug can be closed. I've spent the last few days trying to reproduce this bug on a box with Linux Mint 17.3 with the Cinnamon desktop (Gtk3 based), a box with a fresh Debian Jessie with the MATE desktop (Gtk2 based) and a box with a fresh Debian Jessie with Gnome Shell (Gtk3). On all three boxes I've compiled the latest VICE against Gtk2 and Gtk3 and the bug does not appear.

    Seems to me like this was fixed some time ago since the UI now uses a table layout for the widgets which should cause the contained widgets to automagically resize to show their contents without scrollbars showing up. Scrollbars showing up on comboboxes and the like is usually a sign of not properly packing widgets into hbox/vbox containers (happens in Qt as well, although less frequent).

    Of course packing widgets into a table is not the proper way to lay out widgets in a grid fashion, GtkGridBox is much more suited for that, but not present in Gtk2 I think.

     
  • compyx

    compyx - 2016-11-21
    • status: open --> closed-fixed
    • Port: GTK -->
     
  • compyx

    compyx - 2016-11-21

    Fixed a long time ago.

     

Log in to post a comment.