Details Ticket 5042


Comment | Reply | Take | Open


Serial Number 5042
Subject v.digit: window too large for 800x600
Area grass6
Queue grass
Requestors neteler@itc.it
Owner none
Status resolved
Last User Contact Sat Nov 4 19:24:53 2006 (2 yr ago)
Current Priority 30
Final Priority 70
Due No date assigned
Last Action Sat Nov 4 19:24:53 2006 (2 yr ago)
Created Wed Aug 23 20:51:48 2006 (2 yr ago)

Transaction History Ticket 5042


Wed, Aug 23 2006 20:51:48    Request created by neteler@itc.it  
Return-Path <neteler@itc.it>
Delivered-To grass-bugs@lists.intevation.de
Date Wed, 23 Aug 2006 19:43:15 +0200
From Markus Neteler <neteler@itc.it>
To 305247@bugs.debian.org
Cc grass-bugs@intevation.de
Subject v.digit: Settings pop-up off the screen
Message-ID <20060823174315.GG14363@bartok.itc.it>
Mime-Version 1.0
Content-Type text/plain; charset=us-ascii
Content-Disposition inline
User-Agent Mutt/1.4.1i
X-PGP-Key http://www.gdf-hannover.de/neteler/markus_gpgkey.asc
X-PGP-Fingerprint D4D5 2F80 120E AD60 E2F6 2297 21B3 D02B E1E7 E789
X-Virus-Scanned by amavisd-new at intevation.de
X-Spam-Status No, hits=-4.241 tagged_above=-999 required=3 tests=[AWL=0.759, BAYES_00=-5]
X-Spam-Level
http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=305247

> On a 800x600 monitor, the Settings pop-up window comes up always
> partially off the screen and has to be manually moved back.
>
> Besides, the rightmost main menu Exit button is also half cut off.

Does this refer to placement or the the windows size?
GRASS is not doing placement.

I assume that you mean size: in fact the window exceeds
800 pixels in widths which should be somehow fixed (smaller
icons?).
cc GRASS bugtracker.

-- 
Markus Neteler  <neteler itc it>  http://mpa.itc.it/markus/
ITC-irst -  Centro per la Ricerca Scientifica e Tecnologica
MPBA - Predictive Models for Biol. & Environ. Data Analysis
Via Sommarive, 18        -       38050 Povo (Trento), Italy


Wed, Aug 23 2006 21:15:34    Subject changed to v.digit: window too large for 800x600 by mneteler  
Thu, Aug 24 2006 04:48:53    Area changed to grass6 by hbowman  
Thu, Aug 24 2006 04:49:14    Mail sent by hamish_nospam@yahoo.com  
Return-Path <hamish_nospam@yahoo.com>
Delivered-To grass-bugs@lists.intevation.de
Date Thu, 24 Aug 2006 14:48:34 +1200
From Hamish <hamish_nospam@yahoo.com>
To Request Tracker <grass-bugs@intevation.de>
Cc grass-dev@grass.itc.it, 305247@bugs.debian.org
Subject Re: [GRASS-dev] [bug #5042] (grass) v.digit: Settings pop-up off the screen
Message-Id <20060824144834.4030b164.hamish_nospam@yahoo.com>
In-Reply-To <20060823185148.EFBF71005DB@lists.intevation.de>
References <20060823185148.EFBF71005DB@lists.intevation.de>
X-Mailer Sylpheed version 1.0.4 (GTK+ 1.2.10; i386-pc-linux-gnu)
X-Face M<EoB)"*Z~u!,vFhXmw}R_KbdBta*P_=T|rbBL'e1/CQ9;/1g\BU3&!=y8ria$2Uk!HT&BB 8i?|X_+7~1jsy}F~g$2va%3fV`*=L(*cem[@3\yg,G,@rg6/QMJ
Mime-Version 1.0
Content-Type text/plain; charset=US-ASCII
Content-Transfer-Encoding 7bit
X-Virus-Scanned by amavisd-new at intevation.de
X-Spam-Status No, hits=-1.546 tagged_above=-999 required=3 tests=[AWL=0.754, BAYES_00=-5, FORGED_YAHOO_RCVD=2.7]
X-Spam-Level
> this bug's URL: http://intevation.de/rt/webrt?serial_num=5042
> ---------------------------------------------------------------------
> 
> http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=305247
> 
> > On a 800x600 monitor, the Settings pop-up window comes up always
> > partially off the screen and has to be manually moved back.
> >
> > Besides, the rightmost main menu Exit button is also half cut off.
> 
> Does this refer to placement or the the windows size?
> GRASS is not doing placement.
> 
> I assume that you mean size: in fact the window exceeds
> 800 pixels in widths which should be somehow fixed (smaller
> icons?).
> cc GRASS bugtracker.


