Ticket #2208 (closed bug: fixed)

Opened 1 week ago

Last modified 5 days ago

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

Reported by: shinta Assigned to: korli
Priority: normal Milestone: R1
Component: Servers/input_server Version: R1 development
Cc: 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: r25124+
SHINTA

Change History

05/05/08 17:56:42 changed by korli

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

Thoughts ?

05/06/08 16:33:04 changed by korli

Could you check with r25330 please ?

(follow-up: ↓ 4 ) 05/07/08 07:41:44 changed 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.

(in reply to: ↑ 3 ) 05/07/08 08:13:59 changed by korli

  • status changed from new to closed.
  • resolution set to fixed.

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.