[SailfishDevel] Sailfish Browser is now open source!

2014-02-11 Thread Vesa-Matti Hartikainen

Hi all,

 We finally got all the preparations done and today is the day. 
Sailfish Browser is Jolla's first fully open source application! The 
public repository is here: https://github.com/sailfishos/sailfish-browser


 We intend to work as open as possible and hope to gain contributors 
and a better chance of getting our embedding accepted to Mozilla upstream.


 Future contributions, both internal and external should go to the 
public repository. I hope that we will get a public bugzilla for this 
project at some point, but at the moment externally we will use Github's 
issue tracker.


 A more in depth description of the technology powering the browser can 
be found at 
http://blog.idempotent.info/posts/whats-behind-sailfish-browser.html.


On behalf of Jolla's browser team I thank you all for being an awesome 
community and we are very much looking forward to building a great 
browser together!


--
Vesa-Matti Hartikainen
Jolla Oy
http://jolla.com

___
SailfishOS.org Devel mailing list


[SailfishDevel] Does sailfish run wine?

2014-02-11 Thread David Jensen
Since Sailfish is Linux, does Wine, and therefore Windows programs run on it?





David Jensen

 


___
SailfishOS.org Devel mailing list


Re: [SailfishDevel] Does sailfish run wine?

2014-02-11 Thread Andrey Kozhevnikov

Yes. Windows ARM applications :D
And please don't use developer mailing list for not relevant questions :)

On 11.02.2014 17:38, David Jensen wrote:

Since Sailfish is Linux, does Wine, and therefore Windows programs run on it?





David Jensen

  



___
SailfishOS.org Devel mailing list


___
SailfishOS.org Devel mailing list


Re: [SailfishDevel] Does sailfish run wine?

2014-02-11 Thread Benoît HERVIER

Or Windows x86 application if you run Sailfish on x86 cpu. :p

In fact, no. Currently,  wine depends on libx11. So i don't think even 
arm application will run.


---
Benoît HERVIER - http://khertan.net/

Le 2014-02-11 12:42, Andrey Kozhevnikov a écrit :

Yes. Windows ARM applications :D
And please don't use developer mailing list for not relevant questions 
:)


On 11.02.2014 17:38, David Jensen wrote:
Since Sailfish is Linux, does Wine, and therefore Windows programs run 
on it?






David Jensen

  ___
SailfishOS.org Devel mailing list


___
SailfishOS.org Devel mailing list

___
SailfishOS.org Devel mailing list

[SailfishDevel] Adding repository to MerSDK target failed - no packages visible - HELP!

2014-02-11 Thread Simon Bolek
Hi,

I tried to add a repository to MerSDK target SailfishOS-i486-x86 as
follows:

1) ssh -p 2223 -i mersdk mersdk@localhost
- succesfully ssh-ed to VM

2) [mersdk@SailfishSDK:~$] sudo zypper ar -f
http://releases.merproject.org/releases/0.20130605.1/builds/i586/packages/nemo
- added repo just fine

3) [mersdk@SailfishSDK:~$] sudo zypper ref
- success and installing packages such as libqt-devel was also successfull

4) [mersdk@SailfishSDK:~$] sb2 -t SailfishOS-i486-x86 -m sdk-install -R
zypper ar -f
http://releases.merproject.org/releases/0.20130605.1/builds/i586/packages/nemo
- success in adding repo, i can see it with zypper lr -d

5) [mersdk@SailfishSDK:~$] sb2 -t SailfishOS-i486-x86 -m sdk-install -R
zypper se -s libqt-devel
- FAILED! - no packages found

HELP!: where am I making the mistake?


cheers
simon
___
SailfishOS.org Devel mailing list

Re: [SailfishDevel] Python and Qt Widgets development possible?

2014-02-11 Thread Timur Kristóf
This site answers both your questions: https://harbour.jolla.com/faq

1. QWidgets are unsupported on Sailfish because they are not
mobile-optimized and not hardware accelerated.
2. Python will be supported but isn't yet.


