Re: [SailfishDevel] ListView , Image with large height and EGL errors

2019-06-01 Thread AL13N
So, Image itself isn't doing the texture rendering? but the closest 
container does it?


but, how would it explain that the problem doesn't occur if i put 
multiple such images in a single delegate? and even in the example that 
has the problem, the Image is not directly the delegate, but there's 
Item in between?


Sander van Grieken schreef op 2019-06-01 19:28:

ListView probably doesn't split its surface into multiple textures if
the texture size is exceeded.

A computer probably has a larger texture size, but you'll probably run
into the same issue on even

larger images.

grtz,

Sander

On vrijdag 31 mei 2019 01:57:52 CEST AL13N wrote:


I have a ListView with an ListItem delegate and an Image in it;







when i have 2 images with a large height on it next to each other,

after


scrolling to it, i get an EGL Texture error .







doing this on a computer does not show this error.







if you do a ListView with a ListItem and it has those 3 Image and

they


are anchored, then scrolling through them is not a problem at all.







I suspect it has something to do with how the ListView is

instantiating


the image, maybe parallel initialization or something?







anyone have an idea for a workaround?







AL13N



___



SailfishOS.org Devel mailing list



To unsubscribe, please send a mail to

devel-unsubscr...@lists.sailfishos.org


___
SailfishOS.org Devel mailing list
To unsubscribe, please send a mail to 
devel-unsubscr...@lists.sailfishos.org


___
SailfishOS.org Devel mailing list
To unsubscribe, please send a mail to devel-unsubscr...@lists.sailfishos.org

Re: [SailfishDevel] ListView , Image with large height and EGL errors (AL13N)

2019-06-01 Thread AL13N

I have a qml only app...

i found out experimentally that the limit is at 4096 for Y; but only in 
a ListView; if i do regular images, then there is no such limit... 
(which seems weird)


Slava Monich schreef op 2019-05-31 23:18:

Those who don't like the idea of hardcoding 3264 (or any other number)
in their code, can query GL_MAX_TEXTURE_SIZE instead:

https://github.com/monich/harbour-foilpics/blob/master/src/FoilPicsImageProvider.cpp#L57


Cheers,

-Slava



when i use Image with big images, i use code like this:|
Image {
 onSourceSizeChanged: {
 if( sourceSize.width > 3264 )
 sourceSize.width = 3264
 if( sourceSize.height > 3264 )
 sourceSize.height = 3264
 }
 cache: false
 asynchronous: true
}
or it just show black screen

___
SailfishOS.org Devel mailing list
To unsubscribe, please send a mail to 
devel-unsubscr...@lists.sailfishos.org


___
SailfishOS.org Devel mailing list
To unsubscribe, please send a mail to devel-unsubscr...@lists.sailfishos.org

Re: [SailfishDevel] ListView , Image with large height and EGL errors (AL13N)

2019-05-31 Thread AL13N

I actually did:

width: parent.width
asynchronous: true
cache: false
sourceSize.width: width

for this thing; the height it still like 8000 pixels high, even with 
width == the jolla1 pixel width.
thing is, i get black for those long images, and an EGL Texture error. 
short ones are done fine.


but, if i do the image on its own, then it works fine. so, it's 
something to do with the ListView and the way it instantiates it...


Dmitriy Sedov schreef op 2019-05-31 14:05:

when i use Image with big images, i use code like this:|
Image {
onSourceSizeChanged: {
if( sourceSize.width > 3264 )
sourceSize.width = 3264
if( sourceSize.height > 3264 )
sourceSize.height = 3264
}
cache: false
asynchronous: true
}
or it just show black screen
___
SailfishOS.org Devel mailing list
To unsubscribe, please send a mail to 
devel-unsubscr...@lists.sailfishos.org


___
SailfishOS.org Devel mailing list
To unsubscribe, please send a mail to devel-unsubscr...@lists.sailfishos.org

Re: [SailfishDevel] Wiki page for writing .spec files

2019-05-31 Thread AL13N

You can probably base your .spec file on one the many opensource apps:

eg: mine: 
https://github.com/alien9/harbour-followme/blob/master/harbour-followme.spec


mine is for a qml-only with pyotherside app, but you can probably use it 
as a base for your own.


Oskar Roesler via Devel schreef op 2019-05-31 09:17:

Hello,

are there anywhere instructions how to write a .spec file for SFOS or
do
I have to use the ones from CentOS?

Regards,

Oskar


___
SailfishOS.org Devel mailing list
To unsubscribe, please send a mail to 
devel-unsubscr...@lists.sailfishos.org


___
SailfishOS.org Devel mailing list
To unsubscribe, please send a mail to devel-unsubscr...@lists.sailfishos.org

[SailfishDevel] ListView , Image with large height and EGL errors

2019-05-30 Thread AL13N

I have a ListView with an ListItem delegate and an Image in it;

