Google Groups no longer supports new Usenet posts or subscriptions. Historical content remains viewable.
Dismiss

Fennec and Google Maps... also any chance for scrollbars?

6 views
Skip to first unread message

Kardain

unread,
Nov 7, 2008, 8:45:11 PM11/7/08
to
I've been running Fennec off and on in my carputer (7" TFT LCD).
Gotta say, I'm liking it so far... one bug, Going to Google Maps, I am
unable to drag the map around. Rather it drags the entire page... not
sure if this has been reported though

Since I'm mainly using touch only and no hard keys, any chance of ever
adding scrollbars as an option in the config (default to off, but can
turn on if necessary)?

Mark Finkle

unread,
Nov 7, 2008, 9:12:22 PM11/7/08
to Kardain, dev-platfo...@lists.mozilla.org
This is something we are aware of and know needs to be fixed somehow. The simplest idea we have talked about is adding a toggle for panning. Then the user can turn off panning and the website's own mouse handlers will be activated. We holpe to find a more "automatic" approach for the long run.

Mike Beltzner

unread,
Nov 7, 2008, 9:16:18 PM11/7/08
to mfi...@mozilla.com, kar...@gmail.com, dev-platfo...@lists.mozilla.org
Could we not do this by interpreting pan events that start at screen edges
to be ones meant for the browser, while ones that start in pannable surfaces
within web content meant for that content?

cheers,
mike

_______________________________________________
dev-platforms-mobile mailing list
dev-platfo...@lists.mozilla.org
https://lists.mozilla.org/listinfo/dev-platforms-mobile

chris hofmann

unread,
Nov 7, 2008, 10:16:06 PM11/7/08
to Mike Beltzner, mfi...@mozilla.com, kar...@gmail.com, dev-platfo...@lists.mozilla.org

that sounds like an interesting idea, but discoverability seems like it
might be a problem.

We gave up trying to keep in synch with google maps compatibilty back in
the minimo days and started packaging something we had a bit more
control over

we added bookmark/UI element to point at something like
http://people.mozilla.com/~chofmann/map.html which we could structure
for the best use on the target devices.

iphone still has trouble trying to do a good job with
http://maps.google.com over a year after its been out there, both
because of the way they are mixing chrome and content, ajax bugs in
webkit, and google tweeking the map...

If this problem is unique to ajaxy-maps we might think about some way of
detecting that kind of content and handling it as special case. can
anyone think about kinds of pages where you actually want to drag stuff
around on the page.

I guess google.com/ig is another case where you can drag widgets around
to reorder the page. iphone has trouble with this page too. but,
again its an ajaxy page.

maybe looking at common patterns in the content we could do something like

if page content has ajaxy and draggy element
lock in chrome and scroll bars
else
let dragging be use to scroll the page.

-chofmann

Wong, Carl

unread,
Nov 10, 2008, 7:10:19 PM11/10/08
to Mark Finkle, Kardain, dev-platfo...@lists.mozilla.org
The micro-b browser seems to handle this correctly. I wonder what they did there....


-----Original Message-----
From: dev-platforms-mobile-bounces+carl.wong=inte...@lists.mozilla.org [mailto:dev-platforms-mobile-bounces+carl.wong=inte...@lists.mozilla.org] On Behalf Of Mark Finkle
Sent: Friday, November 07, 2008 6:12 PM
To: Kardain
Cc: dev-platfo...@lists.mozilla.org
Subject: Re: Fennec and Google Maps... also any chance for scrollbars?

This is something we are aware of and know needs to be fixed somehow. The simplest idea we have talked about is adding a toggle for panning. Then the user can turn off panning and the website's own mouse handlers will be activated. We holpe to find a more "automatic" approach for the long run.

----- "Kardain" <kar...@gmail.com> wrote:
> I've been running Fennec off and on in my carputer (7" TFT LCD).
> Gotta say, I'm liking it so far... one bug, Going to Google Maps, I am
> unable to drag the map around. Rather it drags the entire page... not
> sure if this has been reported though

_______________________________________________

Fabrice Desré

