maemo.org - Talk

maemo.org - Talk (https://talk.maemo.org/index.php)
-   Development (https://talk.maemo.org/forumdisplay.php?f=13)
-   -   [WIP] TMO Forum app - New updated release (https://talk.maemo.org/showthread.php?t=88475)

bibek 2013-01-23 06:08

Quote:

Originally Posted by AJMAL P.M (Post 1316851)
In browser it's M-D-Y
in TMO app it's D-M-Y

Since v016, it should display same as what u see in browser, as per your custom format setting, if any.
Quote:

Ok, for test i connected with "schturman" instead "Schturman" and yes, i can see and use edit option and "remove thanks" too. Thank you!

P.S. Where is donation link ?
Thanks for feedback.
I dont have a donation link, and paypal dsnt allow donation in our country. :(
If possible, I will put up a link

bibek 2013-01-23 06:10

Quote:

Originally Posted by AJMAL P.M (Post 1316850)
Nope. It didn't fix username spacing issue. Space is not working in username field but working in password field. Hope you know why.

I see. Hope this info will help me debug it better

AJMAL P.M 2013-01-23 06:17

Re: [WIP] TMO Forum app - New updated release
 
I just tested v 0.1.6 from another a/c (Ajmal9M). Sadly no posts by me is appearing in this thread after submit.

Suggestion: It would be nice if you integrate Settings in every menu so that I can change themes whenever I wish without leaving a thread.

AJMAL P.M 2013-01-23 06:21

Re: [WIP] TMO Forum app - New updated release
 
I prefer DD - MM - YY than default. How can I change it?

thedead1440 2013-01-23 06:39

Re: [WIP] TMO Forum app - New updated release
 
bibek,

There is an announcement in every sub-forum on the top by chemist mentioning repos being down; accessing said announcement via the app gives a blank page ;)

Thanks!

bibek 2013-01-23 07:14

Quote:

Originally Posted by thedead1440 (Post 1316866)
bibek,

There is an announcement in every sub-forum on the top by chemist mentioning repos being down; accessing said announcement via the app gives a blank page ;)

Thanks!

That's some kind of spcl post? Probably it dsnt have a forum associated with it, whch causes bugging out while processing. I'd debug it as soon as I get on pc

bibek 2013-01-23 07:16

Quote:

Originally Posted by AJMAL P.M (Post 1316851)
In browser it's M-D-Y
in TMO app it's D-M-Y

http://talk.maemo.org/profile.php?do=editoptions

qwazix 2013-01-23 09:00

Re: [WIP] TMO Forum app - New updated release
 
Quote:

Originally Posted by bibek (Post 1316452)
Which part of the forum do you think, should be pushed to event feed?

You can already add new posts to your event feed via RSS so no need to implement this again (on the other hand it would be better if those were opened in the app instead of browser - now that I think about it maybe you can hijack tmo links like ovi store hijacks ovi links)

Both subscribed threads and active topics is a good idea for the event feed, but I don't know for sure when they should pop up.

Active topics is more difficult to implement, as it's not clear when a new entry should be created. One solution would be to pop up any topic that wasn't into active topics and it appears on them, but then you will have the same thread appear again and again on the feed every time it is pushed out of AT and back in.

Subscribed threads are cleaner to incorporate. Any new posts in any subscribed thread would pop up directly to the event feed.

khan.orak 2013-01-23 09:05

Re: [WIP] TMO Forum app - New updated release
 
Quote:

Originally Posted by Schturman (Post 1316693)

P.S. Where is donation link ?

Might wanna buy his QCal app.

bibek 2013-01-24 16:42

Okay guys, how many of you are having the app crashing problem?

Need feedback on these topics:
Is it crashing more often since 016 vrsn?

Was it present in ph5 versions, or I introduced it new?

It happens only inside of an open thread?


I think the bug escalated in recent versions. Need to take care of it. App crashes with the output segmentation fault.
I got this error earlier when I tried to display wrong css formatted post in labels, but that's not the case now.
Maybe some memory mis management.

setter 2013-01-24 16:48

Re: [WIP] TMO Forum app - New updated release
 
I have never had any crash, neither on 015 or 016.

marmistrz 2013-01-24 16:52

Re: [WIP] TMO Forum app - New updated release
 
were the crashes on n900?

saponga 2013-01-24 17:06

Re: [WIP] TMO Forum app - New updated release
 
Quote:

Originally Posted by marmistrz (Post 1317376)
are the crashes on n900?

NO crashes on my N900. Thank you all marmistrz, bibek and xes.

marmistrz 2013-01-24 17:08

Re: [WIP] TMO Forum app - New updated release
 
bibek & devs: I think we need to remove the tracker sparql stuff from Nemo accounts-ui stuff, as it's unlikely that it'll work in the nearest future.

Are you in?

ajalkane 2013-01-24 17:08

Ph5's version was crash prone also. Probably some old bug.

I haven't yet used 0.16

bibek 2013-01-24 18:22

Quote:

Originally Posted by marmistrz (Post 1317383)
bibek & devs: I think we need to remove the tracker sparql stuff from Nemo accounts-ui stuff, as it's unlikely that it'll work in the nearest future.

Are you in?

I'm not at all experienced in system level coding. Sorry. Maybe you should gather the willing developers by starting a new thread...

marmistrz 2013-01-24 18:30

Re: [WIP] TMO Forum app - New updated release
 
Quote:

Originally Posted by bibek (Post 1317411)
I'm not at all experienced in system level coding. Sorry. Maybe you should gather the willing developers by starting a new thread...

It's not system level coding. It's C/C++ coding.
We would have to find out what QtSparql does here and whether we can subtitute this with QFile stuff (or counterpart).

sony123 2013-01-25 17:39

Quote:

Originally Posted by bibek (Post 1317369)
Okay guys, how many of you are having the app crashing problem?

Need feedback on these topics:
Is it crashing more often since 016 vrsn?

Was it present in ph5 versions, or I introduced it new?

It happens only inside of an open thread?

I've seen this in ph5's verwion and yours. The pattern I see is selecting 'Last page' to view a thread often hangs the app. Haven't paid attention to whether long thread or short one makes any difference, though.

bibek 2013-01-25 17:56

Quote:

Originally Posted by sony123 (Post 1317761)
I've seen this in ph5's verwion and yours. The pattern I see is selecting 'Last page' to view a thread often hangs the app. Haven't paid attention to whether long thread or short one makes any difference, though.

Last thread shouldn't hang the app now. I fixed that part one version ago. What I get in crash is a sudden exit during posts-page scrolling.

Kozzi 2013-01-25 20:25

bibek, I checked the code and seems like in a longterm you might add support for xda-dev and nokia forum? Will this require restructuring of the c++ code or perhaps rewrite the parsing part? I would like to add support for a forum myself but just have no idea where to start.

bibek 2013-01-26 04:35

Quote:

Originally Posted by Kozzi (Post 1317800)
bibek, I checked the code and seems like in a longterm you might add support for xda-dev and nokia forum? Will this require restructuring of the c++ code or perhaps rewrite the parsing part? I would like to add support for a forum myself but just have no idea where to start.

The elementary support for xda and nokiaDeveloper were introduced by pH5 since early builds, since those forums run on vBulletin also. But he probably dint implement it fully.
Either those forums have changed structure now, or it never worked from beginning.

I visited xda and tried to get it working, but seems that it'd need lot of extra ifelse conditions and separate parsing style for xda. Biggest factor is that I dont use xda & I'm not feeling very excited to do the extra coding.
But if anyone who frequents xda, is interested, I could help you understand the basic mechanism, so that you can open up xda forum webpage in browser, check the html code and modify the xda parsing in app.

You can contact me via any channel mentioned in my profile details.

sony123 2013-01-26 05:55

Re: [WIP] TMO Forum app - New updated release
 
Quote:

Originally Posted by bibek (Post 1317763)
Last thread shouldn't hang the app now. I fixed that part one version ago. What I get in crash is a sudden exit during posts-page scrolling.

I might have seen this once or twice but no consistent pattern....
However I can consistently re-produce the hang issue by opening last page of this thread in forum-qml. Maybe I need to do a clean install?

bibek 2013-01-26 08:16

Quote:

Originally Posted by sony123 (Post 1317869)
I might have seen this once or twice but no consistent pattern....
However I can consistently re-produce the hang issue by opening last page of this thread in forum-qml. Maybe I need to do a clean install?

I can not see the last page hang issue. Are you sure? Reinstall latest 016 vrsn if possible.
In newer versions, the default behavior is opening last new post by default

leoniedelt 2013-01-26 10:02

Re: [WIP] TMO Forum app - New updated release
 
I would pay £3 for an app that supports xda as well as TMO - i use a nexus 7 and an N9, so that would be ideal.

I havent had ANY crashes on 15 or 16 version of this. N9.

shma 2013-01-26 10:22

Never crashed for me either. I mainly read tho. Its flawless, great work

Kozzi 2013-01-26 20:02

I have faced some random crash when I press the + button, no idea how to reproduce it though.
The reply fuction is really nice, I love the peeking feature with fading effect, really practical. Perhaps is it more natural to have it moving only up-down and auto-lock to default state when near the top.
Bibek would it be possible for you to write a guide on how to add custom forum support to the app? Perhaps in a new thread.

bibek 2013-01-27 04:02

Hello kozzi, I'll look into it. Nice idea.
About the guide, let me see :)

bibek 2013-01-27 10:31

New update up.

But this version seems to have more crashes. Even reproduceable.
I'm investigating.

FastScroll in postView is the culprit. And there's some memory management problem in the posts model created at c++ backend.
If you face too much crashes, use previous version for now

bibek 2013-01-27 12:29

Re: [WIP] TMO Forum app - New updated release
 
Anyone can tell me what does exit code 135 and 139 refer?

xes 2013-01-27 14:41

Re: [WIP] TMO Forum app - New updated release
 
@bibek
still the page counter make weird things.
(go to last page, press "older messages" more times, scroll down to the end of list...you can still read the last post and the page becomes bigger and bigger at every press of that button (and you are still at last page)

bibek 2013-01-27 14:57

Xes, the mechanism is that when you press older/newer buttons, the new/old pages are appended to previous model data. If you scroll up/down, u can find all the pages in same view.

If you want to jump to a page, clearing previous model data, see the code of jump-to-page button and edit the codes in newer/older button like that

xes 2013-01-27 15:32

Re: [WIP] TMO Forum app - New updated release
 
?? let me say....strange behavior.
If there was a setting to limit or not that buffer, everyone may chose the maximum number of posts per view (for example, infinite, 20, 50, 100..)

Now i spend most of time scrolling... loosing the point everytime i make i jump of some post

bibek 2013-01-27 16:02

There is a helper function to position the listView to that post which you newly loaded.
It works in N9.
Maybe nt wrking in maemo?

xes 2013-01-27 19:47

Ok, the helper function to browse the pages is working..
So, why not extend to the full range of pages available in that thread? Now it depends on "older posts" button to define which page you can choose with the helper.

PS.
No crash until now with latest git.
Edit is working very well

......
Posted with forum-qml 0.1.7

Kozzi 2013-01-27 20:08

I think I found a bug, steps to reproduce it:
Open reply page
Insert text
Minimize TMO app
Change to i.e. Web and back
Press Post

xes 2013-01-27 23:18

Re: [WIP] TMO Forum app - New updated release
 
1 Attachment(s)
Here attached the latest build for MAEMO!

bibek 2013-01-28 05:16

Quote:

Originally Posted by Kozzi (Post 1318220)
I think I found a bug, steps to reproduce it:
Open reply page
Insert text
Minimize TMO app
Change to i.e. Web and back
Press Post

Nothing happened.
What exactly happens for you?

bibek 2013-01-28 05:20

Quote:

Originally Posted by xes (Post 1318270)
Here attached the latest build for MAEMO!

First post updated with link. Thanks :)

Kozzi 2013-01-28 09:04

Quote:

Originally Posted by bibek (Post 1318299)
Nothing happened.
What exactly happens for you?

it crashed everytime.

xes 2013-01-28 09:11

Re: [WIP] TMO Forum app - New updated release
 
Quote:

Originally Posted by bibek (Post 1318299)
Nothing happened.
What exactly happens for you?

just verified.. :(
The issue is still the same described some days ago.
Sometimes it happens calling an external app (for example web broser to open a link/attachment)

Sometimes, switching tasks with task manager, you discover that forum-qml is not running anymore..


All times are GMT. The time now is 23:20.

vBulletin® Version 3.8.8