when i have 2 images with a large height on it next to each other, after 
scrolling to it, i get an EGL Texture error .


doing this on a computer does not show this error.

if you do a ListView with a ListItem and it has those 3 Image and they 
are anchored, then scrolling through them is not a problem at all.


I suspect it has something to do with how the ListView is instantiating 
the image, maybe parallel initialization or something?


anyone have an idea for a workaround?

AL13N
___
SailfishOS.org Devel mailing list
To unsubscribe, please send a mail to devel-unsubscr...@lists.sailfishos.org

Re: [SailfishDevel] Video playback in application

2014-02-16 Thread AL13N
Hi, but then... how is the gallery video playback working??? it uses 
VideoOutput as well...

this is a short reproducer:

[nemo@localhost testvideo2]$ cat main.qml
import QtQuick 2.0
import Sailfish.Silica 1.0
import QtMultimedia 5.0
 
ApplicationWindow
{
initialPage: videoPlay
Page {
id: videoPlay
Rectangle {
color: black
anchors.fill: parent
MediaPlayer {
id: mediaPlayer
autoLoad: true
autoPlay: true
source:'/home/nemo/Videos/Jolla/the_other_half.mp4'
}
VideoOutput {
id: videoOutput
anchors.centerIn: parent
source: mediaPlayer
}
}
}
}




Op zondag 16 februari 2014 12:22:36 schreef Janne Pulkkinen:
 QtMultimedia doesn't seem to work at the moment, so at the moment I'm using
 MediaPlayer with GStreamerVideoOutput:
 https://github.com/Matoking/Filetug/blob/master/qml/pages/fileView/Video.qml
 2014-02-16 11:04 GMT+02:00 AL13N al...@rmail.be:
  Hi,
  
  I have the same issue as below... i compared with the qml of the Gallery
  Video
  play...
  
  i even tried static source with autoplay and autoload like this:
  Page{
  
anchors.fill: parent
SilicaFlickable {

  anchors.fill: parent
  Rectangle {
  
color: black
anchors.fill: parent
MediaPlayer {

  id: mediaPlayer
  source: '/home/nemo/Videos/Camera/file.mp4'
  autoPlay: true
  autoLoad: true

}
VideoOutput {

  source: mediaPlayer
  anchors.centerIn: parent

}
  
  }

}
  
  }
  
  still the same issue...
  
  i saw:
  
  import mediaplayer.js as MediaPlayer
  
  is that relevant? are the MediaPlayer QML being overridden, by something
  else?
  
  What am i missing?
  
  Op woensdag 1 januari 2014 23:12:28 schreef Julius Loman:
   Hi
   
   I'm trying to play video content in my QML application using VideoOutput
  
  and
  
   MediaPlayer types.  So far I haven't been able to get it working even on
   the Jolla provided videos in /home/nemo/Videos/ , probably due to
  
  following
  
   error:
   
   [W] QGstreamerPlayerSession::processBusMessage:1223 - Error: Internal
  
  data
  
   stream error.
   
   Anybody can provide a working example or give me some clues? Playing
   just
   audio from same files using QML Audio type seems to work fine.
   
   Thank you
   Julius
  
  ___
  SailfishOS.org Devel mailing list
___
SailfishOS.org Devel mailing list


Re: [SailfishDevel] No inbox?

