We have moved to a new Sailfish OS Forum. Please start new discussions there.

Revision history [back]

click to hide/show revision 1
initial version

posted 2013-12-25 01:38:17 +0200

BUG: maliit definition for more then one deadkey

When i create keyboard layout for Czech and need two DeadKeys, i find bug in 'AccentedCharacterKey.qml'.

TMO

What is the right definition of "deadKeyAccents" for more deadkeys?

1) "´ˇéě" - all deadkeys symbol first, then all chars ..

or

2) "´éˇě" - deadkey symbol then char, repeat for all deadkeys ..

Original code (wrong for both definitions):

   property string _accentedText: _deadAccentIndex > -1 && !keyboard.inSymView ? _deadKeyAccents.substr(_deadAccentIndex*2+1, 1) : ""

for definition deadKeyAccents: "´éˇě" :

   property string _accentedText: _deadAccentIndex > -1 && !keyboard.inSymView ? _deadKeyAccents.substr(_deadAccentIndex+1, 1) : ""

for definition deadKeyAccents: "´ˇéě" :

   property string _accentedText: _deadAccentIndex > -1 && !keyboard.inSymView ? _deadKeyAccents.substr((_deadKeyAccents.length/2)+_deadAccentIndex, 1) : ""

This is question to Mer people .. :)

BUG: maliit definition for more then one deadkey

When i create keyboard layout for Czech and need two DeadKeys, i find bug in 'AccentedCharacterKey.qml'.

TMO

What is the right definition of "deadKeyAccents" for more deadkeys?

1) "´ˇéě" - all deadkeys symbol first, then all chars ..

or

2) "´éˇě" - deadkey symbol then char, repeat for all deadkeys ..

Original code (wrong for both definitions):

   property string _accentedText: _deadAccentIndex > -1 && !keyboard.inSymView ? _deadKeyAccents.substr(_deadAccentIndex*2+1, 1) : ""

for definition deadKeyAccents: "´éˇě" :

   property string _accentedText: _deadAccentIndex > -1 && !keyboard.inSymView ? _deadKeyAccents.substr(_deadAccentIndex+1, 1) : ""

for definition deadKeyAccents: "´ˇéě" :

   property string _accentedText: _deadAccentIndex > -1 && !keyboard.inSymView ? _deadKeyAccents.substr((_deadKeyAccents.length/2)+_deadAccentIndex, 1) : ""

This is question to Mer people .. :)

BUG: maliit definition for more then one deadkey

When i create keyboard layout for Czech and need two DeadKeys, i find found bug in 'AccentedCharacterKey.qml'.

TMO

What is the right definition of "deadKeyAccents" for more deadkeys?

1) "´ˇéě" - all deadkeys symbol first, then all chars ..

or

2) "´éˇě" - deadkey symbol then char, repeat for all deadkeys ..

Original code (wrong for both definitions):

   property string _accentedText: _deadAccentIndex > -1 && !keyboard.inSymView ? _deadKeyAccents.substr(_deadAccentIndex*2+1, 1) : ""

for definition deadKeyAccents: "´éˇě" :

   property string _accentedText: _deadAccentIndex > -1 && !keyboard.inSymView ? _deadKeyAccents.substr(_deadAccentIndex+1, 1) : ""

for definition deadKeyAccents: "´ˇéě" :

   property string _accentedText: _deadAccentIndex > -1 && !keyboard.inSymView ? _deadKeyAccents.substr((_deadKeyAccents.length/2)+_deadAccentIndex, 1) : ""

This is question to Mer people .. :)

BUG: maliit definition for more then one deadkey

When i create keyboard layout for Czech and need two DeadKeys, i found bug in 'AccentedCharacterKey.qml'.

TMO

What is the right definition of "deadKeyAccents" for more deadkeys?

1) "´ˇéě" - all deadkeys symbol first, then all chars ..

or

2) "´éˇě" - deadkey symbol then char, repeat for all deadkeys ..

Original code (wrong for both definitions):

   property string _accentedText: _deadAccentIndex > -1 && !keyboard.inSymView ? _deadKeyAccents.substr(_deadAccentIndex*2+1, 1) : ""

for definition deadKeyAccents: "´éˇě" :

   property string _accentedText: _deadAccentIndex > -1 && !keyboard.inSymView ? _deadKeyAccents.substr(_deadAccentIndex+1, 1) : ""

for definition deadKeyAccents: "´ˇéě" :

   property string _accentedText: _deadAccentIndex > -1 && !keyboard.inSymView ? _deadKeyAccents.substr((_deadKeyAccents.length/2)+_deadAccentIndex, 1) : ""

This is question to Mer people .. :)

BUG: maliit definition for more then one deadkey

When i create keyboard layout for Czech and need two DeadKeys, i found bug in 'AccentedCharacterKey.qml'.

TMO

What is the right definition of "deadKeyAccents" for more deadkeys?

1) "´ˇéě" - all deadkeys symbol first, then all chars ..

or

2) "´éˇě" - deadkey symbol then char, repeat for all deadkeys ..

Original code (wrong for both definitions):

   property string _accentedText: _deadAccentIndex > -1 && !keyboard.inSymView ? _deadKeyAccents.substr(_deadAccentIndex*2+1, 1) : ""

for definition deadKeyAccents: "´éˇě" :

   property string _accentedText: _deadAccentIndex > -1 && !keyboard.inSymView ? _deadKeyAccents.substr(_deadAccentIndex+1, 1) : ""

for definition deadKeyAccents: "´ˇéě" :

   property string _accentedText: _deadAccentIndex > -1 && !keyboard.inSymView ? _deadKeyAccents.substr((_deadKeyAccents.length/2)+_deadAccentIndex, 1) : ""

This is question to Mer people .. :)

BUG: maliit definition for more then one deadkey

When i create keyboard layout for Czech and need two DeadKeys, i found bug in 'AccentedCharacterKey.qml'.

TMO

What is the right definition of "deadKeyAccents" for more deadkeys?

1) "´ˇéě" - all deadkeys symbol first, then all chars ..

or

2) "´éˇě" - deadkey symbol then char, repeat for all deadkeys ..

Original code (wrong for both definitions):

   property string _accentedText: _deadAccentIndex > -1 && !keyboard.inSymView ? _deadKeyAccents.substr(_deadAccentIndex*2+1, 1) : ""

for definition deadKeyAccents: "´éˇě" :

   property string _accentedText: _deadAccentIndex > -1 && !keyboard.inSymView ? _deadKeyAccents.substr(_deadAccentIndex+1, 1) : ""

for definition deadKeyAccents: "´ˇéě" :

   property string _accentedText: _deadAccentIndex > -1 && !keyboard.inSymView ? _deadKeyAccents.substr((_deadKeyAccents.length/2)+_deadAccentIndex, 1) : ""

This is question to Mer people .. :)