unread,
Nov 11, 2008, 3:47:42 AM11/11/08
to
On Mon, 10 Nov 2008 16:10:19 -0800, Wong, Carl wrote:

> The micro-b browser seems to handle this correctly. I wonder what they
> did there....

micro-b uses scrollbars for scrolling, so all events in the browsing area
are processed like in a standard desktop browser.

Fabrice

Robert Kaiser

unread,
Nov 11, 2008, 8:12:16 AM11/11/08
to

Yes, that's one of the reasons why I couldn't make myself switch to
Fennec yet, actually... I want to match the desktop experience as
closely as possible on the small screen.

Robert Kaiser

Adam Dolinski

unread,
Nov 13, 2008, 10:50:24 AM11/13/08
to dev-platfo...@lists.mozilla.org
Hi,

I have successfully compiled yesterday's sources of XULRunner according to:
https://wiki.mozilla.org/Mobile/Build/Windows_Mobile_Build_Instructions

Unfortunately while debugging XULRunner stops in the ContractIDWriter
function in the nscomponentmanager.cpp file. Two local variables of this
function: contractID and factoryEntry are assigned zero values, so the line:

while (factoryEntry->mParent)

cannot be executed.
Does anyone have any idea what can be the root cause?

Regards,
Adam Doliński

Adam Dolinski

unread,
Nov 14, 2008, 6:18:33 AM11/14/08
to dev-platfo...@lists.mozilla.org
Hi,

It is so silly. I do not know how to pass command line arguments to an EXE
file under Windows Mobile. I tried to run a batch file with a program name
followed by arguments, but it seems that Windows Mobile do not understand
batch files. I tried both BAT and CMD file name extensions.

I even tried to create a shortcut to a file to run, but I cannot add
arguments to this shortcut.

Is not it strange?

Adam Doliński


John Wolfe

unread,
Nov 14, 2008, 10:28:20 AM11/14/08
to Adam Dolinski, dev-platfo...@lists.mozilla.org
Adam,

You can make a shortcut link to execute the command you want under Windows
Mobile / WinCE.

Here is how:

A Shortcut Link File is a text file with an extension .LNK with one line in
a very particular format:

NN#THE_COMMAND_LINE_GOES_HERE

Where:

NN: Number of characters in the whole command line

THE_COMMAND_LINE_GOES_HERE: The actual command you would execute (as if you
were running in a DOS box on WinXP)

Some things to watch out for:

(1) It is a LOT safer to use a full path to your executable
(2) If the full path to your executable contains any spaces, you HAVE to
wrap the full path to your executable with double-quotes
(3) Any space not wrapped inside a double-quote will signal the OS that an
argument has ended and another argument is beginning
(4) If your arguments have spaces in them, again wrap the whole single
argument in double-quotes

Here is an example:

64#"\Program Files\MyDir\MyExe.exe" "First Argument" SecondArgument

There is also an app that you can use called "Shortcut Creator", which you
can get from here:

http://www.freewareppc.com/utilities/shortcutcreator.shtml

John Wolfe

2008/11/14 Adam Dolinski <a.dol...@samsung.com>

Christian Sejersen

unread,
Nov 15, 2008, 6:23:50 AM11/15/08
to Adam Dolinski, dev-platfo...@lists.mozilla.org
There are several options/tools listed here: http://forums.microsoft.com/MSDN/ShowPost.aspx?PostID=1844852&SiteID=1

One highlight: "If you are wanting to run an application on a Windows
Mobile PDA which requires command line arguments, you can execute it
by holding down the action key (typically the middle button in the
DPAD/joystick) and tapping/holding the stylus over the clock on the
navbar. When you let go of the action button a popup menu will appear,
if you select the "Run" option you will be able to type in the path of
your executable and any additional command line arguments it requires."

Regards,

Christian Sejersen
Mozilla Corp.

On Nov 14, 2008, at 8:18 PM, Adam Dolinski wrote:

> Hi,
>
> It is so silly. I do not know how to pass command line arguments to
> an EXE
> file under Windows Mobile. I tried to run a batch file with a
> program name
> followed by arguments, but it seems that Windows Mobile do not
> understand
> batch files. I tried both BAT and CMD file name extensions.
>
> I even tried to create a shortcut to a file to run, but I cannot add
> arguments to this shortcut.
>
> Is not it strange?
>
> Adam Doliński
>
>

