Jump to content


Photo

Language assistance requested...


  • Please log in to reply
998 replies to this topic

Re: Language assistance requested... #281 littlesat

  • PLi® Core member
  • 57,209 posts

+700
Excellent

Posted 18 August 2018 - 18:01

Not fully agree a lot want no changes at all... ;)
But using channel +- to set the cursor could considered to put back in the vkb.

Edited by littlesat, 18 August 2018 - 18:02.

WaveFrontier 28.2E | 23.5E | 19.2E | 16E | 13E | 10/9E | 7E | 5E | 1W | 4/5W | 15W


Re: Language assistance requested... #282 IanSav

  • PLi® Contributor
  • 1,491 posts

+51
Good

Posted 18 August 2018 - 19:36

Hi Littlesat,

 

But using channel +- to set the cursor could considered to put back in the vkb.

 

What do you want CH- and CH+ to do?

 

Regards,

Ian.



Re: Language assistance requested... #283 ims

  • PLi® Core member
  • 13,806 posts

+214
Excellent

Posted 18 August 2018 - 21:10

Hi Ims,

 

Very nice argument, if there was more than 11 years used buttons, but new users want deferent buttons (if they know what they want ... VIX ?) ... are we in M$ ?

Could be VK switcheable, pls ? Old/new ?

 

PS: some people cannot count square content yet... cancel the square!

 

You guys have been very fast to criticise my proposed changes.  Often I feel that you haven't even considered what I am saying and/or you don't test the sample code I provide.  Please give this new system a try and watch how all the changes come together.  You will see that I am working towards a bigger, and better, picture.

 

If people really don't want to use the proposed consistent mapping of buttons the why not have those users copy the keymap.xml file to /etc/enigma2 and then customise it as they want?

 

Regards,

Ian.

Yes, I using it on one box and enough...

 

FYI , some RCs have not Next/Prev song , some RCs have FF/Rew and Next/Prev song and some RCs have FF/Rew only. How you want move cursor on this boxes ?

 

Did you think about using your keys in dark room ? How you will looking playpause, pause, play buttons ? On most RCs this are very small buttons.

Due it are long years using CH+/- and Prev/Next, because is very easy found it in dark and are ergonomic for using...Ch+/Ch- are on all RCs (move cursor) and Prev/Next are on all RCs too (delete before,under cursor).

 

User need type chars, move cursor and erase chars. Thats all... Due it should be it under same keys on all RCs ... If you want write novels, create intergalactic keyboard.

 

 

Btw - I had 3 layouts with all chars, I have 3 layouts now too, but I have not cca 10 chars... cool.


Kdo nic nedělá, nic nezkazí!

Re: Language assistance requested... #284 littlesat

  • PLi® Core member
  • 57,209 posts

+700
Excellent

Posted 18 August 2018 - 21:51

With ch+- I want to move the cursor left/right.
For config it would be nice that ok is a select and not do the same as the green button. So you are forced to save and can also toggle switches with ok or when you have a selection list get the list of selections with ok (now teletekst
Button)...

For the cursor we can also use the <> buttons next to

For the cursor move we can use multiple stuf.... why dont’t add it as long these buttons are free

Edited by littlesat, 18 August 2018 - 21:56.

WaveFrontier 28.2E | 23.5E | 19.2E | 16E | 13E | 10/9E | 7E | 5E | 1W | 4/5W | 15W


Re: Language assistance requested... #285 ims

  • PLi® Core member
  • 13,806 posts

+214
Excellent

Posted 19 August 2018 - 00:58

For the cursor we can also use the <> buttons next to

Do you want really remove chars with play/pause/playpause and not with  prev/next(< >) as it exists years ?

 

Btw:- creating new bouq.