On Sun, Jan 26, 2014 at 1:33 PM, Dietmar Schwertberger 
maill...@schwertberger.de wrote:

 Hi!

 Until now I have been using PySide to write Qt Widgets applications that
 were running fine
 under Windows and Maemo.
 With some if/else I got native look  feel on both platforms.

 Now I've tried the same with PyQt5 on Sailfish OS and the application looks
 like a Windows application and even opens new windows when I e.g. open the
 menu.
 Unfortunately it seems that QML is the only way to get native look and
 feel.
 Am I right?

 Switching to QML/Qt Quick seems a major effort and especially, it is very
 un-pythonic
 to use this mixture of two languages.
 Even when I switch, it seems that there's quite some effort to stay
 compatible over
 multiple platforms as you more or less have to use Silica components on
 Sailfish OS
 and on the other hand I won't gain usability on a mouse based platform
 like Windows.

 With Maemo I had the impression that it was quite easy to port any GUI
 application
 and get at least a reasonable UI. Seems that this is not true with
 Sailfish OS any more.
 You have to choose between all or nothing...

 Regards,

 Dietmar

 ___
 SailfishOS.org Devel mailing list

___
SailfishOS.org Devel mailing list

Re: [SailfishDevel] Python and Qt Widgets development possible?

2014-02-11 Thread Andrey Kozhevnikov

Actually you don't need Harbour to develop what you want ;)

On 11.02.2014 20:09, Timur Kristóf wrote:

This site answers both your questions: https://harbour.jolla.com/faq

1. QWidgets are unsupported on Sailfish because they are not 
mobile-optimized and not hardware accelerated.

2. Python will be supported but isn't yet.


On Sun, Jan 26, 2014 at 1:33 PM, Dietmar Schwertberger 
maill...@schwertberger.de mailto:maill...@schwertberger.de wrote:


Hi!

Until now I have been using PySide to write Qt Widgets
applications that were running fine
under Windows and Maemo.
With some if/else I got native look  feel on both platforms.

Now I've tried the same with PyQt5 on Sailfish OS and the
application looks
like a Windows application and even opens new windows when I e.g.
open the menu.
Unfortunately it seems that QML is the only way to get native look
and feel.
Am I right?

Switching to QML/Qt Quick seems a major effort and especially, it
is very un-pythonic
to use this mixture of two languages.
Even when I switch, it seems that there's quite some effort to
stay compatible over
multiple platforms as you more or less have to use Silica
components on Sailfish OS
and on the other hand I won't gain usability on a mouse based
platform like Windows.

With Maemo I had the impression that it was quite easy to port any
GUI application
and get at least a reasonable UI. Seems that this is not true with
Sailfish OS any more.
You have to choose between all or nothing...

Regards,

Dietmar

___
SailfishOS.org Devel mailing list




___
SailfishOS.org Devel mailing list


___
SailfishOS.org Devel mailing list

Re: [SailfishDevel] How to hide pushup menu?

2014-02-11 Thread Timur Kristóf
If setting the PushUpMenu's visible to false doesn't work, that sounds like
a bug to me.


On Thu, Jan 23, 2014 at 11:35 AM, Tero Siironen izer...@gmail.com wrote:

 I have PushUpMenu in my app which currently has only one item, and in
 some situations also that item should not be visible. How can I hide
 the menu?

 I tried to set MenuItem's visibility to false, but that lead to weird
 behaviour; PushUpMenu is still there and empty, but the empty menu can
 be pushed up about screen height. I also tried to use visible property
 in PushUpMenu, but that doesn't seem to hide the menu.

 Disabling the MenuItem could be one option, but as it still shows the
 item's label it would be a bit misleading for the user in my
 situation. I would prefer to hide the whole PushUpMenu when there's no
 items that could be used.


 --
 Tero
 ___
 SailfishOS.org Devel mailing list

___
SailfishOS.org Devel mailing list

Re: [SailfishDevel] How to hide pushup menu?

2014-02-11 Thread Thomas Tanghus
On Tuesday 11 February 2014 15:16 Timur Kristóf wrote:
 If setting the PushUpMenu's visible to false doesn't work, that sounds like
 a bug to me.

That's also what the docs say:

https://sailfishos.org/sailfish-silica/sailfish-application-pitfalls.html#disabled-pulley-menus

 On Thu, Jan 23, 2014 at 11:35 AM, Tero Siironen izer...@gmail.com wrote:
  I have PushUpMenu in my app which currently has only one item, and in
  some situations also that item should not be visible. How can I hide
  the menu?
  
  I tried to set MenuItem's visibility to false, but that lead to weird
  behaviour; PushUpMenu is still there and empty, but the empty menu can
  be pushed up about screen height. I also tried to use visible property
  in PushUpMenu, but that doesn't seem to hide the menu.
  
  Disabling the MenuItem could be one option, but as it still shows the
  item's label it would be a bit misleading for the user in my
  situation. I would prefer to hide the whole PushUpMenu when there's no
  items that could be used.