xwininfo show the window has:
  Width: 813
  Height: 146

So we don't need much.

There are 22 icons across, most are 32x32. Some are smaller, e.g.
zoom.*.gif. Most could be cropped or edited to 30x30 without much
damage.



Alternate, maybe better: move first 11 icons below last 11 (natural
break there), this results in a 2x11 block of icons.

It's set at line 76 of vector/v.digit/toolbox.tcl, but I don't know
enough tcl to make it into two rows. help?



Hamish


Thu, Aug 24 2006 18:39:58    Mail sent by glynn@gclements.plus.com  
Return-Path <glynn@gclements.plus.com>
Delivered-To grass-bugs@lists.intevation.de
From Glynn Clements <glynn@gclements.plus.com>
MIME-Version 1.0
Content-Type text/plain; charset=us-ascii
Content-Transfer-Encoding 7bit
Message-ID <17645.54870.203398.362989@cerise.gclements.plus.com>
Date Thu, 24 Aug 2006 17:39:50 +0100
To Hamish <hamish_nospam@yahoo.com>
Cc Request Tracker <grass-bugs@intevation.de>, 305247@bugs.debian.org, grass-dev@grass.itc.it
Subject Re: [GRASS-dev] [bug #5042] (grass) v.digit: Settings pop-up off the screen
In-Reply-To <20060824144834.4030b164.hamish_nospam@yahoo.com>
References <20060823185148.EFBF71005DB@lists.intevation.de> <20060824144834.4030b164.hamish_nospam@yahoo.com>
X-Mailer VM 7.07 under 21.4 (patch 15) "Security Through Obscurity" XEmacs Lucid
X-Virus-Scanned by amavisd-new at intevation.de
X-Spam-Status No, hits=-4.015 tagged_above=-999 required=3 tests=[AWL=0.985, BAYES_00=-5]
X-Spam-Level
Hamish wrote:

> > this bug's URL: http://intevation.de/rt/webrt?serial_num=5042
> > ---------------------------------------------------------------------
> > 
> > http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=305247
> > 
> > > On a 800x600 monitor, the Settings pop-up window comes up always
> > > partially off the screen and has to be manually moved back.
> > >
> > > Besides, the rightmost main menu Exit button is also half cut off.
> > 
> > Does this refer to placement or the the windows size?
> > GRASS is not doing placement.
> > 
> > I assume that you mean size: in fact the window exceeds
> > 800 pixels in widths which should be somehow fixed (smaller
> > icons?).
> > cc GRASS bugtracker.
> 
> xwininfo show the window has:
>   Width: 813
>   Height: 146
> 
> So we don't need much.
> 
> There are 22 icons across, most are 32x32. Some are smaller, e.g.
> zoom.*.gif. Most could be cropped or edited to 30x30 without much
> damage.
> 
> Alternate, maybe better: move first 11 icons below last 11 (natural
> break there), this results in a 2x11 block of icons.
> 
> It's set at line 76 of vector/v.digit/toolbox.tcl, but I don't know
> enough tcl to make it into two rows. help?

The ButtonBox widget only supports a single row; you need two
separate ButtonBox widgets, i.e. change:

	set bbox [ButtonBox .bbox -spacing 1 -padx 1 -pady 1] 
	pack $bbox -side top -anchor w 
to:
	set bbox1 [ButtonBox .bbox1 -spacing 1 -padx 1 -pady 1] 
	set bbox2 [ButtonBox .bbox2 -spacing 1 -padx 1 -pady 1] 
	pack $bbox1 $bbox2 -side top -anchor w 

and change "$bbox add ..." to "$bbox1 add ..." or "$bbox2 add ...".

-- 
Glynn Clements <glynn@gclements.plus.com>


Thu, Aug 24 2006 20:39:12    Mail sent by mneteler  
https://intevation.de/rt/webrt?serial_num=5042

I have submitted the change to CVS, now the lines
below need a width trimming (how?).

Markus
Thu, Aug 24 2006 22:55:51    Mail sent by michael.barton@asu.edu  
Return-Path <michael.barton@asu.edu>
Delivered-To grass-bugs@lists.intevation.de
User-Agent Microsoft-Entourage/11.2.5.060620
Date Thu, 24 Aug 2006 13:55:42 -0700
Subject Re: [GRASS-dev] [bug #5042] (grass) v.digit: Settings pop-up off the screen
From Michael Barton <michael.barton@asu.edu>
To Hamish <hamish_nospam@yahoo.com>, Paolo Cavallini via RT <grass-bugs@intevation.de>
Cc <305247@bugs.debian.org>, <grass-dev@grass.itc.it>
Message-ID <C113605E.23C9F%michael.barton@asu.edu>
Thread-Topic [GRASS-dev] [bug #5042] (grass) v.digit: Settings pop-up off the screen
Thread-Index AcbHv6lR57zd4TOyEduwkgAUUSYxwg==
In-Reply-To <20060824144834.4030b164.hamish_nospam@yahoo.com>
Mime-version 1.0
Content-type text/plain; charset="US-ASCII"
Content-transfer-encoding 7bit
X-Virus-Scanned by amavisd-new
X-Virus-Scanned by amavisd-new at intevation.de
X-Spam-Status No, hits=-2.932 tagged_above=-999 required=3 tests=[AWL=0.820, BAYES_00=-5, RCVD_NUMERIC_HELO=1.248]
X-Spam-Level
I just did this and committed it to the CVS.

I also did a few other minor cosmetic improvements. I wanted to do a few
more, but the values going into the form are coming from the C code.


Michael
__________________________________________
Michael Barton, Professor of Anthropology
School of Human Evolution & Social Change
Center for Social Dynamics and Complexity
Arizona State University

phone: 480-965-6213
fax: 480-965-7671
www: http://www.public.asu.edu/~cmbarton


> From: Hamish <hamish_nospam@yahoo.com>
> Date: Thu, 24 Aug 2006 14:48:34 +1200
> To: Request Tracker <grass-bugs@intevation.de>
> Cc: <305247@bugs.debian.org>, <grass-dev@grass.itc.it>
> Subject: Re: [GRASS-dev] [bug #5042] (grass) v.digit: Settings pop-up off the
> screen
> 
>> this bug's URL: http://intevation.de/rt/webrt?serial_num=5042
>> ---------------------------------------------------------------------
>> 
>> http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=305247
>> 
>>> On a 800x600 monitor, the Settings pop-up window comes up always
>>> partially off the screen and has to be manually moved back.
>>> 
>>> Besides, the rightmost main menu Exit button is also half cut off.
>> 
>> Does this refer to placement or the the windows size?
>> GRASS is not doing placement.
>> 
>> I assume that you mean size: in fact the window exceeds
>> 800 pixels in widths which should be somehow fixed (smaller
>> icons?).
>> cc GRASS bugtracker.
> 
> 
> xwininfo show the window has:
>   Width: 813
>   Height: 146
> 
> So we don't need much.
> 
> There are 22 icons across, most are 32x32. Some are smaller, e.g.
> zoom.*.gif. Most could be cropped or edited to 30x30 without much
> damage.
> 
> 
> 
> Alternate, maybe better: move first 11 icons below last 11 (natural
> break there), this results in a 2x11 block of icons.
> 
> It's set at line 76 of vector/v.digit/toolbox.tcl, but I don't know
> enough tcl to make it into two rows. help?
> 
> 
> 
> Hamish
> 
> 


Thu, Aug 24 2006 23:19:54    Mail sent by glynn@gclements.plus.com  
Return-Path <glynn@gclements.plus.com>
Delivered-To grass-bugs@lists.intevation.de
From Glynn Clements <glynn@gclements.plus.com>
MIME-Version 1.0
Content-Type text/plain; charset=us-ascii
Content-Transfer-Encoding 7bit
Message-ID <17646.6134.328395.879006@cerise.gclements.plus.com>
Date Thu, 24 Aug 2006 22:19:50 +0100
To Markus Neteler via RT <grass-bugs@intevation.de>
Cc neteler@itc.it, grass-dev@grass.itc.it
Subject Re: [GRASS-dev] [bug #5042] (grass) v.digit: window too large for 800x600
In-Reply-To <20060824183912.D7E8E1005B8@lists.intevation.de>
References <20060824183912.D7E8E1005B8@lists.intevation.de>
X-Mailer VM 7.07 under 21.4 (patch 15) "Security Through Obscurity" XEmacs Lucid
X-Virus-Scanned by amavisd-new at intevation.de
X-Spam-Status No, hits=-4.029 tagged_above=-999 required=3 tests=[AWL=0.971, BAYES_00=-5]
X-Spam-Level
Markus Neteler via RT wrote:

> https://intevation.de/rt/webrt?serial_num=5042
> 
> I have submitted the change to CVS, now the lines
> below need a width trimming (how?).

This is determined by the -width switches for the individual widgets.

Note that values are specified in characters, so whether or not they
align with the toolbox will depend upon the font size.

-- 
Glynn Clements <glynn@gclements.plus.com>


Fri, Aug 25 2006 00:40:15    Mail sent by hamish_nospam@yahoo.com  
Return-Path <hamish_nospam@yahoo.com>
Delivered-To grass-bugs@lists.intevation.de
Date Fri, 25 Aug 2006 10:38:09 +1200
From Hamish <hamish_nospam@yahoo.com>
To Michael Barton <michael.barton@asu.edu>
Cc grass-bugs@intevation.de, grass-dev@grass.itc.it
Subject Re: [GRASS-dev] [bug #5042] (grass) v.digit: Settings pop-up off the screen
Message-Id <20060825103809.6730e94f.hamish_nospam@yahoo.com>
In-Reply-To <C113605E.23C9F%michael.barton@asu.edu>
References <20060824144834.4030b164.hamish_nospam@yahoo.com> <C113605E.23C9F%michael.barton@asu.edu>
X-Mailer Sylpheed version 1.0.4 (GTK+ 1.2.10; i386-pc-linux-gnu)
X-Face M<EoB)"*Z~u!,vFhXmw}R_KbdBta*P_=T|rbBL'e1/CQ9;/1g\BU3&!=y8ria$2Uk!HT&BB 8i?|X_+7~1jsy}F~g$2va%3fV`*=L(*cem[@3\yg,G,@rg6/QMJ
Mime-Version 1.0
Content-Type text/plain; charset=US-ASCII
Content-Transfer-Encoding 7bit
X-Virus-Scanned by amavisd-new at intevation.de
X-Spam-Status No, hits=-1.555 tagged_above=-999 required=3 tests=[AWL=0.745, BAYES_00=-5, FORGED_YAHOO_RCVD=2.7]
X-Spam-Level
Michael Barton wrote:

> I just did this and committed it to the CVS.
> 
> I also did a few other minor cosmetic improvements. I wanted to do a
> few more, but the values going into the form are coming from the C
> code.

fyi, I just swapped the order of the rows so module control icons are on
top and editing tools are below.


The new mouse button hints are nicely done, but could you make their
background color dark grey or something? They look too much like buttons
you can click, especially the "Quit this tool" right mouse button hint.


I have held back from backporting to 6.2-rel until all changes are made.


The 6.2-rel branch also needs this change, as done for 6.1-rel:
  Revision 1.18.2.1  "clean toolbox window title for release"
http://freegis.org/cgi-bin/viewcvs.cgi/grass6/vector/v.digit/toolbox.tcl.diff?r1=1.18&r2=1.18.2.1
(even better, we fix the bug)

I'd like to keep it obviously broken in cvs-HEAD so it eventually gets
fixed.



Hamish


Sat, Nov 4 2006 19:24:53    Status changed to resolved by mneteler  
Sat, Nov 4 2006 19:24:53    Mail sent by mneteler  
We assume that the problem is solved. Feel free to re-open if not.

Markus

https://intevation.de/rt/webrt?serial_num=5042
Comment | Reply | Take | Open

You are currently authenticated as guest.
[Show Configuration] [Login as another user]

Users Guide - Mail Commands - Homepage of RequestTracker 1.0.7 - list any request