We have moved to a new Sailfish OS Forum. Please start new discussions there.
1 | initial version | posted 2013-12-25 01:38:17 +0200 |
When i create keyboard layout for Czech and need two DeadKeys, i find bug in 'AccentedCharacterKey.qml'.
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 .. :)
When i create keyboard layout for Czech and need two DeadKeys, i find bug in 'AccentedCharacterKey.qml'.
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 .. :)
3 | No.3 Revision |
When i create keyboard layout for Czech and need two DeadKeys, i find found bug in 'AccentedCharacterKey.qml'.
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 .. :)
When i create keyboard layout for Czech and need two DeadKeys, i found bug in 'AccentedCharacterKey.qml'.
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 .. :)
5 | retagged |
When i create keyboard layout for Czech and need two DeadKeys, i found bug in 'AccentedCharacterKey.qml'.
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 .. :)
6 | retagged |
When i create keyboard layout for Czech and need two DeadKeys, i found bug in 'AccentedCharacterKey.qml'.
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 .. :)