Adam Dolinski

unread,
Nov 21, 2008, 8:07:31 AM11/21/08
to dev-platfo...@lists.mozilla.org, dev-b...@lists.mozilla.org

Where can I find any development schedule of XULRunner for Windows Mobile,
even approximate?

I have found only a missing link at the bottom of
https://wiki.mozilla.org/Mobile/Roadmap

It says "The goal is to ship beta releases of Fennec on the Maemo platform
and Windows Mobile 6 in late 2008, and release in 2009. More detailed
milestones can be found here [link]". And there is no promised link.

Who can help?

Regards,

Adam Doliński

John Wolfe

unread,
Nov 22, 2008, 8:49:35 PM11/22/08
to Adam Dolinski, dev-b...@lists.mozilla.org, dev-platfo...@lists.mozilla.org
Hello Adam,

Our first milestone is compiling and getting an executable XULRunner and
Fennec application.

To estimate a work schedule before this first milestone -- that would be a
rather silly exercise.

As we get closer to being able to generate an estimate of a development
schedule, the WinMobile Roadmap will get more specific.

In the meantime, thank you for pointing out a missing link from the Mobile
wiki! I replaced the Schedule section of
https://wiki.mozilla.org/Mobile/Roadmap with more up-to-date information.

John Wolfe

2008/11/21 Adam Dolinski <a.dol...@samsung.com>

Adam Dolinski

unread,
Nov 25, 2008, 11:19:47 AM11/25/08
to dev-platfo...@lists.mozilla.org, dev-b...@lists.mozilla.org
Resource compiler call for sqlite.rc does not give sqlite.res as a result
and that's why build stops.

Any ideas?

Adam Doliński

Creating Resource file: sqlite.res

/d/Dev/WM_7/mozilla-central/build/wince/tools/bin/arm-wince-res -r
-DSQLITE_SEC

URE_DELETE=1 -DTHREADSAFE=1 -DSQLITE_CORE=1 -DSQLITE_ENABLE_FTS3=1
-DOSTYPE=\"W

INCE\" -DOSARCH=WINCE -I/d/Dev/WM_7/mozilla-central/db/sqlite3/src
-I/d/Dev/WM_7

/mozilla-central/db/sqlite3/src -I. -I../../../dist/include
-I../../../dist/i

nclude/sqlite3
-I/d/Dev/WM_7/mozilla-central/objdir-wm6/xulrunner/dist/include/n

spr -I/d/Dev/WM_7/mozilla-central/objdir-wm6/xulrunner/dist/sdk/include
-Fos

qlite.res /d/Dev/WM_7/mozilla-central/db/sqlite3/src/sqlite.rc

\bin\rc.exe -r -DSQLITE_SECURE_DELETE=1 -DTHREADSAFE=1 -DSQLITE_CORE=1
-DSQLITE_

ENABLE_FTS3=1 -DOSTYPE=\""WINCE"\" -DOSARCH=WINCE
-Id:/Dev/WM_7/mozilla-central/

db/sqlite3/src -Id:/Dev/WM_7/mozilla-central/db/sqlite3/src -I.
-I../../../dist/

include -I../../../dist/include/sqlite3
-Id:/Dev/WM_7/mozilla-central/objdir-wm6

/xulrunner/dist/include/nspr
-Id:/Dev/WM_7/mozilla-central/objdir-wm6/xulrunner/

dist/sdk/include -Fosqlite.res
d:/Dev/WM_7/mozilla-central/db/sqlite3/src/sqlite

.rc

/d/Dev/WM_7/mozilla-central/build/wince/tools/bin/arm-wince-link -NOLOGO
-DLL -O

UT:sqlite3.dll -SUBSYSTEM:WINDOWSCE sqlite3.obj sqlite.res
-DEF:d:/Dev/WM_

7/mozilla-central/db/sqlite3/src/sqlite.def