2014-01-07 Thread AL13N
Op dinsdag 7 januari 2014 10:32:04 schreef Valerio Valerio:
 Hi,
 
 On 05/01/14 19:36, Chris Walker wrote:
  On Thu, 2 Jan 2014 11:18:45 +
  
  Chris Walker cdw_noki...@the-walker-household.co.uk wrote:
  On Thu, 02 Jan 2014 12:50:08 +0200
  
  Jonni Nakari jo...@egarden.fi wrote:
  On 02.01.2014 12:23, Chris Walker wrote:
  As I appear to be the only one with this problem, it's plainly not
  something that should trouble the development team.
  
  I had a similar problem when I tried adding my free Gmail account
  using Microsoft Exchange account type. No errors were displayed when
  creating the account or checking mail.
  
  I might have also seen this problem when I mistyped some settings on
  a imap type account, but not sure about that.
  
  I suggest that you re-create and double check all you account's
  settings. You might get some additional debug information by
  enabling the developer mode and running journalctl -f -a as root
  when first saving the account and when checking for new mail.
  
  This is an IMAP account.
  
  It is now declaring 'Problem with sync' so that does suggest a typo
  somewhere but I have checked and rechecked all the account
  information. I'm tempted to take a look at the accounts.db file to
  see what that holds.
  
  I'm almost at the stage of throwing this thing away! It is *so*
  frustrating to use that it beggars belief at times.
  
  If I'm in the middle of setting up an email account and the screen
  blanks (after 5 seconds and not the 30 seconds it's set to!), why when I
  double tap to get back, does it revert to the home screen? I expect it
  to be like most other equipment I've used, phones included and to go
  back to where I left it.
  
  But the real frustration is the email setting stuff. I *still* haven't
  managed to get the thing to log into my IMAP account despite the fact
  that I can do it on a Windows 7 machine, the linux machine, a
  Blackberry Playbook and my N900 phone. They *all* show all the folders
  on the IMAP account and yet the Jolla won't. I've created the account
  countless times, both by ssh'ing in and doing it by the command line and
  also by using the GUI. It always displays 'Problem with Sync'. So as I
  also have an email account on the Playbook I used those settings and I
  can see all the folders that are present on that account (also IMAP).
  But having received an email into it, when I replied it wouldn't send. I
  *think* that initially was a problem with my router for some reason so
  having toggled the power to that I tried again. The message in the
  outbox would not send despite using the same settings as the PB. So I
  switched the settings on the Jolla to use the smtp server specified for
  my landline (the same that the linux and Windows machine use) but it
  still wouldn't send. I deleted the reply and recreated it and this time
  it did go. To me, that implies that the message holds details of the
  outgoing server and whatever I did, is never likely to make it send.
  
  So some questions.
  
  How can I reduce the number of accounts held in the sqlite database as
  the number is already up to 7 and I only have 2 email accounts, one of
  which doesn't work and the other one will be deleted?
 
 Humm, can you clarify what are you trying to do ?
 
  Second question. Does the email hold details of the outgoing server
  until it's sent?
 
 Emails are associated with an account, so yes.
 
  [I do see messages in the terminal 'OfonoNetworkRegistration' there
  was more to that but it's scrolled off screen too far to recall].
  
  Third question and one that's been posed here before and that is, how
  do I set the password for IMAP from the command line without using
  push2mail and also, I would also like to be able to check the password.
  Is there any way?
 
 Not possible, passwords are stored in different database they can only
 be accessed via SSO apis.
 
 I'm assuming you are running update2, right ?
 Not having inbox means that the email app could not connect to the
 server to retrieve folder list, so you get a error message, how did you
 configured the account, via the UI or command line ?
 What are the settings for your imap server ? port and encryption.

and... did you try IMAP protocol manually via telnet or openssl... or even 
with a wireshark checked what actually goes on?

does your server have insecure settings, such as plain login,anonymous on tls 
or whatnot? there are some peculiar imap servers out there... and while it may 
be a jolla bug or not... more info is required if you want this be to 
resolved...
___
SailfishOS.org Devel mailing list


Re: [SailfishDevel] No inbox?

2014-01-07 Thread AL13N
Op dinsdag 7 januari 2014 13:40:31 schreef Chris Walker:
 On Tue, 07 Jan 2014 12:34:31 +0100
 AL13N al...@rmail.be wrote:
 
 [snip]
 
  and... did you try IMAP protocol manually via telnet or openssl... or
  even with a wireshark checked what actually goes on?
 
 I'm not going to install wireshark on the phone just to check email
 settings which I can check elsewhere. If I want to know details of the
 password etc that's being sent, I'll ask the hosting company what's
 going wrong and see if I can pinpoint the error that way.

doesn't work with TLS/SSL. and you could just use tcpdump on device, let it 
write to a file and copy that to your PC

  does your server have insecure settings, such as plain
  login,anonymous on tls or whatnot? there are some peculiar imap
  servers out there... and while it may be a jolla bug or not... more
  info is required if you want this be to resolved...
 
 I think people would be better employed writing/updating software
 rather than trying to fix a problem which appears to be unique to me.
 So I'll persevere trying to find the reason for the fail.

hey man, i'm not a jolla dev, just trying to help out...

 My latest outburst was to express my displeasure at the illogical way
 the phone returns to the home screen instead of staying where I left
 it. That doesn't follow the logic set by rational thinking IMHO. But as
 I seem to be out of step with so many things on the phone, we'll just
 put that down to differences of opinion.
 
 I'll close this discussion now as time would be better spent elsewhere
 for us all I think.
 
 Thank you all for your suggestions and ideas. I'll only update this
 thread if I manage to find a fix.

___
SailfishOS.org Devel mailing list


Re: [SailfishDevel] Input file tag in Sailfish browser?

2014-01-07 Thread AL13N
Op dinsdag 7 januari 2014 21:09:01 schreef Graham Cobb:
 Is the input file tag supposed to work in the Sailfish browser?
 
 If I use...
 
 input type=file id=files name=files[] multiple /
 
 I get an input box shown, with a button labelled Browse... but nothing
 happens if I touch on it.

there is no file picker yet... i guess that could be the problem
___
SailfishOS.org Devel mailing list


Re: [SailfishDevel] Connman OpenVPN

2014-01-05 Thread AL13N
Op zondag 5 januari 2014 01:59:29 schreef Matthias Fulz:
 Hi,
 
 I'm working on a OpenVPN client for my Jolla, but it seems that connman is
 bugging around here:
 
 this is the comman which will be used by connman:
 
 openvpn --remote olz.dyndns.org --ca /home/nemo/OpenVPN/ca.crt --cert
 /home/nemo/OpenVPN/olz_mobile.crt --key /home/nemo/OpenVPN/olz_mobile.key --
 comp-lzo --nobind --persist-key --client --script-security 2 --up
 /usr/lib/connman/scripts/openvpn-script --up-restart --setenv
 CONNMAN_BUSNAME
 :1.71 --setenv CONNMAN_INTERFACE net.connman.Task --setenv CONNMAN_PATH
 
 /task/0 --dev vpn0 --dev-type tun --persist-tun --route-noexec --ifconfig-
 noexec --ping-restart 0
 
 As it wasn't able to connect I've tried to run this command on my own:
 
 [root@localhost OpenVPN]# openvpn --remote olz.dyndns.org --ca
 /home/nemo/OpenVPN/ca.crt --cert /home/nemo/OpenVPN/olz_mobile.crt --key
 /home/nemo/OpenVPN/olz_mobile.key --comp-lzo --nobind --persist-key --client
 --script-security 2 --up /usr/lib/connman/scripts/openvpn-script
 --up-restart --setenv CONNMAN_BUSNAME :1.71 --setenv CONNMAN_INTERFACE
 net.connman.Task -- setenv CONNMAN_PATH /task/0 --dev vpn0 --dev-type tun
 --persist-tun --route- noexec --ifconfig-noexec --ping-restart 0
 Sun Jan  5 01:41:41 2014 OpenVPN 2.2.2 armv7l-unknown-linux-gnueabi [SSL]
 [LZO2] [EPOLL] [PKCS11] [eurephia] built on Nov  1 2013
 Sun Jan  5 01:41:41 2014 WARNING: No server certificate verification method
 has been enabled.  See http://openvpn.net/howto.html#mitm for more info.
 Sun Jan  5 01:41:41 2014 NOTE: the current --script-security setting may
 allow this configuration to call user-defined scripts
 Sun Jan  5 01:41:41 2014 LZO compression initialized
 Sun Jan  5 01:41:42 2014 UDPv4 link local: [undef]
 Sun Jan  5 01:41:42 2014 UDPv4 link remote: 188.194.98.162:1194
 Sun Jan  5 01:42:17 2014 [olz.dyndns.org] Peer Connection Initiated with
 188.194.98.162:1194
 Sun Jan  5 01:42:20 2014 TUN/TAP device vpn0 opened
 Sun Jan  5 01:42:20 2014 /usr/lib/connman/scripts/openvpn-script vpn0 1500
 1542 192.168.100.202 192.168.100.201 init
 Sun Jan  5 01:42:20 2014 Initialization Sequence Completed
 
 The issue is related to the script:
 
 /usr/lib/connman/scripts/openvpn-script
 
 which just seems to do nothing.
 
 When I'm just removing the options:
 
 --route-noexec --ifconfig-noexec
 
 from the command above it is connecting fine:
 
 Sun Jan  5 01:57:32 2014 OpenVPN 2.2.2 armv7l-unknown-linux-gnueabi [SSL]
 [LZO2] [EPOLL] [PKCS11] [eurephia] built on Nov  1 2013
 Sun Jan  5 01:57:32 2014 WARNING: No server certificate verification method
 has been enabled.  See http://openvpn.net/howto.html#mitm for more info.
 Sun Jan  5 01:57:32 2014 NOTE: the current --script-security setting may
 allow this configuration to call user-defined scripts
 Sun Jan  5 01:57:32 2014 LZO compression initialized
 Sun Jan  5 01:57:33 2014 UDPv4 link local: [undef]
 Sun Jan  5 01:57:33 2014 UDPv4 link remote: 188.194.98.162:1194
 Sun Jan  5 01:58:07 2014 [olz.dyndns.org] Peer Connection Initiated with
 188.194.98.162:1194
 Sun Jan  5 01:58:10 2014 TUN/TAP device vpn0 opened
 Sun Jan  5 01:58:10 2014 /sbin/ip link set dev vpn0 up mtu 1500
 Sun Jan  5 01:58:10 2014 /sbin/ip addr add dev vpn0 local 192.168.100.202
 peer 192.168.100.201
 Sun Jan  5 01:58:10 2014 /usr/lib/connman/scripts/openvpn-script vpn0 1500
 1542 192.168.100.202 192.168.100.201 init
 RTNETLINK answers: File exists
 Sun Jan  5 01:58:10 2014 ERROR: Linux route add command failed: external
 program exited with error status: 2
 Sun Jan  5 01:58:10 2014 Initialization Sequence Completed
 
 ifconfig:
 
 vpn0  Link encap:UNSPEC  HWaddr
 00-00-00-00-00-00-00-00-00-00-00-00-00-00-00-00
   inet addr:192.168.100.202  P-t-P:192.168.100.201
 Mask:255.255.255.255
   UP POINTOPOINT RUNNING NOARP MULTICAST  MTU:1500  Metric:1
   RX packets:0 errors:0 dropped:0 overruns:0 frame:0
   TX packets:0 errors:0 dropped:0 overruns:0 carrier:0
   collisions:0 txqueuelen:100
   RX bytes:0 (0.0 b)  TX bytes:0 (0.0 b)
 
 
 Is this a bug inside connman or jolla? Could anyone help in finding a
 solution?

looks like connman adds these options so that it can use it's internal process 
of setting ip and adding routes, possibly due to user vs root rights?

but somehow it's failing?
___
SailfishOS.org Devel mailing list


Re: [SailfishDevel] SDK / Deploy / Problem with subprojects

2014-01-05 Thread AL13N
Op zondag 5 januari 2014 14:10:22 schreef Putze Sven:
 Hi there,
 
 let's assume I've got an umbrella project file myApp.pro which is in some
 BaseDir:
 
 TEMPLATE = subdirs
 SUBDIRS = myAppLogic myAppSFOS
 CONFIG += ordered
 myAppSFOS.depends = myAppLogic
 
 There are 2 subprojects, first there is myAppLogic which builds a library,
 second is myAppSFOS which builds the application for SailfishOS/Jolla
 device. myAppSFOS.pro has all the needed information about the library, so
 it should be put in the right place if one calls 'make install'. So far so
 good. All compiles well and then comes the deploy part.
 
 Regardless of the deployment method I get the following error message:
  Fatal: No spec file found in 'BaseDir/rpm/' and couldn't make one from a
 yaml
 
 Well, yes that's true - no .yaml file there. It should look at
 BaseDir/myAppSFOS/rpm/ Is this a bug in the SDK? (as in we are using a
 hardcoded path here) Am I doing it wrong? Can I somehow tell the deploy
 process where to look?
 
 
 BR.
 Sven
 
 
 P.S.: it's somehow related to the topics [SailfishDevel] adding libraries
 to sailfish app. and ''Project tries to use spec file from another
 project but I decided not to hijack them.

(as a side-question-hijack, does this generate on srpm that makes multiple 
rpms?)
___
SailfishOS.org Devel mailing list


Re: [SailfishDevel] Sending emails from an app

2014-01-02 Thread AL13N
Op vrijdag 3 januari 2014 01:28:17 schreef Andrey Kozhevnikov:
 only mailto:em...@address.com; and its fields allowed afaik.
[...]

and i suppose the user will just see the email app on compose with prefilled 
fields so the user has to accept it?
___
SailfishOS.org Devel mailing list


Re: [SailfishDevel] Cannot activate Developer mode

2013-12-31 Thread AL13N
Op dinsdag 31 december 2013 07:16:36 schreef christopher.l...@thurweb.ch:
 Hi David
 
 Zitat von David Greaves david.grea...@jolla.com:
  Having 2 Chris-es in the thread is a touch confusing but I think you have
  dev mode working.
 
 It confuses me as well, and I am one of the Chrises - hence this new thread!
 
 1) Dev mode: Unfortunately I don't have dev mode working. It just
 spins a while trying to install the developer tools, then gives up
 without any error reported.
 
 2) Harbour: I can get into the Harbour and see apps, but when I try to
 install, it get the same try and install for a bit, then give up
 without any error reported behavour.
 
 3) Updates: Attempting to update from 1.0.0.5 tells me I have the
 latest update installed.
 
 I suspect that all 3 issues may have the same root cause (all are
 trying and failing to install stuff).