Traceback (most recent call last):
  File "/usr/lib/enigma2/python/Components/ActionMap.py", line 49, in action
    res = self.actions[action]()
  File "/usr/lib/enigma2/python/Screens/ChannelSelection.py", line 427, in okbuttonClick
    self["menu"].getCurrent()[0][1]()
  File "/usr/lib/enigma2/python/Screens/ChannelSelection.py", line 469, in showBouquetInputBox
    self.session.openWithCallback(self.bouquetInputCallback, VirtualKeyBoard, title=_("Please enter a name for the new bouquet"), text="", maxSize=False, visible_width=56, type=Input.TEXT)
  File "/usr/lib/enigma2/python/mytest.py", line 287, in openWithCallback
    dlg = self.open(screen, *arguments, **kwargs)
  File "/usr/lib/enigma2/python/mytest.py", line 297, in open
    dlg = self.current_dialog = self.instantiateDialog(screen, *arguments, **kwargs)
  File "/usr/lib/enigma2/python/mytest.py", line 240, in instantiateDialog
    return self.doInstantiateDialog(screen, arguments, kwargs, self.desktop)
  File "/usr/lib/enigma2/python/mytest.py", line 257, in doInstantiateDialog
    dlg = screen(self, *arguments, **kwargs)
  File "/usr/lib/enigma2/python/Screens/VirtualKeyBoard.py", line 476, in __init__
    self["text"] = Input(maxSize=False, visible_width=False, type=0, currPos=len(kwargs.get("text", "").decode("utf-8", "ignore")), allMarked=False, **kwargs)  # type=TEXT(0)
TypeError: type object got multiple values for keyword argument 'type'

Kdo nic nedělá, nic nezkazí!

Re: Language assistance requested... #286 IanSav

  • PLi® Contributor
  • 1,491 posts

+51
Good

Posted 19 August 2018 - 04:07

Hi Ims,
 

Yes, I using it on one box and enough...
 
FYI , some RCs have not Next/Prev song , some RCs have FF/Rew and Next/Prev song and some RCs have FF/Rew only. How you want move cursor on this boxes ?
 
Did you think about using your keys in dark room ? How you will looking playpause, pause, play buttons ? On most RCs this are very small buttons.
Due it are long years using CH+/- and Prev/Next, because is very easy found it in dark and are ergonomic for using...Ch+/Ch- are on all RCs (move cursor) and Prev/Next are on all RCs too (delete before,under cursor).
 
User need type chars, move cursor and erase chars. Thats all... Due it should be it under same keys on all RCs ... If you want write novels, create intergalactic keyboard.

Please don't blame me for the inconsistent and poor quality design of the infinite number of remote controls that have ever been made.  If you don't like the layout of your remote control then purchase a programmable universal remote control or use a configurable remote control app on your phone.  If a remote control does not have a backlight for navigation in a dark room then the buttons should be shaped and textured to allow all the buttons to be identified by touch.  (Not every button is shaped or textured but enough are to allow a user to find buttons based on their proximity to the special buttons.)
 

I can only assign buttons from physical remote controls that I have seen or have been told about.  I am assuming that most, if not all, Enigma2 based remote controls should have all the common buttons.  I even added multiple definitions for some buttons to allow for some of the lesser remote controls I have been shown.  If you can give me an image of a problematic remote control plus a list of the KEY codes that remote control generates then I should be able to make allowances for that remote.

 

I have very deliberately chosen the buttons and action I have used to allow users to create muscle memory and predictability on what buttons will have what actions.  This is not at all possible with the current random button assignments.

 

As I said earlier, if a person really doesn't like the unified button system I am promoting then copy the keymaps.xml file into /etc/enigma2 and then change it to your heart's content.

 

Btw - I had 3 layouts with all chars, I have 3 layouts now too, but I have not cca 10 chars... cool.

 

Can you please explain what this means.

 

Regards,

Ian.



Re: Language assistance requested... #287 IanSav

  • PLi® Contributor
  • 1,491 posts

+51
Good

Posted 19 August 2018 - 04:50

Hi Littlesat,

 

With ch+- I want to move the cursor left/right.
For config it would be nice that ok is a select and not do the same as the green button. So you are forced to save and can also toggle switches with ok or when you have a selection list get the list of selections with ok (now teletekst
Button)...

For the cursor we can also use the <> buttons next to

For the cursor move we can use multiple stuf.... why dont’t add it as long these buttons are free

 

I don't want to add buttons "just because they are free".  There is a design to the button allocation.  I want users to be able to use muscle memory to make using the user interface more automatic and natural.  Using a button because it is currently unallocated is not good for this automated learning.

 

CH- / CH+ are usually use for up and down navigation so using them for left right navigation is contrary to the user expectation in the new system.

 

I will address the PREV NEXT buttons in my next post as it also answers Ims' point.

 

Regards,

Ian.



Re: Language assistance requested... #288 IanSav

  • PLi® Contributor
  • 1,491 posts

+51
Good

Posted 19 August 2018 - 05:04

Hi Ims,

 

For the cursor we can also use the <> buttons next to