-- 
Med venlig hilsen / Best Regards

Thomas Tanghus
___
SailfishOS.org Devel mailing list

Re: [SailfishDevel] Sailfish Browser is now open source!

2014-02-11 Thread Алексей Рочев
Will you open Silica components and other apps too?


2014-02-11 15:37 GMT+04:00 Andrey Kozhevnikov coderusin...@gmail.com:

 Thank you. Finally i can contribute :D


 On 11.02.2014 17:31, Vesa-Matti Hartikainen wrote:

 Hi all,

  We finally got all the preparations done and today is the day. Sailfish
 Browser is Jolla's first fully open source application! The public
 repository is here: https://github.com/sailfishos/sailfish-browser

  We intend to work as open as possible and hope to gain contributors and
 a better chance of getting our embedding accepted to Mozilla upstream.

  Future contributions, both internal and external should go to the public
 repository. I hope that we will get a public bugzilla for this project at
 some point, but at the moment externally we will use Github's issue tracker.

  A more in depth description of the technology powering the browser can
 be found at http://blog.idempotent.info/posts/whats-behind-sailfish-
 browser.html.

 On behalf of Jolla's browser team I thank you all for being an awesome
 community and we are very much looking forward to building a great browser
 together!


 ___
 SailfishOS.org Devel mailing list

___
SailfishOS.org Devel mailing list

Re: [SailfishDevel] Python and Qt Widgets development possible?

2014-02-11 Thread Dietmar Schwertberger

Am 11.02.2014 16:51, schrieb Marcin M.:
 Don't know much about Qt theming capability but you could try 
installing some custom theme for plain Qt, as Maemo does. But sitll 
there'll be no native lookfeel



Themes would only change the look.
Things like dialogs, multiple windows, menus etc. still would not behave 
as expected.


Regards,

Dietmar


___
SailfishOS.org Devel mailing list


Re: [SailfishDevel] Python and Qt Widgets development possible?

2014-02-11 Thread Marcin M.
But they could make the UI usable on mobile phones, as it's done in
Fremantle. I can send you a screenshot with the app themed and not themed.

--
Marcin


2014-02-11 19:07 GMT+01:00 Dietmar Schwertberger maill...@schwertberger.de
:

 Am 11.02.2014 16:51, schrieb Marcin M.:

   Don't know much about Qt theming capability but you could try installing
 some custom theme for plain Qt, as Maemo does. But sitll there'll be no
 native lookfeel

  Themes would only change the look.
 Things like dialogs, multiple windows, menus etc. still would not behave
 as expected.


 Regards,

 Dietmar


 ___
 SailfishOS.org Devel mailing list

___
SailfishOS.org Devel mailing list

Re: [SailfishDevel] Does sailfish run wine?

2014-02-11 Thread A. Wickert

There is a prototype of Wine build against Bionic:
http://wiki.winehq.org/FOSDEM2014?action=AttachFiledo=gettarget=wine-on-android-fosdem-2014.pdf

On 11/02/14 15:07, Timur Kristóf wrote:

Of course, if you also bring in XWayland. :P


On Tue, Feb 11, 2014 at 2:25 PM, Benoît HERVIER kher...@khertan.net 
mailto:kher...@khertan.net wrote:


Or Windows x86 application if you run Sailfish on x86 cpu. :p

In fact, no. Currently,  wine depends on libx11. So i don't think
even arm application will run.

---
Benoît HERVIER - http://khertan.net/

Le 2014-02-11 12:42, Andrey Kozhevnikov a écrit :

Yes. Windows ARM applications :D
And please don't use developer mailing list for not relevant
questions :)

On 11.02.2014 17:38, David Jensen wrote:

Since Sailfish is Linux, does Wine, and therefore Windows
programs run on it?





David Jensen

  ___
SailfishOS.org Devel mailing list


___
SailfishOS.org Devel mailing list

___
SailfishOS.org Devel mailing list




___
SailfishOS.org Devel mailing list


___
SailfishOS.org Devel mailing list

