comp.lang.idl-pvwave archive
Messages from Usenet group comp.lang.idl-pvwave, compiled by Paulo Penteado

Home » Public Forums » archive » Widget Weirdness
Show: Today's Messages :: Show Polls :: Message Navigator
E-mail to friend 
Switch to threaded view of this topic Create a new topic Submit Reply
Widget Weirdness [message #65670] Thu, 12 March 2009 15:27 Go to next message
David Fanning is currently offline  David Fanning
Messages: 11724
Registered: August 2001
Senior Member
Folks,

I just ran into this problem on my Linux machine. I wonder
if someone can help me test. I ran my Coyote program
PickColorName:

IDL> c = pickcolorname()

This puts a widget up in the center of the display. I
then move it off to the side and pick a color. As soon
as I do, the widget jumps back to the center of the
display. This is decidedly NOT what it is suppose to do!

I've traced the program (believe it or not) to a command
in which I am changing the text on a label widget. I have
confirmed this behaviour with an entirely different program.
It, too, jumps if I try to change a widget label's text.

Is this a function of my window manager (SUSE 10.? and
KDE 3.5, I believe), or is this a UNIX (possibly Mac)
problem in general? If it is a general bug, I would
like to report it.

Thanks,

David
--
David Fanning, Ph.D.
Coyote's Guide to IDL Programming (www.dfanning.com)
Sepore ma de ni thui. ("Perhaps thou speakest truth.")
Re: Widget Weirdness [message #65798 is a reply to message #65670] Wed, 18 March 2009 15:33 Go to previous messageGo to next message
David Fanning is currently offline  David Fanning
Messages: 11724
Registered: August 2001
Senior Member
robert.moss@gmail.com writes:

> I beleive you, but I still think you are off your rocker :P

Has my wife been talking to you lately? ;-)

Cheers,

David

--
David Fanning, Ph.D.
Coyote's Guide to IDL Programming (www.dfanning.com)
Sepore ma de ni thui. ("Perhaps thou speakest truth.")
Re: Widget Weirdness [message #85060 is a reply to message #65670] Thu, 27 June 2013 21:24 Go to previous message
Matthew Argall is currently offline  Matthew Argall
Messages: 286
Registered: October 2011
Senior Member
I just ran into this problem. It still exists.

{ x86_64 darwin unix Mac OS X 8.0 Jun 17 2010 64 64}

Summary
* Use [XY]OFFSET in tlb
* Use /DYNAMIC_RESIZE in WIDGET_LABEL
* Realize widget & move to new location
* Change the value of the widget label (so that the length changes significantly)
--> Widget jumps back to original location.

Fix:
a) Do not use [XY]OFFSET in the tlb
b) Use XSIZE instead of DYNAMIC_RESIZE for the widget label.
  Switch to threaded view of this topic Create a new topic Submit Reply
Previous Topic: Find shift and rotation between two images.
Next Topic: k-d tree IDL implementation

-=] Back to Top [=-
[ Syndicate this forum (XML) ] [ RSS ] [ PDF ]

Current Time: Wed Oct 08 13:46:58 PDT 2025

Total time taken to generate the page: 0.00575 seconds