maemo.org - Talk

maemo.org - Talk (https://talk.maemo.org/index.php)
-   Applications (https://talk.maemo.org/forumdisplay.php?f=41)
-   -   [Announce] Mieru: a flexible manga and comic book reader (https://talk.maemo.org/showthread.php?t=73907)

Kozzi 2012-08-23 12:59

Re: [Announce] Mieru: a flexible manga and comic book reader
 
Quote:

Originally Posted by MartinK (Post 1254874)
Oh, now I know what you mean. I guess it will not be difficult to compare the newly open file, if it already is in history & restore the path. The only question is if this is the expected default behavior. :)


BTW, I'll be away for the weekend. But don't hesitate to post question & feedback, I'll reply as soon as I get back. :)


well, it's what I expect when I open a file as the history page is getting quite long to browse and search. :)

lonk 2012-08-24 17:14

Re: [Announce] Mieru: a flexible manga and comic book reader
 
I've been testing latest mieru and new version works very fast, the only major problems I've had are when switching back to hildon version


e.g

1. when I set page to custom in QML (I don't know what it does) and then use hildon version, I get this

Code:

/opt/mieru $ python mieru.py -p maemo5 -u hildon
All modules combined 450.00 ms
options: profile path: /home/user/.mieru
<gui.clutter_gui.ClutterGTKGUI instance at 0x425cbaa8>
Traceback (most recent call last):
  File "mieru.py", line 423, in <module>
    mieru = Mieru()
  File "mieru.py", line 113, in __init__
    self._loadGUIModule(args.u)
  File "mieru.py", line 162, in _loadGUIModule
    self.platform.guiModuleLoaded()
  File "/opt/mieru/platforms/maemo5.py", line 26, in guiModuleLoaded
    self._addAppMenu()
  File "/opt/mieru/platforms/maemo5.py", line 86, in _addAppMenu
    fitPickerButton = self._getFittingPickerButton("Page fitting", arrangement=hildon.BUTTON_ARRANGEMENT_VERTICAL)
  File "/opt/mieru/platforms/maemo5.py", line 172, in _getFittingPickerButton
    selector = self._getFittingSelector()
  File "/opt/mieru/platforms/maemo5.py", line 153, in _getFittingSelector
    touchSelector.set_active(0,lastUsedValueId)
TypeError: an integer is required

but I fit to width/height or original size, hildon version works again.


2. Paging in hildon version just doesn't work anymore, when I press p I get this:

Code:

/opt/mieru $ python mieru.py -p maemo5 -u hildon
All modules combined 450.00 ms
options: profile path: /home/user/.mieru
<gui.clutter_gui.ClutterGTKGUI instance at 0x425cba58>
GUI module import 650.00 ms
restoring last open manga
opening manga from state
manga: loading from path: /home/user/MyDocs/.documents/beforewatchmen/Before Watchmen-Dr.Manhattan 01 (2012)(Uled-NoToRiOuSNoTtY)(We-Comical.blogspot.com).cbz
testing path: /home/user/MyDocs/.documents/beforewatchmen/Before Watchmen-Dr.Manhattan 01 (2012)(Uled-NoToRiOuSNoTtY)(We-Comical.blogspot.com).cbz
manga: path is a file
file type: Zip archive data, at least v2.0 to extract
file mime: application/x-zip
file is probably a zip file
32 filenames sorted in 10.00 ms, human sort: True
32 images found
container created in 40.00 ms
###################
switching to page id: 0 rel id: 0
###################
to width
# page from storage
to width
notification: <b>Before Watchmen-Dr.Manhattan 01 (2012)(Uled-NoToRiOuSNoTtY)(We-Comical.blogspot.com)</b> restored to page <b>1</b>
Hildon notification: <b>Before Watchmen-Dr.Manhattan 01 (2012)(Uled-NoToRiOuSNoTtY)(We-Comical.blogspot.com)</b> restored to page <b>1</b>
last open manga restored
Init 1970.00 ms
Complete startup 2430.00 ms
declutter: cache status []
declutter: cache status []
Hildon notification: <b>Note:</b> the page in background does not refresh automatically
Traceback (most recent call last):
  File "/opt/mieru/gui/clutter_gui.py", line 89, in _onKeyPressEvent
    self._keyPressed(keyName)
  File "/opt/mieru/gui/gui.py", line 96, in _keyPressed
    self.mieru.keyPressed(keyName)
  File "mieru.py", line 211, in keyPressed
    self.platform.showPagingDialog()
  File "/opt/mieru/platforms/base_platform.py", line 58, in showPagingDialog
    paging_dialog.PagingDialog(manga)
NameError: global name 'paging_dialog' is not defined
saving active manga state state
adding to history: /home/user/MyDocs/.documents/beforewatchmen/Before Watchmen-Dr.Manhattan 01 (2012)(Uled-NoToRiOuSNoTtY)(We-Comical.blogspot.com).cbz, on page 0
update history
Mieru quiting

this could mean that non CSSU users have the hildon version broken too, but I only have a CSSU n900 to test with

as for QML specific problem, just minor: I can't access hidden folders (so can't go to .documents) and buttons don't works (but I guess it's designed to be touch only)

other than that, really speedy, the design is very classy and reading comics on this app is very pleasant :)