have you tried re-registering as x@sales let that fail, and then re-register 
with your jolla account?
___
SailfishOS.org Devel mailing list


Re: [SailfishDevel] together.jolla.com

2013-12-26 Thread AL13N
there's a roadmap tag

that's good enough for me...

 what I'd like to see is a roadmap (important not only for developers but
 also for regular customers) that can be seen on the main Jolla or Sailfish
 page. This could be literally a visualized graph or something like that.
 On that map should be rough dates to the next releases and issues/features
 that are planned to be in this release. If you would link from the roadmap
 to the together.jolla.com page and vice versa, there would be enough
 information in a sense of ah, this is why it's done first or ah, yes
 it's done at all, nice!.
 Maybe questions/topics on the together.jolla.com page could have a special
 marker/icon that shows on the first glimpse that it is accepted by Jolla
 and will be done in near future.

 On top of that a kind of sort function would be cool. Give the top ten
 voted questions/feature requests.

 About the double entries: AFAIK most Jolla team members are in holidays,
 so there is and will be a backlog and there is still the human factor ;-)

 BR.
 Sven

 P.S.: I was so bold to use this thread because it fitted most but it's not
 a direct comment to the preceding mails...


 On 26.12.2013, at 12:33, David Greaves david.grea...@jolla.com wrote:

 On 26/12/13 00:23, AL13N wrote:
 ... is open! Go there and contribute with ideas :)

 awesome idea... hadn't thought of that.

 some things:
 1. bad search (results in too much duplicates)
 2. wiki post is a bit useless
  A) either remove wiki post
  B) or ability to make a real wiki post
