maemo.org - Talk

maemo.org - Talk (https://talk.maemo.org/index.php)
-   Applications (https://talk.maemo.org/forumdisplay.php?f=41)
-   -   TouchSearch for Fremantle (https://talk.maemo.org/showthread.php?t=31405)

qgil 2009-09-11 04:42

Re: TouchSearch for Fremantle
 
Quote:

Originally Posted by BrentDC (Post 324644)
Quim? Andre? Anybody? Is anyone out there? Hello...ello....lo.....o......

:)

Sorry, I had seen http://maemo.org/packages/package_in...hsearch/1.0-1/ before and commented there already.

I think you should wait for a bit more of certainty that you app works before pushing it to extras-testing. Although nowadays fair enough: I wouldn't have seen it if it wouldn't have landed there. ;)

timsamoff 2009-09-11 05:03

Re: TouchSearch for Fremantle
 
Quote:

Originally Posted by Khertan (Post 325230)
So now it s works on my scratchbox too after copying /usr/lib/hildon-home/touchsearch.py in /usr/lib/python2.5/site-packages/

Someone with an n900 can confirm this ?

Weird. After copying the script, nothing happened for me (i.e., the Widget was not available from the menu). But, after restarting, the Widget was present on the Desktop. But, after removing the Widget from the desktop, I could not add it again (from the menu). But, after restarting (again), I was able to see/add the Widget from the menu. But, if I remove the Widget, it's no longer available from the menu (unless I restart, at which point the Widget is added to the desktop automatically).

I hope that makes sense...

Also, attempting a search doesn't actually open the browser (i.e., instigate a search). :(

Tim

BrentDC 2009-09-11 15:26

Re: TouchSearch for Fremantle
 
Quote:

Originally Posted by timsamoff (Post 325241)
Weird. After copying the script, nothing happened for me (i.e., the Widget was not available from the menu). But, after restarting, the Widget was present on the Desktop. But, after removing the Widget from the desktop, I could not add it again (from the menu). But, after restarting (again), I was able to see/add the Widget from the menu. But, if I remove the Widget, it's no longer available from the menu (unless I restart, at which point the Widget is added to the desktop automatically).

I hope that makes sense...

I does make sense because I was seeing the exact same thing in Scratchbox -- I thought it was an oddity w/Scratchbox. It must be a bug in either:

-Hildon Desktop
-The Python bindings for it

Because the .desktop interface is quite easy and I don't think I could've possibly messed it up :eek:

Quote:

Also, attempting a search doesn't actually open the browser (i.e., instigate a search). :(

Tim
Could you see if this command in the terminal opens Google.com:

Code:

dbus-send --system --type=method_call --dest="com.nokia.osso_browser" --print-reply /com/nokia/osso_browser/request com.nokia.osso_browser.load_url string:"http://www.google.com"
Thanks!

(having a device is a blessing and a curse, eh? ;))

BrentDC 2009-09-11 15:37

Re: TouchSearch for Fremantle
 
Quote:

Originally Posted by qgil (Post 325234)
Sorry, I had seen http://maemo.org/packages/package_in...hsearch/1.0-1/ before and commented there already.

No problem, it was a "playful" bump. :)

Quote:

I think you should wait for a bit more of certainty that you app works before pushing it to extras-testing. Although nowadays fair enough: I wouldn't have seen it if it wouldn't have landed there. ;)
I extensively tested it Scratchbox and everything that could be tested checked out. If I hadn't uploaded it to -testing, it would probably be rotting in -devel right now...

Additionally, TouchSearch is a simple applet, and although it's (hopefully) useful, it is more of a "deployment of technologies" on Fremantle e.g. a test. Only difference between it an something like Attitude, is that I plan on making it a day-to-day useable application.

Furthermore, since it is so simple, I plan on frequently uploading new versions to -testing after I fix problems found by testers.

timsamoff 2009-09-11 18:53

Re: TouchSearch for Fremantle
 
Quote:

Originally Posted by BrentDC (Post 325430)
Code:

dbus-send --system --type=method_call --dest="com.nokia.osso_browser" --print-reply /com/nokia/osso_browser/request com.nokia.osso_browser.load_url string:"http://www.google.com"

This works. :)

Side-note: Also, I think that your Widget would look better if you used the default Widget background gradient (translucent black to medium gray). Plus, most Widgets "hide" their settings button (which has a default Maemo 5 icon) until users "edit" on-screen properties.

Tim

timsamoff 2009-09-11 20:41

Re: TouchSearch for Fremantle
 
Quoting myself...
Quote:

Originally Posted by timsamoff (Post 325241)
Also, attempting a search doesn't actually open the browser (i.e., instigate a search). :(

This is working now after another reboot.

Tim

BrentDC 2009-09-12 02:52

Re: TouchSearch for Fremantle
 
Quote:

Originally Posted by timsamoff (Post 325512)
This works. :)

Side-note: Also, I think that your Widget would look better if you used the default Widget background gradient (translucent black to medium gray). Plus, most Widgets "hide" their settings button (which has a default Maemo 5 icon) until users "edit" on-screen properties.

Tim

Unfortunately, I have absolutely no idea what the "default Widget background" is... I'm just using a regular gtk.Button so it should inherit any theming.

Would it be possible to snap a couple screenshots? I'm thinking one of my applet against a pre-installed one and one of each dialog (search and select engine). That would be fantastic.

Concerning the settings dialog: it isn't a settings dialog per se, but integral to the everyday use of the applet. I'm envisioning that once I add more sites to search, the user can easily flip through the list and select an engine easily (and change this frequently). There will also be a settings interface to change traditional options, like button size, icon type, etc.

BrentDC 2009-09-12 02:56

Re: TouchSearch for Fremantle
 
Quote:

Originally Posted by timsamoff (Post 325564)
Quoting myself...


This is working now after another reboot.

Tim

It is extremely confusing that you needed to reboot so many times for it to work...

Is it working consistently now?

timsamoff 2009-09-12 13:00

Re: TouchSearch for Fremantle
 
Quote:

Originally Posted by BrentDC (Post 325675)
Would it be possible to snap a couple screenshots?

Sure, I'll work on this.

Quote:

Originally Posted by BrentDC (Post 325675)
Concerning the settings dialog

Funny. I sort of realized this after I made that comment. Yeah, it's better where it is. :D

Tim

timsamoff 2009-09-12 13:02

Re: TouchSearch for Fremantle
 
Quote:

Originally Posted by BrentDC (Post 325676)
It is extremely confusing that you needed to reboot so many times for it to work...

Is it working consistently now?

I agree. Sorry I can't tell you why. And, yes... It seems to be working like a charm now!

Tim


All times are GMT. The time now is 10:17.

vBulletin® Version 3.8.8