clicking Finder icon in Dock opens unexpected directory
In Finder preferences, I have the "New Finder windows show" option set to open a window showing my computer (with all of the mounted volumes).
If I open a new Finder window with cmd-n, then the new window opens correctly, showing my computer.
However, if I open a new Finder window by clicking the Finder icon in the Dock, it shows a directory in my user folder (that happens to be the directory for a command-line app I have installed).
Also, the system does not remember the window settings (size, shape, location etc.) for Finder windows opened from the Finder icon in the Dock--they open to the default size/shape in the center of the screen every time.
Suggestions? Thanks.
MacBook Air (13-inch Mid 2013), OS X Yosemite (10.10.3)