Do you want really remove chars with play/pause/playpause and not with  prev/next(< >) as it exists years ?

Absolutely!  This change corrects a long standing bug that has been in the code for "years".

 

A long time ago the PREV and NEXT buttons were assigned to the function of jumping to the beginning and end of text or a selection list.  Then, some time later, someone decided to add the function for PREV and NEXT to become backspace and delete respectively.  The issue / bug is that BOTH sets of functions were assigned to the SAME buttons.  My changes have separated the buttons and functions hence making both functions independently available again.

 

I believe the mistake came about because someone noticed that PREV and NEXT were unassigned in some contexts so they reassigned those buttons.  This misuse has continued without critical review leading to the overlap issues we now have.  We have limited free buttons on most Enigma2 remote controls so I made the least bad choices available to me to separate the buttons and function.  This is one of the important reasons why I don't want to satisfy Littlesat's request to use buttons "because they are free".  This is what confuses programmers and users and creates this sort of problem.

 

 

Btw:- creating new bouq.

Traceback (most recent call last):
  File "/usr/lib/enigma2/python/Components/ActionMap.py", line 49, in action
    res = self.actions[action]()
  File "/usr/lib/enigma2/python/Screens/ChannelSelection.py", line 427, in okbuttonClick
    self["menu"].getCurrent()[0][1]()
  File "/usr/lib/enigma2/python/Screens/ChannelSelection.py", line 469, in showBouquetInputBox
    self.session.openWithCallback(self.bouquetInputCallback, VirtualKeyBoard, title=_("Please enter a name for the new bouquet"), text="", maxSize=False, visible_width=56, type=Input.TEXT)
  File "/usr/lib/enigma2/python/mytest.py", line 287, in openWithCallback
    dlg = self.open(screen, *arguments, **kwargs)
  File "/usr/lib/enigma2/python/mytest.py", line 297, in open
    dlg = self.current_dialog = self.instantiateDialog(screen, *arguments, **kwargs)
  File "/usr/lib/enigma2/python/mytest.py", line 240, in instantiateDialog
    return self.doInstantiateDialog(screen, arguments, kwargs, self.desktop)
  File "/usr/lib/enigma2/python/mytest.py", line 257, in doInstantiateDialog
    dlg = screen(self, *arguments, **kwargs)
  File "/usr/lib/enigma2/python/Screens/VirtualKeyBoard.py", line 476, in __init__
    self["text"] = Input(maxSize=False, visible_width=False, type=0, currPos=len(kwargs.get("text", "").decode("utf-8", "ignore")), allMarked=False, **kwargs)  # type=TEXT(0)
TypeError: type object got multiple values for keyword argument 'type'

 

Can you please give me the instructions of what you did including the buttons you pressed to create this crash.  This has not happened on any of my testing so far.  The variable "type" is an integer that tells the Input class what type of data is being entered.

 

Regards,
Ian.



Re: Language assistance requested... #289 IanSav

  • PLi® Contributor
  • 1,491 posts

+51
Good

Posted 19 August 2018 - 05:17

Hi Ims,

 

I have reproduced the crash.  I am investigating the problem now.

 

Thank you for your bug report.

 

Regards,

Ian.



Re: Language assistance requested... #290 IanSav

  • PLi® Contributor
  • 1,491 posts

+51
Good

Posted 19 August 2018 - 06:17

Removed due to error in fact.


Edited by IanSav, 19 August 2018 - 06:18.


Re: Language assistance requested... #291 ims

  • PLi® Core member
  • 13,806 posts

+214
Excellent

Posted 19 August 2018 - 07:41

Your argumentation is out ...

 

I don't want to add buttons "just because they are free".

Due it, that CH+/- are used from same start E2 for moving cursors in VK...

 

 

Can you please explain what this means.

Btw, where have I "ĚŠČŘŽÝÁÉÚŮ"

 

 

I am using more boxes, each with diferent RCs - it will be very nice to have buttons position for delete chars on diferent place... good for muscle memory. And with your "copy keyboard.xml to /etc/enigma2" go to ...

 

 

 

 

Attached Files

  • Attached File  rc1.PNG   3.88KB   1 downloads
  • Attached File  rc2.PNG   14.78KB   1 downloads
  • Attached File  rc3.PNG   4.81KB   1 downloads
  • Attached File  rc4.PNG   14.44KB   1 downloads
  • Attached File  rc5.PNG   4.36KB   1 downloads
  • Attached File  rc6.PNG   3.17KB   1 downloads

