Details Ticket 873


Comment | Reply | Open


Serial Number 873
Subject monitor resizing does not work on SOlaris/X11R6.4
Area bug
Queue grass
Requestors andreas.lange@rhein-main.de
Owner gclements
Status resolved
Last User Contact Tue Mar 14 00:51:20 2006 (2 yr ago)
Current Priority 30
Final Priority 70
Due No date assigned
Last Action Tue Mar 14 00:51:23 2006 (2 yr ago)
Created Sat Dec 15 14:02:30 2001 (7 yr ago)

Transaction History Ticket 873


Sat, Dec 15 2001 14:02:30    Request created by guest  
Subject: monitor resizing does not work on SOlaris/X11R6.4

Platform: Solaris 8/SPARC
Xwindows version: Sun X11R6.4
Xwindows manager: CDE
TclTk version: tcl/tk 8.3
grass downloaded at: CVS Server, Germany
grass binary for platform: I compiled the sources myself
grass sources source: yes, I am using the latest GRASS from CVS
c compiler name: gcc

I compiled with gcc 2.95.2 on Solaris 8/SPARC, running with Sun X11R6.4 and CDE
Window Manager. 

The resizing of the monitors (d.mon start=x0) simply does not work. 
The curser changes to resizing symbol, but the monitor simply does not react.
Please contact me if you need further details (e. g. xdpyinfo output etc.).
Maybe there are subtle differences in the implementation of the X11 events?
Andreas
Sat, Dec 15 2001 16:19:07    Mail sent by bcovill@tekmap.ns.ca  
Return-Path <bcovill@tekmap.ns.ca>
Delivered-To grass-bugs@lists.intevation.de
Sender covill@jupiter.accesscable.net
Message-ID <3C1B69A2.40813E3F@tekmap.ns.ca>
Date Sat, 15 Dec 2001 11:17:54 -0400
From Bob Covill <bcovill@tekmap.ns.ca>
X-Mailer Mozilla 4.75 [en] (X11; U; SunOS 5.7 sun4u)
X-Accept-Language en
MIME-Version 1.0
To Request Tracker <grass-bugs@intevation.de>
Subject Re: [GRASS5] [bug #873] (grass) monitor resizing does not work on SOlaris/X11R6.4
References <20011215130231.2B19713A05@lists.intevation.de>
Content-Type text/plain; charset=us-ascii
Content-Transfer-Encoding 7bit
X-Spam-Status No, hits=0 required=5 tests=
Request Tracker wrote:
> 
> this bug's URL: http://intevation.de/rt/webrt?serial_num=873
> -------------------------------------------------------------------------
> 
> Subject: monitor resizing does not work on SOlaris/X11R6.4
> 
> Platform: Solaris 8/SPARC
> Xwindows version: Sun X11R6.4
> Xwindows manager: CDE
> TclTk version: tcl/tk 8.3
> grass downloaded at: CVS Server, Germany
> grass binary for platform: I compiled the sources myself
> grass sources source: yes, I am using the latest GRASS from CVS
> c compiler name: gcc
> 
> I compiled with gcc 2.95.2 on Solaris 8/SPARC, running with Sun X11R6.4 and
CDE Window Manager.
> 
> The resizing of the monitors (d.mon start=x0) simply does not work.
> The curser changes to resizing symbol, but the monitor simply does not react.
> 
> Please contact me if you need further details (e. g. xdpyinfo output etc.).
> 
> Maybe there are subtle differences in the implementation of the X11 events?
> 
> Andreas
> 
> -------------------------------------------- Managed by Request Tracker
> _______________________________________________
> grass5 mailing list
> grass5@grass.itc.it
> http://grass.itc.it/mailman/listinfo/grass5

Andreas;

This sounds like a problem I had discussed with Glynn a while back. 
Unfortunately, the bug is with the dtwm window manager. A simple to test
for this would be to try another window manager (eg. olwm) and see if
the monitor can be resized.

I have been searching for an upgrade or patch for dtwm that would remedy
the problem. So far I have been unsucessful.

Hopefully this helps.
-- 
Bob Covill


Mon, Dec 17 2001 00:24:40    Comments added by alange  
Cc: bcovill@tekmap.ns.ca

Hi,

yes, i can confirm that the problem is with dtwm. 

If i kill dtwm and start olwm i am able to resize the grass monitor. 
But i doubt if it is a real bug with dtwm, as i know of no other application
that has this problem.

I can live with this bug, but i will leave this ticket open to remind.

Andreas
Mon, Dec 17 2001 09:58:37    Mail sent by GFernandez-Victorio@IGAE.minhac.es  
Return-Path <GFernandez-Victorio@IGAE.minhac.es>
Delivered-To grass-bugs@lists.intevation.de
Message-ID <3751737A15FDD41188B40000D11C0BF213D1CC@MAILE>
From =?iso-8859-1?Q?=22Fern=E1ndez-Victorio_Ar=E9valo=2C_Gonzalo=22?= <GFernandez-Victorio@IGAE.minhac.es>
To 'Request Tracker' <grass-bugs@intevation.de>
Subject RE: [GRASS5] [bug #873] (grass) monitor resizing does not work on SOlaris/X11R6.4
Date Mon, 17 Dec 2001 09:59:33 +0100
Return-Receipt-To =?iso-8859-1?Q?=22Fern=E1ndez-Victorio_Ar=E9valo=2C_?= =?iso-8859-1?Q?Gonzalo=22?= <GFernandez-Victorio@IGAE.minhac.es>
MIME-Version 1.0
X-Mailer Internet Mail Service (5.5.2650.21)
Content-Type text/plain; charset="iso-8859-1"
X-Spam-Status No, hits=0 required=5 tests=
There was a similar problem for Solaris 7 on this list. The thread covering
that problem was "Monitor Resize Problem" from July-18-2001 to July-19-2001,
basically between Glynn and Bob Covill. (And even another similar on June
for Blackbox between Glynn and Eric).
It seems that it's a bug of the Window Manager, with no easy solution. A
workaround of Glynn was able to resize but the maximising was a little
larger than the screen size.

Maybe Glynn or Bob can tell anything else.

>-----Original Message-----
>From: Request Tracker [mailto:grass-bugs@intevation.de]
>Sent: Saturday, December 15, 2001 2:03 PM
>To: grass5@grass.itc.it
>Subject: [GRASS5] [bug #873] (grass) monitor resizing does not work on
>SOlaris/X11R6.4
>
>
>this bug's URL: http://intevation.de/rt/webrt?serial_num=873
>---------------------------------------------------------------
>----------
>
>Subject: monitor resizing does not work on SOlaris/X11R6.4
>
>Platform: Solaris 8/SPARC
>Xwindows version: Sun X11R6.4
>Xwindows manager: CDE
>TclTk version: tcl/tk 8.3
>grass downloaded at: CVS Server, Germany
>grass binary for platform: I compiled the sources myself
>grass sources source: yes, I am using the latest GRASS from CVS
>c compiler name: gcc
>
>I compiled with gcc 2.95.2 on Solaris 8/SPARC, running with 
>Sun X11R6.4 and CDE Window Manager. 
>
>The resizing of the monitors (d.mon start=x0) simply does not work. 
>The curser changes to resizing symbol, but the monitor simply 
>does not react. 
>
>Please contact me if you need further details (e. g. xdpyinfo 
>output etc.).
>
>Maybe there are subtle differences in the implementation of 
>the X11 events?
>
>Andreas
>
>-------------------------------------------- Managed by Request Tracker
>_______________________________________________
>grass5 mailing list
>grass5@grass.itc.it
>http://grass.itc.it/mailman/listinfo/grass5
>


Tue, Dec 18 2001 20:23:06    Mail sent by glynn.clements@virgin.net  
Return-Path <glynn.clements@virgin.net>
Delivered-To grass-bugs@lists.intevation.de
From Glynn Clements <glynn.clements@virgin.net>
MIME-Version 1.0
Content-Type text/plain; charset=us-ascii
Content-Transfer-Encoding 7bit
Message-ID <15391.34558.693144.458515@cerise.nosuchdomain.co.uk>
Date Tue, 18 Dec 2001 18:12:14 +0000
To Request Tracker <grass-bugs@intevation.de>
Cc grass5@grass.itc.it
Subject Re: [GRASS5] [bug #873] (grass) monitor resizing does not work on SOlaris/X11R6.4
In-Reply-To <20011215130231.2B19713A05@lists.intevation.de>
References <20011215130231.2B19713A05@lists.intevation.de>
X-Mailer VM 6.94 under 21.4 (patch 4) "Artificial Intelligence (candidate #1)" XEmacs Lucid
X-Spam-Status No, hits=0 required=5 tests=
Request Tracker wrote:

> I compiled with gcc 2.95.2 on Solaris 8/SPARC, running with Sun
> X11R6.4 and CDE Window Manager.
> 
> The resizing of the monitors (d.mon start=x0) simply does not work. 
> The curser changes to resizing symbol, but the monitor simply does
> not react.

AFAIK, this seems to be a bug in dtwm.

> Please contact me if you need further details (e. g. xdpyinfo output etc.).
If you have the option of trying other versions of dtwm, I would be
very interested in finding out whether all versions of dtwm have this
problem.

At a minimum, please report the version of dtwm which you tried.

-- 
Glynn Clements <glynn.clements@virgin.net>


Fri, Dec 21 2001 13:36:38    Mail sent by Andreas.Lange@Rhein-Main.de  
Return-Path <Andreas.Lange@Rhein-Main.de>
Delivered-To grass-bugs@lists.intevation.de
Sender andreas@t-online.de
Message-ID <3C232CBA.A43C90C3@Rhein-Main.de>
Date Fri, 21 Dec 2001 13:36:10 +0100
From Andreas Lange <Andreas.Lange@Rhein-Main.de>
Reply-To Andreas.Lange@Rhein-Main.de
Organization none
X-Mailer Mozilla 4.76 [en] (X11; U; Linux 2.2.17-7 i686)
X-Accept-Language de-DE, de, ru, en
MIME-Version 1.0
To Glynn Clements via RT <grass-bugs@intevation.de>
Subject Re: [bug #873] (grass) monitor resizing does not work on SOlaris/X11R6.4
References <20011218192306.848B413A15@lists.intevation.de>
Content-Type text/plain; charset=us-ascii
Content-Transfer-Encoding 7bit
X-Sender 520060080963-0001@t-dialin.net
X-Spam-Status No, hits=0 required=5 tests=
Hi Glynn,

Glynn Clements via RT wrote:
> 
> Request Tracker wrote:
> 
> > I compiled with gcc 2.95.2 on Solaris 8/SPARC, running with Sun
> > X11R6.4 and CDE Window Manager.
> >
> > The resizing of the monitors (d.mon start=x0) simply does not work.
> > The curser changes to resizing symbol, but the monitor simply does
> > not react.
> 
> AFAIK, this seems to be a bug in dtwm.

Yes, i can confirm. With olwm resizing works. 

> 
> > Please contact me if you need further details (e. g. xdpyinfo output etc.).
> 
> If you have the option of trying other versions of dtwm, I would be
> very interested in finding out whether all versions of dtwm have this
> problem.
> 
> At a minimum, please report the version of dtwm which you tried.

I can not find any version for dtwm. No manual page, no entry in the
online documentation. 
I tried Solaris 7 x86 (not all recent patches applied), Solaris 7 sparc
with all released patches (50 MB) applied and Solaris 8 sparc (version
10/01, IMHO only security related patches are released so far). 
On all versions the problem occurs. 

I personally don't mind if the problem stays, but i will leave the bug
report open to remind. Waiting for GNOME to become the official
successor to CDE will not help, as Sun announced that Solaris 9 will
ship with CDE. 

Andreas 

-- 
Andreas Lange, 65187 Wiesbaden, Germany, Tel. +49 611 807850
url: http://mitglied.tripod.de/AndreasLange
mail: Andreas.Lange_at_Rhein-Main.de - A.C.Lange_at_GMX.net


Sun, Jan 6 2002 10:51:31    Taken by gclements  
Fri, Nov 29 2002 09:34:07    Mail sent by mneteler  
Is this bug still open?

Markus
Fri, Nov 29 2002 14:45:12    Mail sent by glynn.clements@virgin.net  
Return-Path <glynn.clements@virgin.net>
Delivered-To grass-bugs@lists.intevation.de
From Glynn Clements <glynn.clements@virgin.net>
MIME-Version 1.0
Content-Type text/plain; charset=us-ascii
Content-Transfer-Encoding 7bit
Message-ID <15847.26655.290929.560287@cerise.nosuchdomain.co.uk>
Date Fri, 29 Nov 2002 13:14:07 +0000
To Markus Neteler via RT <grass-bugs@intevation.de>
Subject Re: [bug #873] (grass) Transaction (mneteler)
In-Reply-To <20021129083407.C2F9B13A19@lists.intevation.de>
References <20021129083407.C2F9B13A19@lists.intevation.de>
X-Mailer VM 6.94 under 21.4 (patch 10) "Military Intelligence" XEmacs Lucid
X-Spam-Status No, hits=-3.2 required=5.0 tests=EMAIL_ATTRIBUTION,IN_REP_TO,QUOTED_EMAIL_TEXT,REFERENCES, SIGNATURE_SHORT_DENSE,SPAM_PHRASE_00_01 version=2.43
X-Spam-Level
Markus Neteler via RT wrote:

> this bug's URL: http://intevation.de/rt/webrt?serial_num=873

>      Subject: monitor resizing does not work on SOlaris/X11R6.4
>        Owner: gclements
>   Requestors: andreas.lange@rhein-main.de    
>       Status: open
> 
> -------------------------------------------------------------------------
> Is this bug still open?

Yes. There are a number of possible solutions:

1. Document the fact that it's a dtwm bug, and tell CDE users to
complain to the vendor and/or use d.resize.

2. Disable the code in question, so that the window can be resized at
any time. However, the monitor cannot act upon the resize while a
client is connected, as the client assumes that the monitor dimensions
remain unchanged throughout; this will probably result in occasional
"bug" reports (this is why the code was added in the first place).

3. Always report maximum and minimum sizes. When a client is
connected, the maximum and minimum sizes will be the current size.
Otherwise, the minimum size will be zero, and the maximum size will be
... well, I don't know what the maximum size should be.

Note that there isn't any specific value which will produce the same
behaviour as not having a maximum size.

If there is no maximum size specified, the user can typically drag the
window to whatever size they wish (possibly larger than the screen),
and "maximising" the window will typically result in the decorated
window occupying the full screen.

If there is a maximum size specified, the user cannot enalarge the
window beyond that size, and "maximising" the window will typically
result in the undecorated window being as large as the screen (so at
least part of the decoration will be off-screen), while leaving the
window's position unchanged.

My preferred solution is 1. Others (particularly CDE users) may
disagree.

-- 
Glynn Clements <glynn.clements@virgin.net>


Thu, Feb 6 2003 17:55:30    Comments added by guest  
I don't think it is a dtwm problem.  Resizing the monitor window works just 
fine using Grass4.3.  We just upgraded to 5.0 (finally) and now we can't 
resize the monitor window.  Sounds like a GRASS problem to me because we 
didn't change our WM.  No other application has this problem resizing an 
Xwindow.

md
Thu, Feb 6 2003 18:00:15    Mail sent by guest  
Sorry for the 2nd-post....meant to send reply, not comment.

I don't think this resizing issue is a dtwm problem.  Two days ago, we were 
running Grass4.3 and resizing the monitor window worked just fine!  We just 
upgraded to 5.0 (finally) and now we can't resize the monitor window.  Sounds
like a GRASS5.0 problem to me because we didn't change our dtwm.  No other 
application has this problem resizing an 
Xwindow.
Also, we're running GRASS5.0 on both RedHat Linux 8.0 and Solaris8 and both 
OS have the *same* problem!  No, this is NOT a dtwm problem, it is a GRASS5.0
bug!!

md
Fri, Feb 7 2003 05:08:26    Mail sent by glynn.clements@virgin.net  
Return-Path <glynn.clements@virgin.net>
Delivered-To grass-bugs@lists.intevation.de
From Glynn Clements <glynn.clements@virgin.net>
MIME-Version 1.0
Content-Type text/plain; charset=us-ascii
Content-Transfer-Encoding 7bit
Message-ID <15939.5955.408190.931741@cerise.nosuchdomain.co.uk>
Date Fri, 7 Feb 2003 02:17:39 +0000
To guest user via RT <grass-bugs@intevation.de>
Subject Re: [bug #873] (grass) Transaction (guest)
In-Reply-To <20030206170015.D51BC13B3A@lists.intevation.de>
References <20030206170015.D51BC13B3A@lists.intevation.de>
X-Mailer VM 7.07 under 21.4 (patch 12) "Portable Code" XEmacs Lucid
X-Spam-Status No, hits=-3.5 required=5.0 tests=EMAIL_ATTRIBUTION,IN_REP_TO,QUOTED_EMAIL_TEXT,REFERENCES, SIGNATURE_SHORT_DENSE,SPAM_PHRASE_01_02 version=2.43
X-Spam-Level
guest user via RT wrote:

>      Subject: monitor resizing does not work on SOlaris/X11R6.4

> I don't think this resizing issue is a dtwm problem.  Two days ago, we were
> running Grass4.3 and resizing the monitor window worked just fine!  We just
> upgraded to 5.0 (finally) and now we can't resize the monitor window.  Sounds
> like a GRASS5.0 problem to me because we didn't change our dtwm.

The code in question wasn't present in 4.3. In 4.3, you could resize
the window at any time, even while using a interactive program such as
v.digit. However, the program wouldn't recognise the change.

> No other 
> application has this problem resizing an 
> Xwindow.

Most other applications don't alternate between a state where the
window can be resized and a state where the window size is fixed.

> Also, we're running GRASS5.0 on both RedHat Linux 8.0 and Solaris8
> and both OS have the *same* problem! No, this is NOT a dtwm problem,
> it is a GRASS5.0 bug!!

It doesn't happen with twm or fvwm; I don't think that it happens with
the Gnome WM either.

FWIW, you can observe what is happening using xprop:

	d.mon -s start=x0
	xprop
	# click on the monitor window
	# observe the value of the WM_NORMAL_HINTS property
	# note that the window can be resized

	d.mon select=x0
	xprop
	# click on the monitor window
	# observe the value of the WM_NORMAL_HINTS property
	# note that it is the same as before
	# note that the window can no longer be resized

If you run an interactive program (e.g. d.what.rast), note that the
WM_NORMAL_HINTS property is set to inhibit resizing. When the program
terminates, the property is reset to allow resizing; but some WMs
appear to overlook this fact.

Ultimately, I suspect that we'll just revert to the 4.3 behaviour,
i.e. the window can be resized at any time, even when it doesn't make
sense.

-- 
Glynn Clements <glynn.clements@virgin.net>


Tue, Mar 14 2006 00:51:20    Mail sent by mneteler  
Hi,

the display driver was recently rewritten in GRASS 6.1-CVS.
Does the problem still appear?

AFAIK not, so I'll close the report.

Markus
Tue, Mar 14 2006 00:51:23    Status changed to resolved by mneteler  
Comment | Reply | 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