10-19-2013, 01:01 PM | #121 |
( ͡° ͜ʖ ͡°){ʇlnɐɟ ƃǝs}Tır
Posts: 6,586
Karma: 6299991
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
|
hmm.. not a raging success. I see one label :P
back to gtk2 - will investigate gtk3 "later" |
10-19-2013, 01:05 PM | #122 | |
Going Viral
Posts: 17,212
Karma: 18210809
Join Date: Feb 2012
Location: Central Texas
Device: No K1, PW2, KV, KOA
|
Quote:
All of these have been only small skirmishes in the over-all war. It seems you haven't yet met your: |
|
Advert | |
|
10-19-2013, 02:14 PM | #123 |
Developer's Corner Mascot
Posts: 486
Karma: 1277790
Join Date: Sep 2013
Device: Kindle Paperwhite 5.3.4, Kindle Keyboard 3.4
|
|
10-19-2013, 02:45 PM | #124 |
( ͡° ͜ʖ ͡°){ʇlnɐɟ ƃǝs}Tır
Posts: 6,586
Karma: 6299991
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
|
yah. I dug up the cause of the speed-dial death (thanks again <pfor>) basically in the /mnt/us/extensions/midori/usr/share/midori/res/speeddial-head.html it calls a javascript dialog box
which are by their very nature NON-TITLE aware... sigh. Think the speeddial will have to go for now, dug around for the last hour and found a few solutions. probably reworking to a modal-dialog would be a cheap solution. for another day. Hacking the defaults now to remove the speed-dial. Last edited by twobob; 10-19-2013 at 05:13 PM. |
10-19-2013, 02:49 PM | #125 |
Developer's Corner Mascot
Posts: 486
Karma: 1277790
Join Date: Sep 2013
Device: Kindle Paperwhite 5.3.4, Kindle Keyboard 3.4
|
Great work for today Twobob Thank you!
|
Advert | |
|
10-19-2013, 05:14 PM | #126 |
( ͡° ͜ʖ ͡°){ʇlnɐɟ ƃǝs}Tır
Posts: 6,586
Karma: 6299991
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
|
about:dial has been elided from /most/ places that I could find it now.
Will look to bundle after a clean rebuild. Expect 0.4 RSN |
10-19-2013, 07:41 PM | #127 |
( ͡° ͜ʖ ͡°){ʇlnɐɟ ƃǝs}Tır
Posts: 6,586
Karma: 6299991
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
|
Can I find where it invokes the file chooser with the name "Upload File"?
I can not. it's not in the source code http://svn.webkit.org/repository/web...serrequest.cpp I have added a title adjustment after every file_chooser I could find. still didnt fix it. 0x140015d "Upload File": ("midori_kindle" "Midori") 1740x1305+-491+-140 +-491+-140 MapState=IsViewable scratches head |
10-19-2013, 08:39 PM | #128 |
Evangelist
Posts: 404
Karma: 2200000
Join Date: May 2012
Device: kt
|
|
10-19-2013, 08:43 PM | #129 | |
( ͡° ͜ʖ ͡°){ʇlnɐɟ ƃǝs}Tır
Posts: 6,586
Karma: 6299991
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
|
Quote:
I thank you for that. Will check that out... One thing I learned. Debian DO post their build logs... https://buildd.debian.org/status/fet...amp=1382044207 who knew? |
|
10-19-2013, 08:58 PM | #130 | |
Evangelist
Posts: 404
Karma: 2200000
Join Date: May 2012
Device: kt
|
Quote:
|
|
10-19-2013, 09:07 PM | #131 | |
( ͡° ͜ʖ ͡°){ʇlnɐɟ ƃǝs}Tır
Posts: 6,586
Karma: 6299991
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
|
Thanks baf. I have a very lot to learn.
Going to try rebuilding that from source I think then. Get us a few more HTML5 nice to haves (and try for the fast-mobile-scrolling thingy) may be a complete disaster :P Quote:
Last edited by twobob; 10-25-2013 at 12:45 PM. |
|
10-19-2013, 10:10 PM | #132 | |
( ͡° ͜ʖ ͡°){ʇlnɐɟ ƃǝs}Tır
Posts: 6,586
Karma: 6299991
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
|
Quote:
Code:
gboolean handle_script_alert(WebKitWebView *web_view, WebKitWebFrame *frame, gchar *message, SkipStone *skipstone) { g_signal_connect(G_OBJECT(skipstone->embed), "script-alert", G_CALLBACK(handle_script_alert), skipstone); g_signal_connect(G_OBJECT(skipstone->embed), "script-confirm", G_CALLBACK(handle_script_confirm), skipstone); g_signal_connect(G_OBJECT(skipstone->embed), "script-prompt", G_CALLBACK(handle_script_prompt), skipstone); GtkWidget *dialog; D_ENTER; dialog = gtk_message_dialog_new(GTK_WINDOW(skipstone->window), GTK_DIALOG_DESTROY_WITH_PARENT, GTK_MESSAGE_INFO, GTK_BUTTONS_OK, message); gtk_window_set_title(GTK_WINDOW(dialog), KTITLE); gtk_window_set_position(GTK_WINDOW(dialog), GTK_WIN_POS_CENTER); gtk_dialog_run(GTK_DIALOG(dialog)); gtk_widget_destroy(dialog); D_RETURN_(TRUE); } +gboolean handle_script_confirm(WebKitWebView *web_view, WebKitWebFrame *frame, gchar *message, gboolean **confirmed, SkipStone *skipstone) { GtkWidget *dialog; D_ENTER; *confirmed = FALSE; dialog = gtk_message_dialog_new(GTK_WINDOW(skipstone->window), GTK_DIALOG_DESTROY_WITH_PARENT, GTK_MESSAGE_QUESTION, GTK_BUTTONS_OK_CANCEL, message); gtk_window_set_title(GTK_WINDOW(dialog), KTITLE); gtk_window_set_position(GTK_WINDOW(dialog), GTK_WIN_POS_CENTER); gint result = gtk_dialog_run(GTK_DIALOG(dialog)); if(result == GTK_RESPONSE_OK) *confirmed = TRUE; gtk_widget_destroy(dialog); D_RETURN_(TRUE); } gboolean handle_script_prompt(WebKitWebView *web_view, WebKitWebFrame *frame, gchar *message, gchar *default_text, gchar **text, SkipStone *skipstone) { GtkWidget *dialog; GtkWidget *entry, *message_area; D_ENTER; dialog = gtk_message_dialog_new(GTK_WINDOW(skipstone->window), GTK_DIALOG_DESTROY_WITH_PARENT, GTK_MESSAGE_QUESTION, GTK_BUTTONS_OK, message); gtk_window_set_title(GTK_WINDOW(dialog), KTITLE); gtk_window_set_position(GTK_WINDOW(dialog), GTK_WIN_POS_CENTER); message_area = gtk_dialog_get_content_area(GTK_DIALOG(dialog)); entry = gtk_entry_new(); gtk_entry_set_text(GTK_ENTRY(entry), default_text); gtk_widget_show(entry); gtk_container_add (GTK_CONTAINER (message_area), entry); gtk_dialog_run(GTK_DIALOG(dialog)); *text = g_strdup(gtk_entry_get_text(GTK_ENTRY(entry))); gtk_widget_destroy(dialog); D_RETURN_(TRUE); } Last edited by twobob; 10-19-2013 at 10:14 PM. |
|
10-19-2013, 10:27 PM | #133 |
( ͡° ͜ʖ ͡°){ʇlnɐɟ ƃǝs}Tır
Posts: 6,586
Karma: 6299991
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
|
having difficulty with the libwebkitgtk build sadly.
perhaps we should https://people.gnome.org/~federico/d...extensioniface it's that, or figure out EXACTLY in midori where it is invoking the "unreferenced" call to the filechooser. Happy to take advice on how best to achieve that... Last edited by twobob; 10-20-2013 at 12:13 AM. Reason: fixed link to be more obvious. thanks brian |
10-19-2013, 11:06 PM | #134 |
Evangelist
Posts: 456
Karma: 1287375
Join Date: Jan 2013
Location: West Gardiner, Maine
Device: Touch (5.3.7)
|
why not lock down to /mnt/us ? thats all we need is that possible? or set HOME first to there then set lock to home?
|
10-20-2013, 04:41 AM | #135 | |
Evangelist
Posts: 404
Karma: 2200000
Join Date: May 2012
Device: kt
|
Quote:
What you can do is to handle "run-file-chooser" signal in a custom function. See here. BTW, I should also implement it in SkipStone Regarding webkit build I only built Amazon version. Didn't try a modern one. Last edited by baf; 10-20-2013 at 04:55 AM. Reason: typo |
|
Tags |
browser, extensions, kindle, kual, launcher add-ons, midori |
|
Similar Threads | ||||
Thread | Thread Starter | Forum | Replies | Last Post |
release candidate 0.2-rc6 | lunohod | OpenInkpot | 0 | 12-04-2009 06:24 PM |
release candidate 0.2-rc5 | dottedmag | OpenInkpot | 50 | 12-04-2009 05:44 AM |
release candidate 0.2-rc4 | dottedmag | OpenInkpot | 10 | 11-12-2009 01:35 PM |
release candidate 0.2-rc3 | dottedmag | OpenInkpot | 10 | 11-05-2009 03:18 AM |
release candidate 0.2-rc1 | dottedmag | OpenInkpot | 36 | 10-18-2009 01:07 AM |