The Following User Says Thank You to hschmitt For This Useful Post: | ||
|
2010-08-06
, 11:55
|
|
Posts: 722 |
Thanked: 1,223 times |
Joined on Apr 2010
@ USA
|
#82
|
I think it is, but would be even better when fixed.
Aren't there other Qt projects, that fixed this problem?
I am trying to ask all projects in Extras-testing that are promotable.
Your app is only a few days promotable, but there are apps that wait 4 weeks for the maintainer to do a action.
If you think the app is not in the shape to go to Extras repository then you should vote with thump down, which will remove the package from Extras-testing.
|
2010-08-06
, 12:25
|
Posts: 159 |
Thanked: 122 times |
Joined on Nov 2009
|
#83
|
I don't know of any other qt/maemo5/webkit projects
I think the application is useful as it is but it is quite annoying... I will think about it some more... suggestions with this regard from the current users are welcome.
|
2010-08-06
, 14:34
|
|
Posts: 722 |
Thanked: 1,223 times |
Joined on Apr 2010
@ USA
|
#84
|
Maybe a troll from Qt team has a hint? Their bugtracker is open. You should ask them.
|
2010-08-07
, 14:47
|
Posts: 159 |
Thanked: 122 times |
Joined on Nov 2009
|
#85
|
Martin just pointed out to me that this is a known bug: http://bugreports.qt.nokia.com/browse/QTBUG-12171
I will see if I can find a work around for this bug or to make the qt4.7 version work and then will promote the package. If nothing else I want to make sure that this project can have a new version soon that works before promoting the existing one to extras.
#ifdef Q_WS_MAEMO_5 // Maemo 5 MicroB Browser disables auto-uppercase and predictive text, thus, so do we. webPageClient->setInputMethodHint(Qt::ImhNoAutoUppercase, true); webPageClient->setInputMethodHint(Qt::ImhNoPredictiveText, true); #endif // Q_WS_MAEMO_5
The Following User Says Thank You to hschmitt For This Useful Post: | ||
|
2010-08-07
, 16:45
|
|
Posts: 722 |
Thanked: 1,223 times |
Joined on Apr 2010
@ USA
|
#86
|
And there is the change, that should do it but does not:
Can you get hold of the object and try to set it again?Code:#ifdef Q_WS_MAEMO_5 // Maemo 5 MicroB Browser disables auto-uppercase and predictive text, thus, so do we. webPageClient->setInputMethodHint(Qt::ImhNoAutoUppercase, true); webPageClient->setInputMethodHint(Qt::ImhNoPredictiveText, true); #endif // Q_WS_MAEMO_5
QWebPageClient* webPageClient = m_page->d->client;
|
2010-08-07
, 17:59
|
|
Posts: 2,427 |
Thanked: 2,986 times |
Joined on Dec 2007
|
#87
|
On a quick inspection of the code it seems that I can't... The "d" on the code bellow is private and I could not find any method that exposes it even to a class that inherits it.
(*) m_page is a QWebPage objectCode:QWebPageClient* webPageClient = m_page->d->client;
The only I can think of would be to recompile the qtwebkit module but that would create another set of problems... Do you know of any other way or have any other ideas?
Felipe
typedef struct { int z; } QWebPageClient; typedef struct { int *zi; QWebPageClient *client; } d_type; typedef struct { int *zi; QWebPageClient *client; } fake_d_type; typedef struct { long *al; d_type *d; } m_page_type; typedef struct { int *ai; fake_d_type *d; } fake_m_page_type; main () { m_page_type *m_page; QWebPageClient *webPageClient; webPageClient = ((fake_m_page_type *)m_page)->d->client; }
|
2010-08-07
, 18:20
|
|
Posts: 2,427 |
Thanked: 2,986 times |
Joined on Dec 2007
|
#88
|
class QWebPageClient { int z; }; class d_class { private: int *zi; QWebPageClient *client; }; class fake_d_class { public: int *zi; QWebPageClient *client; }; class m_page_class { private: long *al; d_class *d; }; class fake_m_page_class { public: long *al; fake_d_class *d; }; main () { m_page_class *m_page; QWebPageClient *webPageClient; webPageClient = ((fake_m_page_class *)m_page)->d->client; }
The Following User Says Thank You to daperl For This Useful Post: | ||
|
2010-08-07
, 19:51
|
|
Posts: 722 |
Thanked: 1,223 times |
Joined on Apr 2010
@ USA
|
#89
|
|
2010-08-07
, 20:44
|
|
Posts: 2,427 |
Thanked: 2,986 times |
Joined on Dec 2007
|
#90
|
Aren't there other Qt projects, that fixed this problem?
I am trying to ask all projects in Extras-testing that are promotable.
Your app is only a few days promotable, but there are apps that wait 4 weeks for the maintainer to do a action.
If you think the app is not in the shape to go to Extras repository then you should vote with thump down, which will remove the package from Extras-testing.