* no answers
* no comments
* easy internal linking
 3. unanswered is becoming huge fast
  A) maybe some kind of an accepted answer from Jolla if it's on the
 roadmap?

 Agree - Unanswered feels like it is going to become full of unanswerable
 feature-requests. See :

 https://together.jolla.com/question/427/break-down-your-ideasfeature-requests/#post-id-496

 These would then be visible like this:
 https://together.jolla.com/questions/scope:all/sort:activity-desc/tags:voteforme/page:1/

 However those tags (which basically say do the community want this)
 are being
 removed.

 Anyone got any better ideas?

  B) how to handle things that are more for community? does this mean
 the
 app dev can just pose an answer that can be accepted for his app?

 Yes see comment above about having 'Unanswered' be for community to
 answer

  C) ... i donno any real solutions

 Apparently nor do I :)

 David

 ___
 SailfishOS.org Devel mailing list

 ___
 SailfishOS.org Devel mailing list



___
SailfishOS.org Devel mailing list


Re: [SailfishDevel] together.jolla.com

2013-12-25 Thread AL13N
 ... is open! Go there and contribute with ideas :)

awesome idea... hadn't thought of that.

some things:
1. bad search (results in too much duplicates)
2. wiki post is a bit useless
  A) either remove wiki post
  B) or ability to make a real wiki post
