Menu

#432 monitor window fails to resize

v2.4.x
closed-fixed
None
GTK
User Interface
2016-02-27
2013-05-25
lvd
No

I am able to increase size of monitor window, but descreasing is not possible (both in X and Y directions).

OS: linux mint 14 64bit
$ uname -a
Linux lenovo 3.5.0-17-generic #28-Ubuntu SMP Tue Oct 9 19:31:23 UTC 2012 x86_64 x86_64 x86_64 GNU/Linux
$ gcc --version
gcc (Ubuntu/Linaro 4.7.2-2ubuntu1) 4.7.2

configured with:
./configure --prefix=/home/lvd --enable-gnomeui --disable-nls --enable-vte --disable-realdevice --disable-ethernet --disable-ipv6 --disable-parsid --enable-memmap --disable-rs232 --disable-midi --enable-sse --with-pulse --without-oss --without-alsa

$ svn info
Path: .
Working Copy Root Path: /home/lvd/e/c64/vice-src
URL: http://vice-emu.svn.sourceforge.net/svnroot/vice-emu/trunk/vice
Repository Root: http://vice-emu.svn.sourceforge.net/svnroot/vice-emu
Repository UUID: 379a1393-f5fb-40a0-bcee-ef074d9b53f7
Revision: 27388
Node Kind: directory
Schedule: normal
Last Changed Author: loggedoubt
Last Changed Rev: 27388
Last Changed Date: 2013-05-25 06:15:54 +0400 (Sat, 25 May 2013)

Discussion

  • gpz

    gpz - 2013-06-20

    confirmed... the problem seems not to be that you generally can not make the window smaller (you actually can, unless you cross character boundaries) but that the VTE widget due to its size would not allow to further make the window smaller. some quick google foo didnt give me a solution for this unfortunately (but a couple ugly hacks... i really hope it can be done without another one =P)

     
  • Greg King

    Greg King - 2013-06-20

    SourceForge changed the paths to all projects. So, you need to relocate the URLs in your working copies. You can see the new root URLs on the projects' code pages.

     
  • gpz

    gpz - 2014-01-28

    i gave google a try once again and what i got suggest that VTE is kindof broken and everyone has these problems. urks.

     
  • pottendo

    pottendo - 2014-01-29

    Sorry, never messed with this vte widget, fabbo?!

     
  • Fabrizio Gennari

    Tried to submit this patch (which is a quick way to disable resizing)

    --- trunk/src/arch/unix/x11/gnome/uimon.c (revisione 27903)
    +++ trunk/src/arch/unix/x11/gnome/uimon.c (copia locale)
    @@ -311,6 +311,7 @@
    gtk_window_set_position(GTK_WINDOW(fixed.window), GTK_WIN_POS_CENTER);
    gtk_widget_set_app_paintable(fixed.window, TRUE);
    gtk_window_set_deletable(GTK_WINDOW(fixed.window), TRUE);
    + gtk_window_set_resizable(GTK_WINDOW(fixed.window), FALSE);
    fixed.term = vte_terminal_new();
    vte_terminal_set_scrollback_lines (VTE_TERMINAL(fixed.term), 1000);
    vte_terminal_set_scroll_on_output (VTE_TERMINAL(fixed.term), TRUE);

    but got an error

    svn: E175013: Access to '/p/vice-emu/code/!svn/me' forbidden

    Maybe SVN write privileges revoked? Or (hopefully) something that can be solved?

     
  • Fabrizio Gennari

    OK, performed an svn relocate and committed the patch

     
  • gpz

    gpz - 2014-01-29

    mmh not sure if thats what we want though.... i like being able to maximize the monitor window, for example :)

    how does eg gnome terminal do it? it can be resized no?

     

    Last edit: gpz 2014-01-29
  • Fabrizio Gennari

    The VTE-based never supported resizing iirc, but I'll dig up gnome-terminal's source code in search of inspiration

     
  • gpz

    gpz - 2014-03-09

    r27972 almost fixes it in GTK2 too... except its broken in a hilarious way =) when you open the monitor, it will start resizing itself until the monitor window has its minimum size. however, once that happened, resizing the window in both ways works just fine - so almost there :)

     
  • gpz

    gpz - 2014-03-14

    should be fixed in r27979, please test again

     
  • lvd

    lvd - 2014-11-12

    Resizing in both directions seems to work now. Thanks a lot!

     
  • Marco van den Heuvel

    • status: pending-fixed --> closed-fixed
     

Log in to post a comment.