juanman82 / gource

Automatically exported from code.google.com/p/gource
0 stars 0 forks source link

Main window should be resizable #149

Closed GoogleCodeExporter closed 9 years ago

GoogleCodeExporter commented 9 years ago
The main window should be resizable. For now (version 0.37) the user has to 
restart the program from scratch to be able to change the rendering window size.

Moreover, this prevents proper fullscreen mode on a multimonitor X11 system. 
Your custom fullscreenizing code does OpenGL viewport positioning wrong (half 
of the viewport appears on one monitor, half on the other; the rest of both 
screens stays plain gray), while the proper, external and setup-sensitive, 
fullscreenizing by X11 Window Manager cannot operate on non-resizable windows.

Original issue reported on code.google.com by ulid...@gmail.com on 19 Feb 2012 at 5:14

GoogleCodeExporter commented 9 years ago
Hi.

The main window is resizeable in development version 0.38.

I am not sure why you are getting the view spread across 2 monitors in 
full-screen mode (-f?). I might need some more details about your video 
card/monitor setup and what command line you are using. If you specify the 
dimensions of one of the monitors I would expect SDL would use fullscreen on 
only one monitor.

Unfortunately the SDL 1.2 API has basically no support for controlling the 
behaviour on a multi-monitor setup.

Cheers

Andrew

Original comment by acaudw...@gmail.com on 19 Feb 2012 at 9:04

GoogleCodeExporter commented 9 years ago
Hi,

> The main window is resizeable in development version 0.38.
Nice. I used 0.37.

> I might need some more details about your video card/monitor setup and what 
command line you are using.

xrandr output:
Screen 0: minimum 320 x 200, current 2960 x 1420, maximum 8192 x 8192
LVDS1 connected 1280x800+1680+620 (normal left inverted right x axis y axis) 
331mm x 207mm
VGA1 connected 1680x1050+0+0 (normal left inverted right x axis y axis) 474mm x 
296mm

gource commandline:
./gource --seconds-per-day 1 --auto-skip-seconds 2 -f -1680x1050 ../a-project

> If you specify the dimensions of one of the monitors I would expect SDL would 
use fullscreen on only one monitor.
Nope, this was not the case. (And exactly this is one of the reasons why I'm so 
zealous about WM-managed fullscreen: because such assumptions tend to be 
unreliable and lead to broken fullscreen in applications. IMO, application 
developer should completely delegate the fullscreenizing logic to the WM.)

Anyways, I'm completely happy with main window being resizable in 0.38.
Oh, and thanks for the nice software btw.

Regards

Original comment by maxim.iv...@viewdle.com on 20 Feb 2012 at 11:19

GoogleCodeExporter commented 9 years ago

Original comment by acaudw...@gmail.com on 21 Apr 2012 at 8:35