* no answers
* no comments
* easy internal linking
3. unanswered is becoming huge fast
  A) maybe some kind of an accepted answer from Jolla if it's on the roadmap?
  B) how to handle things that are more for community? does this mean the
app dev can just pose an answer that can be accepted for his app?
  C) ... i donno any real solutions

___
SailfishOS.org Devel mailing list


Re: [SailfishDevel] Harbour reporting works or not?

2013-12-22 Thread AL13N
 There was some public (or at least semi-public) announcement that download
 counters in harbour are going to work some time soon. Hence they don't
 work
 right now.

 It would be cool if Harbour UI would at least have some sort of a label
 just a demo for now on the elements that are not functional just yet.

the 0 is a dead giveaway :-) unless you don't even use the app yourself :-)

___
SailfishOS.org Devel mailing list


Re: [SailfishDevel] Jolla owner - day 1

2013-12-22 Thread AL13N
 I like it!

 But then again I knew I would ;)

 However as it is a beta release of the software, here's my list of issues
 collected so far.

 Mail client:
[...]
 - Cover shows 0 unread although both current folder and inbox has unread
 msgs.


this is probably not the unread, but recent, ie: new unread since last
check, this is a default imap function... (or it could still be a bug)

i would not like that, cause i have 78325 unread emails :-( ...


[...]
 Notes:

 - When sharing a note by email it gets sent as an attached VNOTE with the
 body
 base64 encoded and with a vcf extension which I thought was reserved for
 vCards?. I for one don't have any applications that can handle that
 format.

I believe that's called carddav ... something that people have been asking
support for with caldav...

___
SailfishOS.org Devel mailing list


Re: [SailfishDevel] Harbour reporting works or not?

2013-12-20 Thread AL13N
 My app has been published for more than two weeks but the download count
 still is zero. I know there are few users but still expect a few
 downloads. Anyone see non-zero download in their reports?

someone told me that harbour download counts are 0

the download count on the phone itself should work though

___
SailfishOS.org Devel mailing list


[SailfishDevel] cacert app -- integrated keychain -- nfc keychain passphrases -- multiple identities

2013-12-19 Thread AL13N
First I was thinking on email, and that imaps is really the only good way

1. certificates are verified too, so that's good...

2. then i was thinking that my certificates were certified by
http://cacert.org/ .

3. then i was thinking that maybe a cacert.org app should be made (if that
is possible)

4. then i was thinking of that trust thing

5. and how it would be great if a integrated keychain was used to store trust

6. and also how different identities would be possible with TOH

7. and how there's still space left on TOH NFC chip (
http://www.reddit.com/r/Jolla/comments/1t9xtv/jolla_white_the_other_half_nfc_contents/
)



thus, what would be really interesting is that one or more NFCs are linked
to a diff keychain,

and how a keychain should be protected by an extra NFC stored security
key, which in combination with a passphrase, could open it.

(possibly with sss, with a master backup key that can open it too, if you
lost passphrase or TOH)

and that this keychain could even contain multiple identities (which are
all unlocked by this keychain), which contain sync accounts, email
settings, email accounts, browser stored passwords, or even certain apps?

which means removing TOH should close all that is protected, and possibly
hide/encrypt the apps/data that are associated with that keychain, same
with user data, game scores, etc...

