Disk icons are clustered at resolution 800x600

Please post any bugs you have found
Post Reply
Message
Author
y@s
Posts: 4
Joined: Sat 04 Apr 2009, 14:47
Location: Japan.

Disk icons are clustered at resolution 800x600

#1 Post by y@s »

Hi, I'ma y@s and I'm live in Japan.
I'm not fluent in English but I will give it a try.
I love the Puppy and Thank you very much for Developing the nice OS.

http://murga-linux.com/puppy/viewtopic. ... 557#308835
mave wrote:
floborg wrote: In the lower left-hand corner of the desktop, the drive icons are clustered on top of one another. In the lower right-hand corner, the Lock and Trash icons are clustered on top of one another.

The above happened using an 800x600 resolution, but did not occur in Puppy 4.1.2.
In updated 4.21 again the same problem.

Any help?
This problem occurred when ROX's 'pinboard_grid_step' setting is set to 'Medium'(16pix) or 'Coarse'(32pix).
Cause is because "/sbin/pup_event_frontend_d" has not set position of drive icon to the multiple of 'pinboard_grid_step'.

Below fix code.

Code: Select all

*** /sbin/pup_event_frontend_d.org	2009-05-20 17:18:02.000000000 +0900
--- /sbin/pup_event_frontend_d	2009-05-30 21:34:18.000000000 +0900
***************
*** 113,118 ****
--- 113,120 ----
   #find a free place on desktop. v410 avoid exact overlapping icons...
   COORDSGRID="`grep -o ' x="[0-9]*" y="[0-9]*" ' /root/Choices/ROX-Filer/PuppyPin | sed 's/[0-9]"/"/g'`"
   COORD_Y=`expr $SCRN_Y - 64`
+  PIN_GRID_STEP=`grep "pinboard_grid_step" $HOME/.config/rox.sourceforge.net/ROX-Filer/Options | sed -e "s/ *<[^>]*>//g"`
+  COORD_Y=`expr $COORD_Y - \( \( $COORD_Y \) % $PIN_GRID_STEP \)`
   COORD_X=32
   MAX_X=`expr $SCRN_X - 96`
   xPATTERN=" x="${COORD_X}" y="${COORD_Y}" "
upup still has this problem.
We don't become aware of this problem at upup , Because initial value of 'pinboard_grid_step' is set to 'Fine'(2pix).

Regards.

Add image of ROX's 'pinboard_grid_step' setting
Image

User avatar
WhoDo
Posts: 4428
Joined: Wed 12 Jul 2006, 01:58
Location: Lake Macquarie NSW Australia

Re: Disk icons are clustered at resolution 800x600

#2 Post by WhoDo »

y@s wrote:Hi, I'ma y@s and I'm live in Japan.
I'm not fluent in English but I will give it a try.
I love the Puppy and Thank you very much for Developing the nice OS.
Your English is fine, y@s, and thank you for taking the trouble to debug this issue.
y@s wrote:http://murga-linux.com/puppy/viewtopic. ... 557#308835
mave wrote:
floborg wrote: In the lower left-hand corner of the desktop, the drive icons are clustered on top of one another. In the lower right-hand corner, the Lock and Trash icons are clustered on top of one another.

The above happened using an 800x600 resolution, but did not occur in Puppy 4.1.2.
In updated 4.21 again the same problem.

Any help?
This problem occurred when ROX's 'pinboard_grid_step' setting is set to 'Medium'(16pix) or 'Coarse'(32pix).
Cause is because "/sbin/pup_event_frontend_d" has not set position of drive icon to the multiple of 'pinboard_grid_step'.

Below fix code.

Code: Select all

*** /sbin/pup_event_frontend_d.org	2009-05-20 17:18:02.000000000 +0900
--- /sbin/pup_event_frontend_d	2009-05-30 21:34:18.000000000 +0900
***************
*** 113,118 ****
--- 113,120 ----
   #find a free place on desktop. v410 avoid exact overlapping icons...
   COORDSGRID="`grep -o ' x="[0-9]*" y="[0-9]*" ' /root/Choices/ROX-Filer/PuppyPin | sed 's/[0-9]"/"/g'`"
   COORD_Y=`expr $SCRN_Y - 64`
+  PIN_GRID_STEP=`grep "pinboard_grid_step" $HOME/.config/rox.sourceforge.net/ROX-Filer/Options | sed -e "s/ *<[^>]*>//g"`
+  COORD_Y=`expr $COORD_Y - \( \( $COORD_Y \) % $PIN_GRID_STEP \)`
   COORD_X=32
   MAX_X=`expr $SCRN_X - 96`
   xPATTERN=" x="${COORD_X}" y="${COORD_Y}" "
upup still has this problem.
We don't become aware of this problem at upup , Because initial value of 'pinboard_grid_step' is set to 'Fine'(2pix).
Great pickup, y@s. I hope BarryK picks up on this issue when he is next on the board. If he hasn't responded here in a week or so, then I'll PM him with your find.

Cheers
[i]Actions speak louder than words ... and they usually work when words don't![/i]
SIP:whodo@proxy01.sipphone.com; whodo@realsip.com

y@s
Posts: 4
Joined: Sat 04 Apr 2009, 14:47
Location: Japan.

Re: Disk icons are clustered at resolution 800x600

#3 Post by y@s »

WhoDo wrote:Great pickup, y@s. I hope BarryK picks up on this issue when he is next on the board. If he hasn't responded here in a week or so, then I'll PM him with your find.

Cheers
Hi, WhoDo
Thanks for your confirmation.
When it has adopted with the following version, it is delightful.

Cheers.

Post Reply