C:\Program Files\Microsoft Visual Studio 8\VC\ce\bin\x86_arm\link.exe
/LIBPATH:"

c:/program files/windows mobile 6
sdk/pocketpc/include/armv4i/../..\Lib\Armv4i"

/LIBPATH:"C:\Program Files\Microsoft Visual Studio 8\VC\ce\lib\armv4i"
/LIBPATH:

"d:/Dev/WM_7/mozilla-central/build/wince/shunt/build/vs8/" corelibc.lib
coredll.

lib ceshell.lib mmtimer.lib mozce_shunt.lib /NODEFAULTLIB:LIBC
/NODEFAULTLIB:OLD

NAMES /NODEFAULTLIB:MSVCRT -NOLOGO -DLL -OUT:sqlite3.dll
-SUBSYSTEM:WINDOWSCE sq

lite3.obj sqlite.res
-DEF:d:/Dev/WM_7/mozilla-central/db/sqlite3/src/sqlite.def

ARMV4I : fatal error LNK1181: cannot open input file 'sqlite.res'

tonikitoo (Antonio Gomes)

unread,
Nov 25, 2008, 1:43:01 PM11/25/08
to Adam Dolinski, dev-platfo...@lists.mozilla.org
Adam, is that somehow related to bug
https://bugzilla.mozilla.org/show_bug.cgi?id=464095 ?

2008/11/25 Adam Dolinski <a.dol...@samsung.com>:

> _______________________________________________
> dev-platforms-mobile mailing list
> dev-platfo...@lists.mozilla.org
> https://lists.mozilla.org/listinfo/dev-platforms-mobile
>

--
--Antonio Gomes

Tim Z

unread,
Nov 26, 2008, 2:05:31 PM11/26/08
to
On Nov 25, 1:43 pm, "tonikitoo (Antonio Gomes)" <toniki...@gmail.com>
wrote:

> Adam, is that somehow related to bughttps://bugzilla.mozilla.org/show_bug.cgi?id=464095?
>
> 2008/11/25 Adam Dolinski <a.dolin...@samsung.com>:

>
>
>
> > Resource compiler call for sqlite.rc does not give sqlite.res as a result
> > and that's why build stops.
>
> > Any ideas?
>
> > Adam Doliñski
> > dev-platforms-mob...@lists.mozilla.org

I ran the following commands and it got past this problem(created
sqlite.res).

rc.exe -r -DSQLITE_SECURE_DELETE=1 -DTHREADSAFE=1 -DSQLITE_CORE=1 -
DSQLITE_

ENABLE_FTS3=1 -DOSTYPE=\""WINCE"\" -DOSARCH=WINCE -Ic:/hg/mozilla-
central/db/sql
ite3/src -Ic:/hg/mozilla-central/db/sqlite3/src -I. -I../../../dist/
include -I..
/../../dist/include/sqlite3 -Ic:/hg/mozilla-central/objdir-wm6-dbg/
xulrunner/dis
t/include/nspr -Ic:/hg/mozilla-central/objdir-wm6-dbg/xulrunner/dist/
sdk/include
-Fosqlite.res c:/hg/mozilla-central/db/sqlite3/src/sqlite.rc

/c/hg/mozilla-central/build/wince/tools/bin/arm-wince-link -NOLOGO -
DLL -OUT:sql
ite3.dll -SUBSYSTEM:WINDOWSCE sqlite3.obj sqlite.res -DEBUG -
DEBUGTYPE:CV
-DEF:c:/hg/mozilla-central/db/sqlite3/src/sqlite.def

Brad Lassey

unread,
Nov 26, 2008, 2:13:29 PM11/26/08
to Tim Z, dev-platfo...@lists.mozilla.org
Is everyone who is seeing this problem using vs8? If so, it was fixed
this morning. The problem was vs9 defines WINSDKDIR which we were using
to locate rc.exe while vs8 defines SDKDIR.

-Brad