effectively one could remove TOH and appear it like a clean free unused
Jolla at first glance...

or even have one phone and multiple people using it, each with their own
TOH! or if you're schizophrene, (or just have multiple online identities)

how awesome would that be!?

___
SailfishOS.org Devel mailing list


Re: [SailfishDevel] network statistics for sailfish

2013-12-16 Thread AL13N
 I'm investigating to see if it is possible to create a network monitor for
 SailfishOs. Something like
 https://play.google.com/store/apps/details?id=com.mobidia.android.mdmfeature=search_result

 I can read simple received/sent statistics from /proc/net/dev , but it
 would be more interesting to see the amount of data used per application.
 This is possible with libpcap and maybe with iptables, but both require
 root privileges (or at least the CAP_NET_RAW capability).

 So hopefully someone can answer the following questions:
 - Is there any possibility for a Harbour app to acquire extra
 priviliges/capabilities ?

 - If not can you think of any other way to report per-application network
 statistics ?

libpcap can't detect application level data transfer, and neither can
iptables

plus you don't want to set your interface promiscuous, nor make a
complicated iptables thing...

afaik, there is no way in linux to filter out per application, because,
you'd need to track which application bound what source port and track
data that way...

it's just not doable without realistically root access, a lot of tracing
of all applications (which would slow down) and possibly fucking up the
networking/internet access of the phone... most likely you'd have to
recompile the kernel even...

which might be an option is cgroups (though i doubt it), though i'm
unsure if at this time network traffic can be accounted/limited accross
cgroups though it could be a nice feature.


iow, give it up... :-) plus, when you get to the point of dozens of
openvpn networks and bridging and vlans and voip QoS in a different vlan
and such, things are gonna get complicated enough...

___
SailfishOS.org Devel mailing list


Re: [SailfishDevel] working on apps?

2013-12-15 Thread AL13N
 I'm porting the modRana flexible navigation system[1][2] to Sailfish
 and I plan to also port the Mieru offline manga and comic book
 reader[3][4]. :)

what about MangaWhat ? i use that one :-)

___
SailfishOS.org Devel mailing list


Re: [SailfishDevel] working on apps?

2013-12-15 Thread AL13N
 Currency Converter: https://github.com/tanghus/currency-converter-qml
 Kitchen Timer: https://github.com/tanghus/kitchen-timer-qml

 The capcha for your site is ridiculous, so posting it here instead :)

It's not my site (it's for embedded linux), but that captcha _is_
ridiculous... i couldn't answer one question, after dozens of reloads, i
ended up researching the Linus Torvalds question and cycle the captcha
until i got that one... :-(

Since we don't have anything yet, this is a place where we can put some
documentation until there might be a better place... though, otoh, since
this is about embedded Linux, it's not exactly a wrong place either...

___
SailfishOS.org Devel mailing list


Re: [SailfishDevel] working on apps?

2013-12-15 Thread AL13N
 On 15/12/13 17:41, AL13N wrote:
 Currency Converter: https://github.com/tanghus/currency-converter-qml
 Kitchen Timer: https://github.com/tanghus/kitchen-timer-qml

 The capcha for your site is ridiculous, so posting it here instead :)

 It's not my site (it's for embedded linux), but that captcha _is_
 ridiculous... i couldn't answer one question, after dozens of reloads, i
 ended up researching the Linus Torvalds question and cycle the captcha
 until i got that one... :-(

 Since we don't have anything yet, this is a place where we can put some
 documentation until there might be a better place... though, otoh, since
 this is about embedded Linux, it's not exactly a wrong place either...

 There's always:

   https://wiki.merproject.org/wiki/Sailfish

 Which has been around since Mar 2013 :)

yes, the reason we didn't take such a wiki, is due to the Jolla hardware
thing, while sailfish will be used on alot of hardware, Jolla was
something different, and we needed it more for gathering technical data
(like the I²C bus)

___
SailfishOS.org Devel mailing list

Re: [SailfishDevel] A new Jolla phone user - after 2 days of use

2013-12-14 Thread AL13N
 Hi,

 Moving from N9/Meego two days ago, I find Jolla/Sailfish very easy to use,
 and have some feedback (wishlist?). I hope this is the right place for
 this feedback, otherwise please point me to the correct place.

i'm not a jolla dev, nor do i have a jolla, but i'll reply and give my
thoughts...

 Current version: 1.0.1.10 (notification for version upgrade came almost
 immediate I got online)

 Sailfish/Platform specific:
 1. From Lock Screen, swiping-up should bring me to Home screen, but it
 often brings up the Events screen even if there is no
 notifications/events. A friend's N9 community edition Sailfish allows
 swiping from the left/right side on Lock screen - the same doesn’t work on
 my Jolla.

if you swipe up from the bottom, it brings event screen, if you swipe up
from the middle, it brings home screen. takes some getting used to...

