maemo.org - Talk

maemo.org - Talk (https://talk.maemo.org/index.php)
-   Applications (https://talk.maemo.org/forumdisplay.php?f=41)
-   -   tomotko menu problem with Pr1.1 (https://talk.maemo.org/showthread.php?t=40875)

feydrutha 2010-01-16 13:53

tomotko menu problem with Pr1.1
 
I am testing the tomotko flashcard application available in extras testing. It's a nice little app for learning vocabulary in foreign languages.

Anyhow there is a problem where it is not possible to access any of the menus except for the help one, so I cannot get to the preferences to set the language, or start a quiz. I think this has happened with the Qt update in Pr1.1, and is similar to the issues reported here for another Qt application, Qstardict:
http://talk.maemo.org/showpost.php?p...6&postcount=57

Here are screenshots showing the bug for tomotko:
http://dl.dropbox.com/u/3782018/Scre...116-141731.png
http://dl.dropbox.com/u/3782018/Scre...116-141801.png

The first one is the managing glossaries window, which is the one shown at startup. The second one is the menu that opens when I click at the top. As you can see there is no Preferences or Actions menu.

FBergeron 2010-01-26 05:04

Re: tomotko menu problem with Pr1.1
 
Just to let you know that I have installed the latest version of Fremantle SDK and that I'm able to reproduce the problem. I will try to fix it ASAP. I don't have much free time though so it may take a while.

jessi3k3 2010-02-09 03:08

Re: tomotko menu problem with Pr1.1
 
I just installed tomotko to use it as a study tool but for my life i wasnt able to find the actions pane so I could import a glossary. This must be the reason why. I am really looking forward to the fix. If anyone else knows how to load a glossary i'd like to know.

evil_m0nkey 2010-02-09 10:54

Re: tomotko menu problem with Pr1.1
 
agreed.
application looks promising but sucks that it doesnt work

wouldnt mind learning spanish and japanese through it

LordVan 2010-02-17 08:16

Re: tomotko menu problem with Pr1.1
 
one thing that works to get the app up and running:
- download the windows or linux version
- sort out your settings, import dictionaries,..
- copy the .toMOTko folder from your home / windows profile folder to your home on the phone .. (overwrite what is there and also change permissions to user (if you copy through ssh with user root at least)

FBergeron 2010-02-17 11:04

Re: tomotko menu problem with Pr1.1
 
Thanks for the workaround.

To properly fix the problem, the application needs to be fully hildonized. I have created a fremantle
branch in the svn repository for this purpose. You can follow toMOTko's
blog (https://sourceforge.net/apps/wordpress/tomotko/) for updates on this.

FBergeron 2010-03-11 11:06

Re: tomotko menu problem with Pr1.1
 
Here is an executable file of toMOTko. It's not perfect but it's functional enough IMHO. I have still a few things to do before it's completed.

http://www.fbergeron.com/tmp/toMOTkoFremantle-r943

To use it, you must already have installed toMOTko-0.11.2-9. Then, you have to overwrite the previous toMOTko executable file with the new one. Do not forget to make the file executable:

Code:

chmod +x toMOTko

HOKIR 2010-03-12 07:28

Re: tomotko menu problem with Pr1.1
 
Thank you, Frederic. I've been waiting for this.

I replaced executable "toMOTko" in opt/maemo/usr/bin/ with the one from your post. Did the chmod. Yet, the application does not start.

your friend from Zaurus days :)

FBergeron 2010-03-12 07:46

Re: tomotko menu problem with Pr1.1
 
I think it's in /usr/bin directory. Anyone can confirm this?

BTW, feedback would be appreciated.

HOKIR 2010-03-12 08:00

Re: tomotko menu problem with Pr1.1
 
It says, "error while loading shared libraries: libQtMaemo5.so.4: cannot open shared object file: No such file or directory"

The previous version did start but had the menu issue.

FBergeron 2010-03-12 08:09

Re: tomotko menu problem with Pr1.1
 
Hmmm... Ok. I guess I will have to spend some time on packaging the application in that case.

LordVan (that wrote a previous message in that thread) told me that he is able to run the application so I assumed that it would have worked for everybody who have already installed the previous version of toMOTko. My assumption was obviously wrong. I will try to release a version in Extras-Devel next week.

BTW, are you using PR1.1?

HOKIR 2010-03-12 08:26

Re: tomotko menu problem with Pr1.1
 
I guess I need to install the new QT.

I found on another site: "Short story: Add Maemo’s “extras-devel” repository and type “fakeroot (I should use sudo on N900, right?) apt-get install libqt4-maemo5-dev”. Qt will be installed to “/opt/qt4-maemo5″."

Yet for some reason, I can't install libqt4-maemo5.dev. There are uninstallable dependencies: libgles2-sgx-img-dev, opengles-sgx-img-common-dev, and libsqlite3-dev

HOKIR 2010-03-12 08:39

Re: tomotko menu problem with Pr1.1
 
I am using PR1.1.1 V3.2010.02.8.

I have never installed any dev tools or QT.

FBergeron 2010-03-12 08:43

Re: tomotko menu problem with Pr1.1
 
Hmmmm... That's annoying. Maybe someone will come up with a solution for this. I'm sure we will eventually find a way. It's just a question of time.

FBergeron 2010-03-12 09:48

Re: tomotko menu problem with Pr1.1
 
I'm not sure but maybe this thread has some useful information about this issue:

http://talk.maemo.org/showthread.php...bQtMaemo5.so.4

HOKIR 2010-03-12 15:59

Re: tomotko menu problem with Pr1.1
 
You are right. That did the trick! Thanks.

I did the following:

sudo apt-get install libqt4-maemo5-maemo5

Note that once the QT 4.6 is finalized it will be included in the maemo itself. For now, we need to install it separately.

http://lists.maemo.org/pipermail/mae...ry/024512.html

Rugne 2010-03-12 20:12

Re: tomotko menu problem with Pr1.1
 
Hmm.. Trying to do this has sent my phone into a restart cycle.

HOKIR 2010-03-12 20:36

Re: tomotko menu problem with Pr1.1
 
Ok, the toMOTko works and looks awesome on N900!

Have you implemented customizing keyboard accelerators in the Preference window as you did on Zaurus and N800? I can't find it. Are there any preset accelerators (for correct answer, wrong answer, show, etc.)? I always chose my own.

Is it possible to do a sub-menu in the Preference dialog for Languages of Interest because right now it takes so much space? Note that the Bulgarian language is not "Bulgar".

The screenshot for the Revealing Sequences in Preference dialog should be from N900 (not from Zaurus as it is now) because it would confuse people. Let me know if you want me to make some screenshots.

When I choose "hide buttons" in Preferences, nothing happens in the quiz window.

I don't think there is a need for ellipses in the name of menus (e.g., Preferences..., About..., Help..., Import..., Export... should be without "..." at the end)

The "delete"-cross icon (and to the lesser degree some other icons -- Edit, Trash can) in the Glossary Manager has some extra white pixels around it that look bad on the black background.

HOKIR 2010-03-12 20:40

Re: tomotko menu problem with Pr1.1
 
Quote:

Originally Posted by Rugne (Post 565428)
Hmm.. Trying to do this has sent my phone into a restart cycle.

What exactly was the last command that sent the phone in the restart cycle?

Rugne 2010-03-12 21:58

Re: tomotko menu problem with Pr1.1
 
Quote:

Originally Posted by HOKIR (Post 565455)
What exactly was the last command that sent the phone in the restart cycle?

Well, I installed the new file alongside the old, in all subfolders I could find it in, tried to activate the program, no joy.

Then I renamed the new file and deleted the old, tried to activate the file, no action.

I tried the CH command, but it said it couldn't find any such file, but by that point it was randomly restarting repeatedly, so I went back in with SCP, reverted to the old files.

Then my machine got frozen, so I removed the battery, restared it, and uninstalled the program.

Given my utter incompetency, I may just wait for it to come back into testing :D

HOKIR 2010-03-12 22:42

Re: tomotko menu problem with Pr1.1
 
Here is the summary of what I did to make it work:

download toMOTkoFremantle-r943
rename the file to toMOTko (you can do it in MC or in the default File Manager)

run the following commands (you need Midnight Commander installed, you can do it without MC but you need to know the basic linux bash commands: for example, sudo copy toMOTko /opt/maemo/usr/bin/toMOTko)
Code:

sudo mc
In MC, copy the new toMOTko file into the following folder: /opt/maemo/usr/bin/
Agree to replace the file that is already there.

then in X Terminal run,
Code:

sudo chmod +x /opt/maemo/usr/bin/toMOTko
Finally, add Maemo’s “extras-devel” repository (if it's not yet added)
and in X Terminal run,
Code:

sudo apt-get install libqt4-maemo5-maemo5
Wait for it to finish (you need the internet connection for it to download the needed packages).

Voila, it should work.

P.S. Given that you already played with toMOTko files, maybe the first step would be to uninstall and then reinstall toMOTko to make sure that we are starting from the same point.

Rugne 2010-03-12 22:47

Re: tomotko menu problem with Pr1.1
 
I shall give that a try tomorrow, when I'm fresh
Marc

FBergeron 2010-03-13 03:06

Re: tomotko menu problem with Pr1.1
 
Quote:

Originally Posted by HOKIR (Post 565450)
Ok, the toMOTko works and looks awesome on N900!

Thanks. I'm glad to hear that.

Quote:

Originally Posted by HOKIR (Post 565450)
Have you implemented customizing keyboard accelerators in the Preference window as you did on Zaurus and N800? I can't find it. Are there any preset accelerators (for correct answer, wrong answer, show, etc.)? I always chose my own.

Yes and no.

Actually, the Keyboard Accelerator section is currently hidden. I was wondering if it was worth putting it back for the Fremantle version. I read somewhere that keyboard accelerators are not something that is recommended for Fremantle. I think I read that in the GUI specification guide or something similar.

However, the keyboard accelerators are still enabled (or most of them should be).

For example, Right Answer (in the quiz) is associated to Space key, Wrong Answer is associated to Backspace key.

Now that you say that this is still useful, I will probably put back the Keyboard Accelerator section in the Preferences Dialog.

Quote:

Originally Posted by HOKIR (Post 565450)
Is it possible to do a sub-menu in the Preference dialog for Languages of Interest because right now it takes so much space? Note that the Bulgarian language is not "Bulgar".

I guess so. It's true that it takes a lot of space. Even yesterday, I have added a few more languages.


Quote:

Originally Posted by HOKIR (Post 565450)
The screenshot for the Revealing Sequences in Preference dialog should be from N900 (not from Zaurus as it is now) because it would confuse people. Let me know if you want me to make some screenshots.

Yeah, I'm aware of that. It's on the todo. As I said, it's not completed yet but it's functional enough to be used. I need to polish the application before release, that's for sure.

Here is a list of things that need to be done:

- Hildonize Revealing Sequence Dialog
- Reconnect Cut, Copy, Paste (if possible)
- Use contextual menus (if possible) for Import/Export
- Update the online help text and images
- Package the application for release

Quote:

Originally Posted by HOKIR (Post 565450)
When I choose "hide buttons" in Preferences, nothing happens in the quiz window.

Well, the buttons should be hidden. And you would need to use the Keyboard Accelerators (space and backspace keys) to switch to the other question. If the buttons are not hidden, it's a bug and I will take a look to it. I was considering to remove this feature for Fremantle. Do you think it's worth it?

Quote:

Originally Posted by HOKIR (Post 565450)
I don't think there is a need for ellipses in the name of menus (e.g., Preferences..., About..., Help..., Import..., Export... should be without "..." at the end)

Ok, I don't know what is the standard on Fremantle. On PC, usually there are ellipsis for these submenus. I will remove them.

Quote:

Originally Posted by HOKIR (Post 565450)
The "delete"-cross icon (and to the lesser degree some other icons -- Edit, Trash can) in the Glossary Manager has some extra white pixels around it that look bad on the black background.

Ok, I will try to fix it or find another image. My Photoshop skills are rather limited.

Thanks for the feedback!!

HOKIR 2010-03-13 04:13

Re: tomotko menu problem with Pr1.1
 
Hmm, regarding those Keyboard Accelerators and hiding of the buttons... I am so used to toMOTko on Zaurus that I fall back to my old habits (I really enjoyed the keyboard input there). Maybe you are right and they are not as useful in Maemo. Please ignore this request for now.

FBergeron 2010-03-13 09:33

Re: tomotko menu problem with Pr1.1
 
I have released tomotko 0.11.2-9fremantle1 in extras-devel repository. Anyone can tell me if the applications installs itself properly and run?

Also, tell me if the default font is too small? You can change the fonts in the Preferences menu, and set different values for Labels and Fields fonts.

If someone can submit a few screenshots in this thread, that would be cool.

HOKIR 2010-03-13 16:01

Re: tomotko menu problem with Pr1.1
 
5 Attachment(s)
I have updated through the app manager and it works without a hitch.

Yes, the fonts for field are too small for my taste (see the screenshots). I switched to Very Large for Fields, I didn't change the other. Note that there is a slight issue with the quiz window when the fields font is very large (see the next to last screenshot).

HOKIR 2010-03-13 16:07

Re: tomotko menu problem with Pr1.1
 
5 Attachment(s)
more screenshots

HOKIR 2010-03-13 16:11

Re: tomotko menu problem with Pr1.1
 
4 Attachment(s)
even more screenshots

FBergeron 2010-03-14 02:11

Re: tomotko menu problem with Pr1.1
 
Thanks a lot for the screenshots. It looks good.

Quote:

Originally Posted by HOKIR (Post 566102)
Note that there is a slight issue with the quiz window when the fields font is very large (see the next to last screenshot).

Could you be more specific? I don't see the problem, really.

HOKIR 2010-03-14 03:08

Re: tomotko menu problem with Pr1.1
 
If you look at the next to last screenshot, at the rectangle to the right of Word/Expr., you will see a small hair line underneath. It is not visible when fonts are of any other size but Very Large. I know it is not that important.

FBergeron 2010-03-14 10:53

Re: tomotko menu problem with Pr1.1
 
I see. Actually, there are similar glitches when I run the application in the emulator. I thought they would not appear in the "real version" on a real device. Hmmm.... I'm not sure if I can do anything about it but I will check it out. It looks like an update/refresh bug when painting the screen. It's possible that it's a Qt bug... I will investigate a little bit further.

Rugne 2010-03-14 16:38

Re: tomotko menu problem with Pr1.1
 
Just tried to install it and this is what I got.
Unable to install 'tomotko'
Conflict with application packages: libqt4-maemo5-network (4.6.2~git20100203~0maemo1)

I really have no idea what that means, but that's what came up when I tried to install.

Rugne 2010-03-14 17:08

Re: tomotko menu problem with Pr1.1
 
o.k, I managed to install it, had to go into xterminal and type in

" sudo apt-get install libqt4-maemo5-maemo5 "

Then it installed just fine, going to test it now.

HOKIR 2010-03-14 17:25

Re: tomotko menu problem with Pr1.1
 
Yep, toMOTko is based on the new QT that is not installed by default on N900. Frederic, should it be identified as a dependency?

Rugne 2010-03-14 22:11

Re: tomotko menu problem with Pr1.1
 
Hmm.. seems to be working fine as yet, but I still can't seem to find how to import glossaries, do I still need to use the work around?

Rugne 2010-03-14 22:27

Re: tomotko menu problem with Pr1.1
 
Nope, found it, just needed a restart.

FBergeron 2010-03-15 09:30

Re: tomotko menu problem with Pr1.1
 
libqt4-maemo5-maemo5 is already listed in the dependencies in tomotko-0.11.2-9fremantle1. You should not have to install it manually. Anyone else can install the application and confirm this issue, please.

Also, the Import Data button is only available when a folder is selected. If a glossary (red book) is selected instead, only Export Data button should be available.

One last thing, anyone can tell me if they can switch input language while using toMOTko with CTRL+Space? It should work in all applications but someone has already reported before that it was not working properly with a previous version of toMOTko. I wonder if PR1.1 has fixed this issue.

FBergeron 2010-03-15 11:52

Re: tomotko menu problem with Pr1.1
 
Quote:

Originally Posted by Rugne (Post 567197)
Nope, found it, just needed a restart.

Do you mean that you had to restart the application to see the imported glossary? If so, that is probably a bug and it needs to be fixed.

Rugne 2010-03-15 14:09

Re: tomotko menu problem with Pr1.1
 
No, I meant I restarted the phone, before I rebooted the phone, I couldn't even see the glossary import button in the action menu. That may have been a unique problem to me, or I simply may have been in the wrong section (i.e, on a glossary, rather then a file))

lukash 2010-03-18 10:27

Re: tomotko menu problem with Pr1.1
 
Quote:

Originally Posted by FBergeron (Post 567529)
One last thing, anyone can tell me if they can switch input language while using toMOTko with CTRL+Space? It should work in all applications but someone has already reported before that it was not working properly with a previous version of toMOTko. I wonder if PR1.1 has fixed this issue.

Hi, I am currently unable to use MSCIM this way in Tomotko. Ctrl+Space switches the languages for the word-suggestor (as it used to work everywhere before I installed MSCIM). However, I expect the MSCIM to be used as in any other input box.

Any idea what I could use as work-around to input chinese characters aside from installing tomotko on my laptop (I'm using gentoo and ebuild is not available it seems)?


All times are GMT. The time now is 18:44.

vBulletin® Version 3.8.8