Work at SourceForge, help us to make it a better place! We have an immediate need for a Support Technician in our San Francisco or Denver office.

Close

#98 VWDesktopIcons: Remove "Align to grid" conflict

open
None
5
2010-02-24
2010-01-01
No

It would be really nice if this module was compatible with native windows align to grid function.

Inventing the align to grid feature again isn't very smart move. Its very buggy and not intuitive (especially on Win Vista and above, where align to grid really work great).

This feature should work live (not on desktop change) and the grid should always be calculated right (now it isn't when you use multiple monitors for example).

My tip is: don't reinvent the wheel - better try to find some workaround for this conflict.

Discussion

  • Would love to but not possible to workaround - please complain to Microsoft who have no credible programmatical interface to the desktop icons.

    Which alas leaves only plan B - reinvent the wheel. As far as I know it is not possible to make the module automatically aware of icon changes, so either the module must continually monitor the desktop for changes (wasting CPU) or it just updates on desktop changes. I have not implemented the auto monitoring of the desktop but should be easy and could be added as an option.

    The next issue is the grid icon size and offset - I have found no programmatical way of extracting or determining this information - total MS voodoo with no API. So either the module guesses (and likely wrongly) or the user will need to manually configure - yuck!

    Alternatively we abandon the module as a bad idea.

     
    • assigned_to: nobody --> bjasspa
     
  • Juan G.
    Juan G.
    2012-06-20

    Workaround to align icons in a desktop:

    - Create a new folder on the right of the desktop.
    - Move all the desktop icons and folders, excepting the recycle bin, to the new folder.
    - Move again everything from the new folder to the desktop.

    Icons and folders are aligned now, excepting the empty new folder, which you can delete.

     
  • Juan G.
    Juan G.
    2012-06-21

    Another simple workaound. For each desktop:

    - Enable Windows options "Auto arrange icons" and "Align icons to grid" (right click on desktop).
    - Then, disable those two options.

    In this way, icons are aligned and each icon has the same position on all desktops, with holes for the different hidden icons on each desktop.

     
  • I use a program (usually from its GUI but there's a CLI too), called "DesktopOK" to save and restore desktop icon layouts. I usually only use it because a few products I install destroy desktop layouts when their installers run, don't know why.

    Desktop ok creates/reads a file with a simple plain text list of icon labels and positions, so I should think it would be easy to generate such a list elsewhere then call DesktopOk to make the changes. I've not tried it though...

    The app is at: http://www.softwareok.com/?seite=Freeware/DesktopOK