Notices


Reply
Thread Tools
fpp's Avatar
Posts: 2,853 | Thanked: 968 times | Joined on Nov 2005
#151
It's probably not KhtEditor as I have it too and scrolling in item view works in GRead. I don't have PyGtkEditor but IMHO it is obsolete and has been replaced by KhtEditor.
__________________
maemo blog
 
Posts: 8 | Thanked: 4 times | Joined on Feb 2010
#152
It has something to do with the qwebviewselectionsuppressor, because it works again when I disable the selectionsuppressor. Unfortunately then text selection gets active again and selects all text I scroll over...
Will look into it some more this evening.
 
Posts: 8 | Thanked: 4 times | Joined on Feb 2010
#153
Hm, I did look into it. The event handling etc seems to be fine. Just to make sure: Which pyqt versions are you using? I am currently running on 4.7.5.
 
fpp's Avatar
Posts: 2,853 | Thanked: 968 times | Joined on Nov 2005
#154
Originally Posted by Twidi View Post
fpp : i just commit some work about views and we have now a maemo4 view... but with nothing, except that the two bugs (hint and animation) are not here anymore (i hope so)
Now for the views we have :
  • basic
    • mobile
      • maemo4
      • maemo5
Okay, usual little weekend report :-)

Good news:

1) confirmed: with the new view, GRead can indeed be launched without any modifications in Maemo4, thanks for that !

2) the font size issue in the first two views (feeds/items) can be hacked easily (if not subtly :-). I just added one line to feedlist.py, class FeedListView, __init__ method, after the call to super() :
self.win.setStyleSheet("font-size: 20pt")
Does the job nicely -- at last I can read the titles :-)

The bad news is that I still don't really understand how all that stuff works, and how I could add it only to the maemo4 view. Right now of course it applies to all views: on the N900 the font is just a bit larger (actually better for my old eyes :-), but on the PC it's just huge !

PS: also on Windows, GRead used to open its three windows on top of each other, slightly tiled. In this new version windows pop up all over the place... I only use it for testing, but it's strange :-)
__________________
maemo blog
 
Posts: 115 | Thanked: 83 times | Joined on Aug 2010 @ Paris, France
#155
naj : i also have qt 4.7.5, with python 2.5, and i don't have this problem

fpp : for maemo 4 it's not hard at all. Just define in views/maemo4/__init__.py a __init__ method for the View class (see in views/maemo5/__init__.py for signature) with a call to super and then add your code (it will then be applied to the three windows)

For the desktop version, i don't have windows but on linux, the windows are positioned this way : feed list on the top left corner, item list just below, and item content use the space left on the screen

Last edited by Twidi; 2010-10-13 at 20:26.
 
Posts: 115 | Thanked: 83 times | Joined on Aug 2010 @ Paris, France
#156
I need some help to make GRead available to extra-devel : http://talk.maemo.org/showthread.php?t=63775
 
Posts: 7 | Thanked: 6 times | Joined on Feb 2010
#157
Hi,
i like to test you application and cloned the latest git sources.
After that i installed the requiered libs from the README.

But if i want to start the application i get an error:
Code:
QMainWindow::addToolBar: invalid 'area' argument
QMainWindow::addToolBar: invalid 'area' argument
Traceback (most recent call last):
  File "src/gread.py", line 16, in <module>
    controller.run()
  File "/home/user/GRead/src/views/basic/controller.py", line 87, in run
  File "/home/user/GRead/src/views/basic/feedlist.py", line 504, in show
  File "/home/user/GRead/src/views/basic/controller.py", line 175, in trigger_settings
AttributeError: 'Controller' object has no attribute 'settings_dialog
What i am doing wrong?

(qt is version 4.6.2, python is version 2.5.4)
 
fpp's Avatar
Posts: 2,853 | Thanked: 968 times | Joined on Nov 2005
#158
Do you you also have PyQt 4.7.5 installed ?
 
Posts: 115 | Thanked: 83 times | Joined on Aug 2010 @ Paris, France
#159
Thanks i (you !) found a bug which occurs if nobody logged in, so for evey first install of the application !

I'll correct it soon (now ? )

Nobody for my extras-devel problem ?
 
Posts: 115 | Thanked: 83 times | Joined on Aug 2010 @ Paris, France
#160
The bug is now resolved, thanks Perry3D
 
Reply

Thread Tools

 
Forum Jump


All times are GMT. The time now is 14:19.