maybe swiping left/right doens't work if you don't have a TOH?

 2. There should be a way to go straight from Lock Screen to Launcher
 (instead of needing to go through Home)

i don't agree, for multi-processing this is better, plus there's a pulley
menu on lock for the relevant apps... i suppose this is configurable

 3. Easier (less taps) accessible configuration (eg WLAN, Bluetooth) from
 any screen (not just Settings)

wasn't there some kind of cover where you could do this? there's been a
request for pinning covers, i would like this in combination...

 4. Need easier way view the current connection (All the connection related
 icons on Lock Screen are hard to decode at least initially - in particular
 for the Mobile Network Data icon, but WLAN icon also hard to decode)
 5. More configurable settings (colour selection for text/notification
 icons/etc, background picture, additional items to be displayed on Lock
 screen)

this is done via ambience iinm, but i agree that this Abience should
really be allowed to be tuned/configured a bit...

 6. Icon's Text on Launcher screen feels a bit hard to read (doesn’t look
 very solid)

Ambience?

 7. Add ability to have different colours to different inbuilt apps (eg.
 Phone, messaging/SMS, etc) - they currently all look very similar on the
 Home screen and colour differentiation would help usability greatly.

i think this would have issues with different Ambiences

 8. Auto-correct while typing (maybe as a configurable option)
 9. Please bring Swype to Sailfish!
 10. Chinese writing input (find the button = with extra -, that should
allow configuration) i heard this on #jollamobile at freenode IRC




 Jolla Applications:
 1. Sometimes Email's connection frequency setting does not appear to be
 observed - email isnt checked every 30 minutes as I had configured, and
 Exchange email isnt pushed to me
 2. Clock: configurable snooze time? ;-)

 Android Support:
 1. Whatsapp address book does not work - currently all my Whatsapp
 Contacts are empty. Understand this is due to Whatsapp on Android cannot
 reach Jolla's phone book - can this be fixed?
 2. Would be great if Android apps can appear as individual/independent
 apps instead of a single Virtual Machine which all Android apps live
 inside.

 Jolla Store:
 1. Jolla App store feels a bit confusing - dont really know what apps are
 there as the only clear catalog available is the list of apps built by
 Jolla - all other Apps are scattered

 Apps that I look forward to:
 1. Public Transport (eg. Meego's My Routes, Nokia Public Transport)
 2. Turn-by-turn navigation with pre-loadable maps (Nokia Drive)
 3. WiFi sharing
 4. Camera flash as torch
 5. Net Radio

Some of us on the community are trying to gather thoughts on
http://elinux.org/Jolla .

 Generic:
 1. There will be more users wanting to provide feedback - there will need
 to be an easier way to submit feedback (even from inside the phone - maybe
 an App?) which is publicly viewable so others would know it has been
 submitted (and can vote on it).

afaik apps can be reviewed even on the phone...

 2. The phone did crash once (it slowed so much I had to force it to turn
 off to restart) - maybe a good thing to have is inbuilt debugging
 functionality.


 Looking forward to the version upgrades :)


 Henry
 ___
 SailfishOS.org Devel mailing list


___
SailfishOS.org Devel mailing list

[SailfishDevel] working on apps?

2013-12-14 Thread AL13N
if there are people who are working on apps, and want to let it know, so
that no other devs will waste time making the same apps, you can add these
here:

http://elinux.org/Jolla

in the appriopriate section.

Thanks!

___
SailfishOS.org Devel mailing list


Re: [SailfishDevel] working on apps?

2013-12-14 Thread AL13N
 WhatsApp client.

awesome! alot of people will want this!

added...

___
SailfishOS.org Devel mailing list


Re: [SailfishDevel] Files have insufficient permissions when using Android applications

2013-12-11 Thread AL13N
 Janne Pulkkinen jannep...@gmail.com writes:

 I've noticed that when I download files using Firefox, or try to open,
 copy
 or in overall handle files using ES File Manager or other Android
 applications like game emulators, the actions often fail. However, after
 I
 changed the file and directory permissions to 777 using chmod, the files
 could be read, copied and moved around without any problems. Since I
 have
 to apply the file permissions every time I download a new file, it isn't
 a
 really good solution to the problem. All the files and directories in
 question are located in /data/sdcard (which isn't the SD card, but
 appears
 to be a sandboxed area of the internal storage used for Android apps).

 Yes, that for /data/sdcard that sounds like a problem on our side, I
 just created a bug for investigation. For the home-directory and
 directiories underneath that restrictions for the Android layer are
 intentionally restricted, to /data/sdcard there should not be any such
 restrictions, though.

this looks like either a umask issue, or perhaps this should be fixed by
polkit instead? otoh, /data/sdcard could be vfat, and thus not have any
kind of permissions, which means that android stuff (which is likely not
running as root), would not have access... perhaps mounting needs to be
done as a user and polkit or other acls to actually give access?

___
SailfishOS.org Devel mailing list