Opened 18 years ago

Last modified 17 years ago

#715 closed bug

BTextView::HideTyping not implemented — at Version 7

Reported by: korli Owned by: jackburton
Priority: normal Milestone: R1/alpha1
Component: Kits/Interface Kit Version:
Keywords: Cc: diver, ksmith
Blocked By: Blocking:
Platform: All

Description (last modified by jackburton)

ScreenSaver preferences has some password controls which expose the password at the moment.

Change History (7)

comment:1 by korli, 18 years ago

Cc: stefano.ceccherini@… added

comment:2 by diver, 18 years ago

Cc: diver added

comment:3 by jackburton, 18 years ago

Should it also show some "*" or just hide what is being typed ?

comment:4 by korli, 18 years ago

Stefano, I added a B_UTF8_BULLET in InterfaceDefs.h (3 bytes) :) I tried to have the BTextView use it instead of real chars, but I didn't got it to work correctly. Multibyte seems to not help here, ie in _BTextGapBuffer_::GetString(int32 fromOffset, int32 numChars), I thought numChars were really characters and not bytes, but seeing the code I'm not sure.

comment:5 by jackburton, 18 years ago

(In reply to comment #2)

Stefano, I added a B_UTF8_BULLET in InterfaceDefs.h (3 bytes) :) I tried to have the BTextView use it instead of real chars, but I didn't got it to work correctly. Multibyte seems to not help here, ie in _BTextGapBuffer_::GetString(int32 fromOffset, int32 numChars), I thought numChars were really characters and not bytes, but seeing the code I'm not sure.

Yeah, almost every function in BTextView handles bytes, not characters. The naming of the parameters is often misleading and should be definitely changed.

comment:6 by jackburton, 18 years ago

Owner: changed from axeld to jackburton

comment:7 by jackburton, 18 years ago

Component: GeneralUser Interface/InterfaceKit
Description: modified (diff)
Platform: All
Status: newassigned
Note: See TracTickets for help on using tickets.