Kdo nic nedělá, nic nezkazí!

Re: Language assistance requested... #292 IanSav

  • PLi® Contributor
  • 1,491 posts

+51
Good

Posted 19 August 2018 - 08:30

Hi Ims,

 

I am sorry but I don't understand your post.

 

I strongly believe that there should be a UI plan.  Adding buttons just for the sake of it is not following a plan.  I know change is difficult but as I get more of the changes integrated into Enigma2 I hope you will note that things will get better.  Please give this a chance to work.

 

What locale are you using that causes those characters to be missing?  I really need more information to help address issues.

 

As I said earlier, you can't blame me when people implement remote controls that lack clarity or uniformity.  Remember that the code has to be written to be useful for as many people as possible.  I am trying to do that.  Sometimes some remote control hardware may make that more difficult.  Maybe one day the Enigma2 developers and contributors can get a better remote control designed and built for Enigma2.

 

What do you mean by "And with your "copy keyboard.xml to /etc/enigma2" go to ..."?

 

By the way, I have fixed the crash issue.  I am running a few tests before submitting a correction.

 

Regards,

Ian.


Edited by IanSav, 19 August 2018 - 08:31.


Re: Language assistance requested... #293 littlesat

  • PLi® Core member
  • 57,209 posts

+700
Excellent

Posted 19 August 2018 - 08:43

Not all remotes have prev next... but have ch+- or the buttons next to 0... moving cursors easier can be done on multiple buttons so everyone can find them...
And I’m happy we have develop... so we can test these kinds of development...

Edited by littlesat, 19 August 2018 - 08:43.

WaveFrontier 28.2E | 23.5E | 19.2E | 16E | 13E | 10/9E | 7E | 5E | 1W | 4/5W | 15W


Re: Language assistance requested... #294 Persian Prince

  • Senior Member
  • 1,982 posts

+247
Excellent

Posted 19 August 2018 - 08:46

@IanSav

 

I just compiled new test images for you :)

 

beyonwizt3: http://www.mediafire...t3_usb.zip/file

 

beyonwizt4: http://www.mediafire...t4_usb.zip/file

 

Regards,

Persian Prince


Open Vision sources: https://github.com/OpenVisionE2


Re: Language assistance requested... #295 ims

  • PLi® Core member
  • 13,806 posts

+214
Excellent

Posted 19 August 2018 - 08:51


 

What locale are you using that causes those characters to be missing?  I really need more information to help address issues.

 

cs_CZ


Kdo nic nedělá, nic nezkazí!

Re: Language assistance requested... #296 IanSav

  • PLi® Contributor
  • 1,491 posts

+51
Good

Posted 19 August 2018 - 10:29

Hi Ims,

 

 

What locale are you using that causes those characters to be missing?  I really need more information to help address issues.

 

cs_CZ

 

 

Would it be acceptable to move the numbers from shift level 1 to shift level 2 and then put the missing upper case characters in the same positions as they take on shift level 0?

 

Regards,

Ian.



Re: Language assistance requested... #297 ims

  • PLi® Core member
  • 13,806 posts

+214
Excellent

Posted 19 August 2018 - 10:47

may be better put this upper chars to shift2 on same positions as are in basic. Time will show ...

 

Ú,Ů  place or same position as are in basic layout 0 lower chars

 

This move one right: "$" and "ß", 3rd char - char "end of cell" move bottom (it not exist on our PCs kb here)

Similar for Ů:  move 2 mathematic symbols one right


Kdo nic nedělá, nic nezkazí!

Re: Language assistance requested... #298 IanSav

  • PLi® Contributor
  • 1,491 posts

+51
Good

Posted 19 August 2018 - 19:19

Hi Ims,

 

How is this for the Czech keyboard layouts?

 

Regards,

Ian.

 

Attached Files



Re: Language assistance requested... #299 ims

  • PLi® Core member
  • 13,806 posts

+214
Excellent

Posted 19 August 2018 - 20:15

ok. Thx.


Kdo nic nedělá, nic nezkazí!

Re: Language assistance requested... #300 IanSav

  • PLi® Contributor
  • 1,491 posts

+51
Good

Posted 20 August 2018 - 03:02

Hi,

 

VirtualKeyBoard updated and Pull Request #1674 filed.

 

Regards,

Ian.




2 user(s) are reading this topic

0 members, 2 guests, 0 anonymous users