SUMMARY: Setting Icon position in filemgr

From: Peter Watkins (peter@jrc.nl)
Date: Tue Aug 10 1993 - 18:28:01 CDT


Thanks to everyone who replied, the problem is now solved!!

My original question was;
 
> I have an annoying minor problem which is slowly sending me
> up the wall!!
>
> First details of the system;
>
> SS2
> 4.1.3 - no patches
> OW3
>
> The problem is very simple. The .wastebasket icon for filemgr
> ALWAYS comes up at position 0 0. This is very inconvenient
> because that is where my console window is!! I know that I could
> move the console but philosophically I just can't bring myself
> to do that.
>
> Moving the wastebasket icon should be trivial. The books say it
> is trivial, just change the parameters in the .desksetdefaults
> file. My .desksetdefaults file is below;
>
> deskset.filemgr.wastebasketWidth: 365
> deskset.filemgr.wastebasketHeight: 203
> deskset.filemgr.shellToolName: cmdtool
> deskset.filemgr.viewType: icon
> deskset.filemgr.sortType: name
> deskset.filemgr.showHidden: false
> deskset.filemgr.iconListStyle: 63
> deskset.filemgr.iconDirectionVertical: true
> deskset.filemgr.printScript: cat $FILE | mp -o | lpr
> deskset.filemgr.filterScript:
> deskset.filemgr.filenameWidth: 72
> deskset.filemgr.confirmDelete: true
> deskset.filemgr.useTextedit: false
> deskset.filemgr.otherEditor: shelltool sh -c "sleep 3;emacs $FILE"
> deskset.filemgr.treeView: false
> deskset.filemgr.wastebasketClosed: true
> deskset.filemgr.wastebasketIconXPosition: 300
> deskset.filemgr.wastebasketIconYPosition: 0
> deskset.filemgr.wastebasketWindowXPosition: 500
> deskset.filemgr.wastebasketWindowYPosition: 0
>
>
> The offending lines are;
>
> deskset.filemgr.wastebasketIconXPosition: 300
> deskset.filemgr.wastebasketIconYPosition: 0
>
> No matter what I set these to the icon steadfastly remains at 0 0!!
> Changing any of the other parameters has the desired effect - no problems.
> I have changed the case of 'wastebasketIconXPosition', added periods,
> moved the lines about in the file but to no avail.
>
> Has anybody out there seen the same problem, has a solution or can
> assure me that it is a bug so that I can stop hitting my head against
> this wall!
>
 
Several people sent me workarounds involving saving the workspace or
looking for errors in .Xdefaults and/or .openwin-init. I have not tried
any of these because the real reason for the problem is a bug!!

Thanks to glenn@uniq.com.au, shandelm@jpmorgan.com and kam@math.tulane.edu
who pointed me in the right direction.

You need 3 bug fixes to solve the problem;

    100462-25: OpenWindows 3.0: File Manager CTE Jumbo Patch

which cures the File Manager fault BUT this needs two supporting patches;

    100452-44: OpenWindows 3.0: XView/3.0 CTE Jumbo Patch
    100524-06: OW 3.0: Classing Engine (libce) Patch

all of these can be found on sunsite.unc.edu in /pub/sun-info/sun-fixes.

(Note the version numbers on these, two are much more recent than some
people suggested!)

I have installed all three of these patches without (serious) problems and
the .wastebasket problem has vanished, I can position the wastebasket icon where
I wish now. The README file for 100462-25 is included below - note the bugid
1085050 mentioned therein which is now repaired.

Thanks to;

  myk@artel.com (Mike Steadman)
  willard@hvsun21.mdc.com (David Willard)
  shandelm@jpmorgan.com (Joel Shandelman)
  kam@math.tulane.edu
  jamest@sybase.com (James Terry)
  kmah@DCS-Systems.COM (Kevin Mah)
  gary@aodc.gov.au (Gary Riseborough)
  pla_uku@pki-nbg.philips.de (Uwe Kunzler)
  glenn@uniq.com.au (Glenn Satchell)

Dr Peter Watkins.
_____________________________________________________________________________
| Joint Research Centre, | |
| Commission of the European Communities, | Tel: (+31)-2246-5120 |
| P.O. Box 2, | Fax: (+31)-2246-1449 |
| 1755 ZG Petten, | Email: peter@jrc.nl |
| The Netherlands. | |
-----------------------------------------------------------------------------

Here is the README file from 100462-25
---------------------------------------

Patch-ID# 100462-25
Keywords: File Manager
Synopsis: OpenWindows 3.0: File Manager CTE Jumbo Patch
Date: Jun/14/93

SunOS release: 4.1.1, 4.1.2, 4.1.3

Unbundled Product: OpenWindows

Unbundled Release: 3.0

Topic: OW 3.0 File Manager CTE Jumbo Patch Release

BugId's fixed with this patch: 1069592 1070935 1073659 1079554 1075050 1067411 1085050
       1086418 1082021 1081836 1108738 1111569 1112446 1108738 1116040 1093144 1129676
       1133046 1103246 1130463 1130391

Changes incorporated in this version: 1133046 1103246

Architectures for which this patch is available: sun4(all)

Patches which may conflict with this patch: None

Obsoleted by:

Files included with this patch preceded by ucb 4.1.1 /bin/sum :

        32088 288 sun4/filemgr

Problem Description:

This patch needs be installed in conjunction with the XView 3.0 patch, 100452.
This patch needs to be installed in conjunction with the Classing Engine
3.0 patch, 100524-06

This jumbo patch fixes the following bugids :
1067411 Filenames in list mode appear as '>'
1085050 Directories can be renamed to selected files in filemgr without
        notification.
1069592 filemgr - will not display contents of selected folder
1070935 filemgr Custom Commands do not work unless file is selected
1073659 moving a file to a read-only folder will delete original file
1079554 File Manager does not prompt for shelltool when executing script
1075050 Wastebasket icon incorrectly positioned when filemgr started
1081836 filemanager always opens files, even if in identify "by name" mode
1086418 provide a way to run filemgr without using the classing engine
1086418 filemgr now works with EPOCH jukeboxes (requires classing engine patch)
1082021 core dumps and exit when fetching props after selecting all
1111569 filemanager dumps core when drag & drop in the same folder
1112446 Filemgr problm with cut/paste to GOTO field problems
1108738 Filemgr freezes OWv3 when executing script in its own shell
1116040 Cut and paste file to different directory renames file ..<filename>
1093144 /tmp_mnt names cached by filemgr
1075050 Wastebasket icon incorrectly positioned when filemgr started
1129676 filemgr (patch rev. 20) dumps core (SIGSEGV) on startup
1133046 filemgr - Custom Print will core dump the tool
1103246 Filemgr does not refresh image after launching custom command window
1130463 filemgr rev. 20 does not work if env variables are used on the "Goto:" line
1130391 filemanager patch 100462-20 creates bug with ~

Installation Instructions:
 
        1) cd to $OPENWINHOME/bin/xview
        2) su to root
        3) get patch id from the currently installed filemgr by typing
                strings filemgr | grep 'Patch Id'
        4) if patch_id exists type
                mv filemgr filemgr.patch_id_123456_89
                where patch_id_123456_89 is recorded from step #3
           else
                mv filemgr filemgr.30fcs
        5) cp patched filemgr to filemgr
        6) chmod 755 filemgr
        7) restart all file managers that are running



This archive was generated by hypermail 2.1.2 : Fri Sep 28 2001 - 23:08:05 CDT