Dirge4november 2012-08-25 01:14

Re: [Announce] Mieru: a flexible manga and comic book reader
 
very very nice app, so much worth donating :D

darodi 2012-08-28 23:04

Re: [Announce] Mieru: a flexible manga and comic book reader
 
hi
I've just updated mieru and have a few problems now.
I'm using CSSU Stable

In hildon mode:
-paging doesn't work
-while reading, it becomes unresponsive after a few pages. I have to kill the process.

In qml mode:
-doubletap doesn't work ( and I use it a lot :( showing the toolbar, clicking it, clicking the fit size,choosing it and closing is damn too long )
-keys don't work: uio to change page fitting
-volume keys don't change pages
-It crashes. segmentation fault.

MartinK 2012-08-31 12:29

Re: [Announce] Mieru: a flexible manga and comic book reader
 
Quote:

Originally Posted by Kozzi (Post 1254890)
well, it's what I expect when I open a file as the history page is getting quite long to browse and search. :)

OK - Mieru now checks & restores history for known manga paths. This behavior can be disabled in Options -> History

Quote:

Originally Posted by lonk (Post 1255339)
I've been testing latest mieru and new version works very fast, the only major problems I've had are when switching back to hildon version


e.g

1. when I set page to custom in QML (I don't know what it does) and then use hildon version, I get this

Fixed. :)

Quote:

Originally Posted by lonk (Post 1255339)
2. Paging in hildon version just doesn't work anymore, when I press p I get this:

Also fixed. :)

Quote:

Originally Posted by lonk (Post 1255339)
as for QML specific problem, just minor: I can't access hidden folders (so can't go to .documents) and buttons don't works (but I guess it's designed to be touch only)

This is a limitation of the QML FolderListModel used in the file selector. Looks like the list of filters for the underlying QDirModel is missing the QDir::Hidden filter to show hidden files.

Recompiling the Qt just for this (and breaking the API in the process) is out of question. One possible solution is to reimplement the FolderListModel implementation in Python, that returns hidden files (and exposes also all the other filters). There would be an added benefit in dropping the dependency for Qt.Labs, that provide the FolderListModel.


Regarding zoom/volume button paging, it seems that the old GTK based method can't be used and I've only found a C++ example so far.

Basically, you first need to "grab" somehow the keys and then you just listen for the F7 and F8 keycodes. Once the "grabbing" is figured out, the listening part is trivial.


Quote:

Originally Posted by Dirge4november (Post 1255449)
very very nice app, so much worth donating :D

Go ahead, donations are much appreciated ! :) See the first post for for donation options: PayPal, Flatter & Bitcoin donations are supported.

Of course, other forms (patches, testing, translations, feedback, etc.) are also welcome ! :)


Quote:

Originally Posted by darodi (Post 1256999)
hi
I've just updated mieru and have a few problems now.
I'm using CSSU Stable

In hildon mode:
-paging doesn't work

That should be fixed in 2.4.6.

Quote:

Originally Posted by darodi (Post 1256999)
-while reading, it becomes unresponsive after a few pages. I have to kill the process.

I'll try to reproduce this.

Quote:

