[maemo-developers] Questions about HildonPannableArea
From: Claudio Saavedra csaavedra at igalia.comDate: Mon Jun 8 23:45:43 EEST 2009
- Previous message: Questions about HildonPannableArea
- Next message: [GSoC 09] IM Client for Canola - report 1
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
El mié, 03-06-2009 a las 20:54 +0200, Till Harbaum / Lists escribió: > Hi, > > Am Mittwoch 03 Juni 2009 schrieb Alejandro Garcia Castro: > > I do not know about the current status of out gtkhtml code, but I > > think probably we will have to add a parameter to deactivate it in the > > gtkhtml widget, or maybe just ifdef it or remove it. > There's no such property in gtkhtml. And what do you mean by "ifdef" it? > I sure won't remove that feature from gtkhtml as this would then affect > _all_ applications. You are right, there is no such property. In maemo, GtkHtml was patched, a long time ago, to allow panning when dragging on the widget. This panning is currently interfering with the way the pannable area works and it can't be disabled nor configured. There are two plausible approaches to fix this in GtkHtml (which I'm currently weighting): 1. Remove the patch to allow panning in the GtkHtml widget. This has the advantage to be a quite straightforward solution. The con is that any application relying on this feature will loose panning until they migrate to use a pannable area. 2. Make this hardcoded panning feature a property, enabled by default. The advantage of this approach is that no application is broken and those willing to use a pannable area have the chance to disable the property. The disadvantage of this is that it will probably take some extra effort and time to implement it, that I could pretty well use in more relevant issues. Personally, I'm more inclined to go for (1). Mainly, because GtkHtml, as André pointed out, is a dead-end widget, and any extra efforts on it are probably not worth. Anyone willing to get a nice and consistent panning experience in Fremantle should use a pannable area. Nevertheless, I'd read some opinions before doing anything. Claudio
- Previous message: Questions about HildonPannableArea
- Next message: [GSoC 09] IM Client for Canola - report 1
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]