Opened 16 years ago

Closed 16 years ago

#2208 closed bug (fixed)

"Disable user add-ons" doesn't work about input server add-ons

Reported by: shinta Owned by: korli
Priority: normal Milestone: R1
Component: Servers/input_server Version: R1/pre-alpha1
Keywords: Cc:
Blocked By: Blocking:
Platform: x86

Description

I placed canna IM to ~/config/add-ons/input_server/methods.

On booting Haiku, I selected safe mode option "Disable user add-ons", but, canna IM was usable.

Haiku: hrev25124+ SHINTA

Change History (4)

comment:1 by korli, 16 years ago

It seems we would need B_SAFEMODE_DISABLE_USER_ADD_ONS in drivers/driver_settings.h

Thoughts ?

comment:2 by korli, 16 years ago

Could you check with hrev25330 please ?

comment:3 by shinta, 16 years ago

Thank you for modifying! It works well.

I worried about the code "Unload()". Are add-ons loaded once? But, it seems not to be loaded. We can avoid harmful add-ons.

Thank you.

in reply to:  3 comment:4 by korli, 16 years ago

Resolution: fixed
Status: newclosed

Replying to shinta:

I worried about the code "Unload()". Are add-ons loaded once? But, it seems not to be loaded. We can avoid harmful add-ons.

Actually the Deskbar loads replicants which were loaded on the last shutdown. So the input method replicant could load even if the input_server didn't try to load it. For this reason, we unload the replicant anytime it shouldn't be loaded.

Note: See TracTickets for help on using tickets.