Originally Posted by darodi (Post 1256999)
In qml mode:
-doubletap doesn't work ( and I use it a lot :( showing the toolbar, clicking it, clicking the fit size,choosing it and closing is damn too long )

I've added click & doubleclick support - it works by clicking the screen middle when screen edges paging is enabled as it would interfere with the default screen-half paging. You can now also configure what actions should be triggered by the click or doubleclick.

Quote:

Originally Posted by darodi (Post 1256999)
-keys don't work: uio to change page fitting
-volume keys don't change pages

Keyboard shortcuts are not yet implemented for the QML version, for volume keys support see above. :)

Quote:

Originally Posted by darodi (Post 1256999)
-It crashes. segmentation fault.

Can you provide some more information about this ?
Can the segfault be reproduced some simple sequence of events ?
Does it crash in background or when your are using it ?
How often does it happen ?
Thanks in advance ! :)

MartinK 2012-08-31 12:42

Re: [Announce] Mieru: a flexible manga and comic book reader
 
Official Mieru 2.4.6 changelog

Code:

* fix Hildon GUI paging dialog
* fix Hildon GUI not starting with custom page fit mode
* load state from history when opening known manga paths
* history can now be turned ON/OFF
* screen middle click & doubleclick support
 * only active with screen edges paging
 * independent actions for click and doubleclick
 * can be used to activate temporary page fitting modes

Translations
Mieru currently has full Czech & German translations. There are also Russian & Chinese translations that are 85+% complete. Further translations are welcome !

Mieru translation howto
There basically two ways:

Mieru project on Transifex
Mieru has a translation project on Transifex. Looks like the only prerequisite is a registering & logging in to Transifex. I should get notified about translation updates and will pull them to the Mieru source code repository.

*.ts files & Qt Linguist
You can also just grab the *.ts files from Github, translate them with Qt Linguist and send them back to me (or if you are on Github, you can just send a pull request :) ).

Anyway, thanks in advance to any parties or individuals interested in the Mieru translation endeavor ! :)

darodi 2012-08-31 18:43

Re: [Announce] Mieru: a flexible manga and comic book reader
 
Quote:

Originally Posted by MartinK (Post 1258520)

I've added click & doubleclick support - it works by clicking the screen middle when screen edges paging is enabled as it would interfere with the default screen-half paging. You can now also configure what actions should be triggered by the click or doubleclick.

great that's perfect!

Quote:

Originally Posted by MartinK (Post 1258520)
Can you provide some more information about this ?
Can the segfault be reproduced some simple sequence of events ?
Does it crash in background or when your are using it ?
How often does it happen ?
Thanks in advance ! :)


It happens easily. I don't really know if it's while in background or while switching to another app. Same problem with version 2.4.6

Here is the sequence of event:
1-I open another app. In my case, opera.
2-I open mieru in full screen. and turn a page
3-I show the lower bar
4-I click on the page number to open the menu.
5-I press ctrl+backspace to swith to another app
6-In opera, I scroll up and down.
7-I go back to mieru and turn page
8-repeat 3 to 7 a few times after 30s I get a segfault

darodi 2012-08-31 19:25

Re: [Announce] Mieru: a flexible manga and comic book reader
 
1 Attachment(s)
Here is more information about the hildon mode becoming unresponsive.

I get a lot of
"under pms threshold stopping"
"edge stopping"
in the console output.

When jumping from one zip file to another,
I sometimes get 2 images overlapping. It freezes in that state. I can't turn pages, I can't scroll.
I can swicth to another app but it takes a lot of time the n900 seems really busy.
see screenshot attached.

lonk 2012-08-31 20:21

Re: [Announce] Mieru: a flexible manga and comic book reader
 
I get segfault too just like darodi, it also happens when I am on another app and leave the phone idle until it lockscreens. (I have QTlockscreen, I don't know if this means anything)

D@vIcHoJD 2012-08-31 20:54

Re: [Announce] Mieru: a flexible manga and comic book reader
 
I can confirm the same error. I not have QTlockscreen active. When open Mieri beside telephone (aplication) and lock. When again unlock mieru crash. Please, you can fixed this problem.

Regards.


All times are GMT. The time now is 12:02.

vBulletin® Version 3.8.8