Templot Club Archive 2007-2020                             

topic: 864Odd behaviour with templates that have a : in the name
author remove search highlighting
 
posted: 11 Jun 2009 20:04

from:

richard_t
 
Nr. Spalding, South Holland - United Kingdom

click the date to link to this post
click member name to view archived images
view images in gallery view images as slides
I'm finding odd behaviour with templates whose name's contain a :

With the storage box open if I select a template and rename it to "cl: up s bend", and hit OK, the name label seems overlaid with the previous name, no-name in this case on the main templot drawing surface, not the storage box. If I then select the next template (with the arrows), then the new name isn't displayed, but the old one.

(This also occurs if you use the storage box to redraw the screen, by dragging it over the template, if you see what I mean).

No biggie, I won't use a :

This is templot version 0.91c

Richard.
Last edited on 11 Jun 2009 20:07 by richard_t
posted: 11 Jun 2009 20:06

from:

richard_t
 
Nr. Spalding, South Holland - United Kingdom

click the date to link to this post
click member name to view archived images
view images in gallery view images as slides
Actually I'm now not sure the : has anything to do with it, as I've renamed another with a -, and that name isn't display properly either. But perhaps it's because I've used a : previously?

posted: 11 Jun 2009 20:41

from:

Bruce Wilson
 
Barrie - Ontario Canada

click the date to link to this post
click member name to view archived images
view images in gallery view images as slides
I think you will find that special characters such as : and - can not be used in file names.

http://support.microsoft.com/kb/177506

may be of some help

Bruce Wilson
Barrie ON

posted: 11 Jun 2009 21:00

from:

richard_t
 
Nr. Spalding, South Holland - United Kingdom

click the date to link to this post
click member name to view archived images
view images in gallery view images as slides
Bruce Wilson wrote:
I think you will find that special characters such as : and - can not be used in file names.

http://support.microsoft.com/kb/177506

may be of some help

Bruce Wilson
Barrie ON
It's not a filename - it's the name of the template.

(And anyhow - is perfectly ok in a filename)

posted: 12 Jun 2009 08:27

from:

Martin Wynne
 
West Of The Severn - United Kingdom

click the date to link to this post
click member name to view archived images
view images in gallery view images as slides
richard_t wrote:
With the storage box open if I select a template and rename it to "cl: up s bend", and hit OK, the name label seems overlaid with the previous name, no-name in this case on the main Templot drawing surface, not the storage box. If I then select the next template (with the arrows), then the new name isn't displayed, but the old one.
Hi Richard,

The : character is irrelevant, the behaviour is the same whatever new name you use.

With the storage box open the workpad is no longer double-buffered -- the highlighting is simply "chalked over" whatever is already there. That's why you can "rub it out" my moving the storage box window around, and what you then see is what was already there before you opened the storage box.

The bug here is that the highlighting is including the template name in the wrong colour -- it should be in the highlight colour, not the original colour. Or else the template name should not be included in the highlighting.

Thanks for reporting it, I will get it fixed. It's purely a display problem so there is no workaround needed -- the template name is changed correctly in the box data and as soon as you close the storage box the workpad is redrawn with the new name showing.

regards,

Martin.



Templot Club > Forums > I found a flaw > Odd behaviour with templates that have a : in the name
about Templot Club

Templot Companion - User Guide - A-Z Index Templot Explained for beginners Please click: important information for new members and first-time visitors.
indexing link for search engines

back to top of page


Please read this important note about copyright: Unless stated otherwise, all the files submitted to this web site are copyright and the property of the respective contributor. You are welcome to use them for your own personal non-commercial purposes, and in your messages on this web site. If you want to publish any of this material elsewhere or use it commercially, you must first obtain the owner's permission to do so.
The small print: All material submitted to this web site is the responsibility of the respective contributor. By submitting material to this web site you acknowledge that you accept full responsibility for the material submitted. The owner of this web site is not responsible for any content displayed here other than his own contributions. The owner of this web site may edit, modify or remove any content at any time without giving notice or reason. Problems with this web site? Contact webmaster@templot.com.   This web site uses cookies: click for information.  
© 2020  

Powered by UltraBB - © 2009 Data 1 Systems