View Single Post
Old 04-10-2013, 09:17 PM   #2
twobob
( ͡° ͜ʖ ͡°){ʇlnɐɟ ƃǝs}Týr
twobob ought to be getting tired of karma fortunes by now.twobob ought to be getting tired of karma fortunes by now.twobob ought to be getting tired of karma fortunes by now.twobob ought to be getting tired of karma fortunes by now.twobob ought to be getting tired of karma fortunes by now.twobob ought to be getting tired of karma fortunes by now.twobob ought to be getting tired of karma fortunes by now.twobob ought to be getting tired of karma fortunes by now.twobob ought to be getting tired of karma fortunes by now.twobob ought to be getting tired of karma fortunes by now.twobob ought to be getting tired of karma fortunes by now.
 
twobob's Avatar
 
Posts: 6,586
Karma: 6299993
Join Date: Jun 2012
Location: uti gratia usura (Yao ying da ying; Mo ying da yieng)
Device: PW-WIFI|K5-3G+WIFI| K4|K3-3G|DXG|K2| Rooted Nook Touch
FAQ: http://wiki.xfce.org/midori/faq

TODO: Fix buttons on touch

do theming.

Other stuff


EDIT: OH YEAH! probably enable rotation... never thought of that.



Spoiler:
TODO LIST:

Stop the keyboard popping up at stupid times. Done

pulling up the native keyboard. (add a button like baf did) Done


Code:
for i in $(xwininfo -tree -root | grep "L:KB_N:keyboard_" | awk '{print $1}' ); do xdotool windowminimize $i ; done

for i in $(xwininfo -tree -root | grep "L:KB_N:keyboard_" | awk '{print $1}' ); do xdotool windowactivate $i ; done
Code:
lipc-set-prop -s com.lab126.keyboard open com.twobob.midori:abc:1
and then closed with
lipc-set-prop -s com.lab126.keyboard close com.twobob.midori
works fine actually
Ill hookup scripting and "exec"ed from inside midori - since we are custom patching it anyways.
Done

BUT... The event does not seem very "robust" I get the same flaky keyboard response the baf did. Not happy with that at all...

Christian Dywan brought up an excellent point about "How do we switch app", The fact is that right now "We don't" so I'm going to construct (I hope) and overlay layer that a) does not grab focus b) provides app switching and c) pulls up the keyboard. That is a far neater solution than the internalised "Popen" solution that I have finished now.

Maybe I will stick a trace in the script too... See if it is failing to Trigger OR Failing to BE Triggered


(midori4:30188): Gtk-WARNING **: GModule (/mnt/us/extensions/system/lib/armv7l/gtk-2.0/2.10.0/engines/libpixmap.so) initialization check failed: Gtk+ version too old (micro mismatch) <-- I can fix this right now but would like to pull a newer version of gtk
Done (Thanks MonkeyOfDoom)

Crash Won't open "select preferences". (Symbol issue) <-- Still ongoing
No longer crashes (Thanks MonkeyOfDoom)
Preferences are just not working right now.
So I bind mounted the home stuff into ~/.config/midori edit the config in there


Crash sometimes on:
/mnt/us/extensions/midori/bin/midori: symbol lookup error: /mnt/us/extensions/system/lib/armv7l/libwebkit-1.0.so.2: undefined symbol: gdk_visual_get_depth
(Thanks MonkeyOfDoom)

menu too long for sideway viewing (I already hacked a lot of it out) DONE

fix the about:dial# add shortcut (probably a title) <- Priority, it really is annoying

Find the EXIT button - or make one. <-- Now can do this Done (now top left Icon)

Make the plugins that I built be detected, They are not right now.

Make the theme stuff work - It's not finding the resources, Why? strace... Done and.. https://bugs.launchpad.net/midori/+bug/1001591



I already went through a patched a bunch of the code to support title attributes so occasionally at the moment it will swing sideways. I can easily fix that.
Done, Now it simply defaults to sideways all the time. No other options.

Link the height of midori to the presence of the OSK (I can test for that IIRC) to make text entry sanely possible like in skipstone meh no

Limit the dropdown results to just 3 if we can do that... <-- Priority, It makes typing a real pain... Worked on this For HOURS yesterday with some success, will revisit.
*Done. I just ditched them in the end. Sorry.

DONE STUFF: Removed printing (I think)

Shortened Menu to fit on screen

Patched lots of sub window titles.

Other stuff I forgot already...

Made Buildroot config to enable all buildroot users to have latest midori (must push that upstream)

Made loader script to kick midori direct to root window.

Last edited by twobob; 10-18-2013 at 01:41 AM.
twobob is offline   Reply With Quote