Disappearing items after using the Customize Menu item

Moderators: 666philb, Forum moderators

Post Reply
User avatar
Grey
Posts: 2078
Joined: Wed Jul 22, 2020 12:33 am
Location: Russia
Has thanked: 78 times
Been thanked: 399 times

Disappearing items after using the Customize Menu item

Post by Grey »

If we click on an empty space with the right mouse button in Rox, and then select the New item, we see the following picture:

New_0.gif
New_0.gif (14.05 KiB) Viewed 430 times

But if you select Customise Menu... and after reading the instruction that appears, return to New, then the bottom two items (Script and WebPage) disappear:

New_1.gif
New_1.gif (12.66 KiB) Viewed 430 times

It's the same in indripup. Is this a bug or a feature :) ?

Different devices. Different approach.

User avatar
MochiMoppel
Posts: 1363
Joined: Mon Jun 15, 2020 6:25 am
Location: Japan
Has thanked: 23 times
Been thanked: 548 times

Re: Disappearing items after using the Customize Menu item

Post by MochiMoppel »

Grey wrote: Fri Oct 29, 2021 11:36 am

Is this a bug or a feature :) ?

A bonus? Free give-away? In any case this behavior is very old. So let's call it a tradition ;)

I don't know why the 2 extra items "Script" and "WebPage" appear in the first place. They are not part of the default menu (at least acc. to the user manual) and disappear as soon as you create a directory /root/.config/rox.sourceforge.net/Templates (the Customise Menu does this for you, but it also works when you create it manually). Deleting the Templates directory will restore the 2 items.

Maybe the rationale is: When users put their own templates into the Templates folder they don't need the 2 predefined templates any more. Still would be interesting to know where they come from.

HerrBert
Posts: 375
Joined: Mon Jul 13, 2020 6:14 pm
Location: Germany, NRW
Has thanked: 22 times
Been thanked: 138 times

Re: Disappearing items after using the Customize Menu item

Post by HerrBert »

I have noticed this in Slacko64 7.0 and other Puppies too.
It seems to be a mixed up configuration in ROX-Filer.

The two directories mentioned in the instruction
/root/.config/rox.sourceforge.net/Templates
/etc/xdg/rox.sourceforge.net/Templates

do not exist in Puppy. Creating one of them will break access to Puppy's default template directory which is located in /root/Choices/Templates

User avatar
MochiMoppel
Posts: 1363
Joined: Mon Jun 15, 2020 6:25 am
Location: Japan
Has thanked: 23 times
Been thanked: 548 times

Re: Disappearing items after using the Customize Menu item

Post by MochiMoppel »

HerrBert wrote: Fri Oct 29, 2021 2:18 pm

I have noticed this in Slacko64 7.0 and other Puppies too.
It seems to be a mixed up configuration in ROX-Filer.

The two directories mentioned in the instruction
/root/.config/rox.sourceforge.net/Templates
/etc/xdg/rox.sourceforge.net/Templates

do not exist in Puppy. Creating one of them will break access to Puppy's default template directory which is located in /root/Choices/Templates

OK, understood. I would call it a mixed up configuration in Puppy.
ROX abandoned the Choices directory long, long time ago for its defaults but still supports it for backwards compatibility. There is no reason any more for Puppy to use it. Once ROX finds a Templates directory in its two default locations it looks no further and disregards Choices. Interestingly ROX treats its MIME-types directory differently. This directory can also be found in Choices but is processed by ROX even when 2 other MIME-types directories with higher priority already exist.
Priorities from highest to lowest:
/root/.config/rox.sourceforge.net/MIME-types/
/etc/xdg/rox.sourceforge.net/MIME-types/
/root/Choices/MIME-types/

User avatar
Grey
Posts: 2078
Joined: Wed Jul 22, 2020 12:33 am
Location: Russia
Has thanked: 78 times
Been thanked: 399 times

Re: Disappearing items after using the Customize Menu item

Post by Grey »

Yes, I created absolute links to two files from the /root/Choices/Templates/ directory to /root/.config/rox.sourceforge.net/Templates/ and that's fine.

How not to forget to remind 666philb to do something similar when building a new version :)

Different devices. Different approach.

Post Reply

Return to “Fossapup64”