[Solved]RC3: bookmark.ini not used in Xnview directory.

Bugs and Issues in 1.82 Test versions which have been fixed and verified as resolved.

Moderators: helmut, XnTriq, xnview

Locked
marsh
XnThusiast
Posts: 2443
Joined: Sun May 15, 2005 6:31 am

[Solved]RC3: bookmark.ini not used in Xnview directory.

Post by marsh »

Xnview does not use bookmark.ini if it is placed in program directory and it is the only bookmark.ini which exists on computer. Xnview.ini in program directory is used, but bookmark.ini is not used on a clean install. I think this is a problem, but I may have misunderstood related thread.
Win2k SP4
Here is a related thread discussing ini issues:
http://newsgroup.xnview.com/viewtopic.php?t=1838
Last edited by marsh on Sat May 28, 2005 8:03 pm, edited 1 time in total.
User avatar
Clo
XnThusiast
Posts: 4441
Joined: Sun Oct 17, 2004 4:57 am
Location: Bordeaux, France
Contact:

Better in the program-dir.

Post by Clo »

:) Hello !
- Here, it's located like :

Code: Select all

c:\WINDOWS\Application Data\XnView\bookmark.ini 
under Win98 SE.

- I think it's inconsistent, I don't see any logical reason to have it there…
IMHO, it could be placed in the XnView-directory as well…

It should need only that this location be stated in the EXE-code, I guess.
{ Aside : and what about the hotkeys that you can set, saved in that file, but which do NOT work? }

:mrgreen: Kind regards,
Claude
Clo
Old user ON SELECTIVE STRIKE till further notice
User avatar
Clo
XnThusiast
Posts: 4441
Joined: Sun Oct 17, 2004 4:57 am
Location: Bordeaux, France
Contact:

[REQ] About bookmarks still…

Post by Clo »

:arrow: Pierre

- Thinking to that file <bookmark.ini>, why not to build it as a user's menu, instead an INI ? In the same way we have such a "Start" (User's) menu in Total Commander ? It could be named “Bookmark.mnu” and placed in the Language sub-directory. It could be something like :

Code: Select all

POPUP "&Bookmarks"
MENUITEM "Prox&y Aide-Fr"*"C:\Program Files\AnalogX\Proxy\Aide-Fr\",$x
MENUITEM "Icô&nes32-24b"*"C:\icones\32-24b\",$x+1
MENUITEM "Icônes &48x48"*"C:\icones\48x48\",$x+2
MENUITEM "&BB-code"*"C:\helios\BMP21\BB-code\",$x+3
MENUITEM "Images"*"C:\Images\",$x+4
MENUITEM "&EXEMPLES CDR"*"C:\COREL30\DRAW\EXEMPLES\",$x+5
END_POPUP
;$x is the first internal command number (as hexa) of a reserved group, i.e. 256 entries...
Hence, the hotkeys will work, finally !
- Indeed, the syntax can be false, because I can't compare with the TC's "Start Menu" (not reachable), but I guess it's possible and better.
What do you think :?:

:mrgreen: Kind regards,
Claude
Clo
Last edited by Clo on Sun May 29, 2005 4:41 pm, edited 2 times in total.
Old user ON SELECTIVE STRIKE till further notice
User avatar
xnview
Author of XnView
Posts: 46238
Joined: Mon Oct 13, 2003 7:31 am
Location: France
Contact:

Re: [REQ] About bookmarks still…

Post by xnview »

Clo wrote::arrow: Pierre

- Thinking to that file <bookmark.ini>, why not to build it as a user's menu, instead an INI ? In the same way we have such a "Start" (User's) menu in Total Commander ? It could be named “Bookmark.mnu” and placed in the Language sub-directory. It could be something like :

Code: Select all

POPUP "&Bookmarks"
MENUITEM "Prox&y Aide-Fr"*"C:\Program Files\AnalogX\Proxy\Aide-Fr",$x
MENUITEM "Icô&nes32-24b"*"C:\icones\32-24b",$x+1
MENUITEM "Icônes &48x48"*"C:\icones\48x48",$x+2
MENUITEM "&BB-code"*"C:\helios\BMP21\BB-code",$x+3
MENUITEM "Images"*"C:\Images",$x+4
MENUITEM "&EXEMPLES CDR"*"C:\COREL30\DRAW\EXEMPLES",$x+4
END_POPUP
;$x is the first internal command number (as hexa) of a reserved group, i.e. 256 entries...
Hence, the hotkeys will work, finally !
- Indeed, the syntaw can be false, because I can't compare with the TC's "Start Menu" (not reachable), but I guess it's possible and better.
What do you think :?:
Not in 1.80 :-)
Pierre.
User avatar
xnview
Author of XnView
Posts: 46238
Joined: Mon Oct 13, 2003 7:31 am
Location: France
Contact:

Re: RC3: bookmark.ini not used in Xnview directory.

Post by xnview »

marsh wrote:Xnview does not use bookmark.ini if it is placed in program directory and it is the only bookmark.ini which exists on computer. Xnview.ini in program directory is used, but bookmark.ini is not used on a clean install. I think this is a problem, but I may have misunderstood related thread.
Win2k SP4
Here is a related thread discussing ini issues:
http://newsgroup.xnview.com/viewtopic.php?t=1838
bookmark.ini is always saved in Document Settings, because i think it's a better location for files created by XnView.
xnview.ini is a special file.
Pierre.
Locked