Tim Z wrote:
> On Nov 25, 1:43 pm, "tonikitoo (Antonio Gomes)"<toniki...@gmail.com>
> wrote:
>
>> Adam, is that somehow related to bughttps://bugzilla.mozilla.org/show_bug.cgi?id=464095?
>>
>> 2008/11/25 Adam Dolinski<a.dolin...@samsung.com>:
>>
>>
>>
>>
>>> Resource compiler call for sqlite.rc does not give sqlite.res as a result
>>> and that's why build stops.
>>>
>>> Any ideas?
>>>

>>> Adam Doliński

Brad Lassey

unread,
Nov 26, 2008, 3:37:55 PM11/26/08
to tim.z...@gmail.com, dev-platfo...@lists.mozilla.org
Tim,

hg pull won't change any of the source in your tree. What you probably
want is "hg pull -u", however now that you've already pulled, you want
to run "hg update" ("hg pull -u" is essentially "hg pull && hg update").

Also, the problem was fixed in the patch queue, so to pick it up you'll
have to do the following:

hg qpop -a
cd .hg/patches
hg pull -u
cd ../..
hg qpush -a

Finally, just a reminder, since we're using a shared patch queue to
build windows mobile you'll need to run hg qpop -a before and hg qpush
-a after you run hg pull -u every time.

Hope that helps,
Brad


Tim Zander wrote:
> Thanks Brad,
>
> I updated the source with `hg pull` and then ran `make -f client.mk
> build` and I still get this error:
>
> ARMV4I : fatal error LNK1181: cannot open input file 'c:\hg\mozilla-central\objd
> ir-wm6-dbg\xulrunner\nss\nssutil\nssutil.res'
> make[7]: *** [/c/hg/mozilla-central/objdir-wm6-dbg/xulrunner/nss/nssutil/nssutil
> 3.dll] Error 157
> make[7]: Leaving directory `/c/hg/mozilla-central/security/nss/lib/util'
> make[6]: *** [libs] Error 2
> make[6]: Leaving directory `/c/hg/mozilla-central/security/nss/lib'
> make[5]: *** [libs] Error 2
> make[5]: Leaving directory `/c/hg/mozilla-central/objdir-wm6-dbg/xulrunner/secur
> ity/manager'
> make[4]: *** [libs_tier_toolkit] Error 2
> make[4]: Leaving directory `/c/hg/mozilla-central/objdir-wm6-dbg/xulrunner'
> make[3]: *** [tier_toolkit] Error 2
> make[3]: Leaving directory `/c/hg/mozilla-central/objdir-wm6-dbg/xulrunner'
> make[2]: *** [default] Error 2
> make[2]: Leaving directory `/c/hg/mozilla-central/objdir-wm6-dbg/xulrunner'
> make[1]: *** [build] Error 2
> make[1]: Leaving directory `/c/hg/mozilla-central'
> make: *** [build] Error 2
>
> This appears to be the same issue, what files were changed to fix the issue?


>
> On Wed, Nov 26, 2008 at 2:13 PM, Brad Lassey<bla...@mozilla.com> wrote:
>
>> Is everyone who is seeing this problem using vs8? If so, it was fixed this
>> morning. The problem was vs9 defines WINSDKDIR which we were using to
>> locate rc.exe while vs8 defines SDKDIR.
>>
>> -Brad
>>
>>
>> Tim Z wrote:
>>

>>> On Nov 25, 1:43 pm, "tonikitoo (Antonio Gomes)"<toniki...@gmail.com>
>>> wrote:
>>>
>>>
>>>> Adam, is that somehow related to
>>>> bughttps://bugzilla.mozilla.org/show_bug.cgi?id=464095?
>>>>
>>>> 2008/11/25 Adam Dolinski<a.dolin...@samsung.com>:
>>>>
>>>>
>>>>
>>>>
>>>>
>>>>> Resource compiler call for sqlite.rc does not give sqlite.res as a
>>>>> result
>>>>> and that's why build stops.
>>>>> Any ideas?

>>>>> Adam Doliński

Mark Finkle

unread,
Nov 26, 2008, 8:25:10 PM11/26/08
to Brad Lassey, dev-platfo...@lists.mozilla.org, tim zander
I saw this error this morning too, using VS8. Brad's new patch fixed the issue for me. I was able to successfully build Fennec for Windows Mobile after running his update commands below.
0 new messages