Re: [SailfishDevel] Python and Qt Widgets development possible?

2014-02-11 Thread Dietmar Schwertberger

Am 11.02.2014 20:14, schrieb Marcin M.:
But they could make the UI usable on mobile phones, as it's done in 
Fremantle. I can send you a screenshot with the app themed and not themed.



I tried my Maemo/Fremantle app without a theme.
As I would like to stay compatible to Maemo and Windows, I would prefer 
the QtWidgets solution for some time.


The major problems:
 - When I open a second window, on Maemo I use the stacked windows 
attribute. On Sailfish that's not available, so a second window opens. 
The second window then is shown on its own in the multitasking view. 
This could probably be fixed using QStackedWidgets, though.
 - The menu bar is shown just like in Windows not as pulleye. When you 
open the menu, again a full window is opened.


If that could be fixed using a theme, that would really be cool, but I 
have my doubts that this is possible.
If I had the same problems on Windows, I would assume that I could get 
the (window) handles of the underlying windows/widgets/whatever and do 
some win32 calls to fix the problems. Maybe on Sailfish that's possible 
as well, but there's no documentation...



Regards,

Dietmar


___
SailfishOS.org Devel mailing list


Re: [SailfishDevel] Python and Qt Widgets development possible?

2014-02-11 Thread Mikael Hermansson
On Tuesday 11 February 2014 21.15.48 Dietmar Schwertberger wrote:
 Am 11.02.2014 20:14, schrieb Marcin M.:
  But they could make the UI usable on mobile phones, as it's done in
  Fremantle. I can send you a screenshot with the app themed and not themed.
 

You better ask yourself this:

 1. If endusers have to download from thirdparty warehouse that provides 
QtWidgets+XWayland less users will use you app.
2. I doubt QtWidgets apps will be userfriendly  and probadly not integrate 
well with sailfishUI and slow since already stated QtWidget is not accelerated 
on embedded platforms.
3. And why not learn QML(for the UI) when  linux desktop OS:es will use QML 
more frequently lately? for example ubuntu unity and KDEFramework5? That way 
you still can use QtWidgets on windows until QML2 ported to windows8.

Its new times get over it think fresh think new ;)

Just IMHO... 

Regards

Mikael

-- 
Skickat från Lenovo Thinkpad X230 running Kubuntu desktop
___
SailfishOS.org Devel mailing list


[SailfishDevel] How to get the screen capture but don't block UI

2014-02-11 Thread itviewer
Dear all,

I need the screen capture function in my application . There are two 
applications (screenshot and  opensource sailshotme) in the jolla store. 

From the sailshotme, I know that  can call the saveScreenshot method of 
org.nemomobile.lipstick through dbus, such as the command:

dbus-send --session --type=method_call --print-reply 
--dest=org.nemomobile.lipstick /org/nemomobile/lipstick/screenshot 
org.nemomobile.lipstick.saveScreenshot  string:/home/nemo/Pictures/123.png 

but, using the sailshotme or the above mentioned command will lead to the UI 
blocking of sailfish system, the screen will not response within 
a few seconds, however, it seems that there is no such blocking when using the 
screenshot.
so I want to know the mechanism of the screenshot?

BestRegards 



ma xinjun___
SailfishOS.org Devel mailing list

Re: [SailfishDevel] How to get the screen capture but don't block UI

2014-02-11 Thread Andrey Kozhevnikov

using Qt DBus classes and not use system() call?

On 12.02.2014 12:08, itviewer wrote:

Dear all,
I need the screen capture function in my application . There are two 
applications (screenshot and  opensource sailshotme) in the jolla store.
From the sailshotme, I know that  can call the saveScreenshot method 
of org.nemomobile.lipstick through dbus, such as the command:
dbus-send --session --type=method_call --print-reply 
--dest=org.nemomobile.lipstick /org/nemomobile/lipstick/screenshot 
org.nemomobile.lipstick.saveScreenshot 
string:/home/nemo/Pictures/123.png 
but, using the sailshotme or the above mentioned command will lead 
to the UI blocking of sailfish system, the screen will not response 
within
a few seconds, however, it seems that there is no such blocking when 
using the screenshot.

so I want to know the mechanism of the screenshot?
BestRegards

ma xinjun


___
SailfishOS.org Devel mailing list


___
SailfishOS.org Devel mailing list