Opened 11 years ago

Closed 11 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:
Has a Patch: no 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 Changed 11 years ago by korli

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

Thoughts ?

comment:2 Changed 11 years ago by korli

Could you check with hrev25330 please ?

comment:3 Changed 11 years ago by shinta

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.

comment:4 in reply to:  3 Changed 11 years ago by korli

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.