Re: [SailfishDevel] Removing libcontextkit-statefs-qt5.so from allowed libraries

2020-05-14 Thread Pekka Vuorela
On Thu, 2020-05-14 at 09:03 +0200, Thomas Tanghus wrote: > On Thursday, 14 May 2020 08.37 Pekka Vuorela wrote: > > Alternative is to switch to other methods, e.g. dbus-send or more > > specific command line tools. Mcetool for example can tell the > > battery > &g

Re: [SailfishDevel] Removing libcontextkit-statefs-qt5.so from allowed libraries

2020-05-13 Thread Pekka Vuorela
On Wed, 2020-05-13 at 20:41 +0300, rinigus wrote: > Hi Pekka, > > with the respect of statefs plans, I would like to ask if it is > planned to phase out /run/state/namespaces/ API in future. I am using > it in collectd to log battery, bluetooth, cellular, and internet data > in the corresponding p

[SailfishDevel] Removing libcontextkit-statefs-qt5.so from allowed libraries

2020-05-13 Thread Pekka Vuorela
Hello, As you might have noticed, we've been lately migrating away from the Statefs based ContextKit API implementation. The QML interface already got rewritten in 3.3.0 as a simpler version that doesn't need a background daemon [1]. Ideally, and hopefully, applications using that module should ke

Re: [SailfishDevel] Flatpak for Sailfish

2020-01-07 Thread Pekka Vuorela
On Tue, 2020-01-07 at 11:42 +0200, rinigus wrote: > Pekka, > > thanks for the swift reply! > > > > > - is SFOS keyboard drawn by Lipstick? > > > > Keyboard running in its own process, maliit-server. > > But something is drawing it on the screen via QML. Is that the server > and Lipstick jus

Re: [SailfishDevel] Flatpak for Sailfish

2020-01-07 Thread Pekka Vuorela
On Tue, 2020-01-07 at 09:30 +0200, rinigus wrote: > I am working on adding Maliit into Flatpak sandbox. Idea is to use > Maliit plugin on Flatpak side and via DBus communicate with SFOS > keyboard. However, I make few assumptions and would be like to get > some background info: > > - is SFOS keybo

Re: [SailfishDevel] Slilica.Clipboard

2019-12-11 Thread Pekka Vuorela
On Wed, 2019-12-11 at 12:53 +0100, Thomas Tanghus wrote: > On Tuesday, 10 December 2019 21.54 Thomas Tanghus wrote: > > I was playing a bit with the Clipboard module, just to see how it > > works, > > > > So: How can it be that it's triggered by Sailfish Connect and not > > any > > other apps? >

Re: [SailfishDevel] settings through Settings > Apps > application

2019-12-11 Thread Pekka Vuorela
On Wed, 2019-12-11 at 14:42 +0200, E.S. Rosenberg wrote: > Hi all, > The question is as the title, if I want to add settings the > "official" SFOS way how do I do it? > I didn't see any examples of this in the sfos/silica documentation. Sorry, but officially you cannot at the moment. Unofficially

Re: [SailfishDevel] Armenian and Chinese font weight discrepancy

2019-07-19 Thread Pekka Vuorela
On Thu, 2019-07-18 at 14:14 +0200, Tamas Miklos wrote: > Hi, > > I have a native Sailfish app that is now fully localized to various > languages. All works fine except for a few languages that use > special character sets. Armenian and Chinese characters look as if > they were bold all the time

Re: [SailfishDevel] Boolean dependencies in RPM SPEC

2019-05-13 Thread Pekka Vuorela
On Sun, 2019-05-12 at 20:47 +0300, rinigus wrote: > Martin, > > thanks for pointing in this direction. I added %dump in SPEC and the > only reasonable macro that I could see was _repository. So, I added > the following to differentiate the dependencies: > > %if %{_repository} == "sailfish_3.0.2.

[SailfishDevel] Notice on Sailfish OS sharing API

2018-06-07 Thread Pekka Vuorela
endency in .spec file to: nemotransferengine-qt5 >= 0.3.1 Sorry for the inconvenience. -- Pekka Vuorela & development team ___ SailfishOS.org Devel mailing list To unsubscribe, please send a mail to devel-unsubscr...@lists.sailfishos.org

Re: [SailfishDevel] ConfigurationValue default path

2018-05-21 Thread Pekka Vuorela
On Mon, 2018-05-21 at 04:45 +, joao morgado via Devel wrote: > Hi Martin > > Thanks for your replay. > I did a very small example, trying to save a rectangle color, but if > fails. When starting, it's always red. Am I missing something ? > > > ConfigurationValue { > id: myse

Re: [SailfishDevel] Linux desktop software on Sailfish?

2018-03-06 Thread Pekka Vuorela
On Thu, 2018-03-01 at 23:14 +0100, Dietmar Schwertberger wrote: > Hi! > > In the last days Planet Computers started shipping the Gemini PDA > which > has Android installed by default but features a Linux dual boot > option. > There will be an option to install Sailfish OS as the Linux OS. > > Fo

Re: [SailfishDevel] keyboard development

2018-03-06 Thread Pekka Vuorela
On Wed, 2018-02-28 at 21:14 +0200, rinigus wrote: > Hi, > > I have a question regarding the longer term plans for keyboard > development in SFOS. Namely, @martonmiklos has brought over Presage > predictor to SFOS and already published keyboard using this library. > I think its a great development

Re: [SailfishDevel] hunspell

2018-03-06 Thread Pekka Vuorela
On Tue, 2018-02-27 at 15:35 +0200, rinigus wrote: > For those who are interested in up-to-date hunspell, I have packaged > it under https://github.com/rinigus/pkg-hunspell with the builds > available at https://build.merproject.org/package/show/home:rinigus:k > eyboard/hunspell . > > Packaging scr

Re: [SailfishDevel] How to access the text edit widget from an input method?

2018-02-20 Thread Pekka Vuorela
On Mon, 2018-02-19 at 17:52 +0200, Camil Băncioiu wrote: > I'm editing the QML files that belong to the virtual keyboard to add > some extra functionality. Would it be possible to somehow to change > the font of the widget that is receiving the keyboard input? I'm > currently editing KeyboardBase.q

Re: [SailfishDevel] Mer PIM build questions

2018-01-18 Thread Pekka Vuorela
On Thu, 2018-01-18 at 12:57 +0100, Lukáš Karas wrote: > > Now the main question - when I try to build mer-core/timed, there are > few > `*.type` files that should be compiled by `iodata-qt5-type-to-c++` > tool. > But how this should be done in the build? In > src/server/server.pro:17 > is defin

Re: [SailfishDevel] libicu

2017-12-22 Thread Pekka Vuorela
On Thu, 2017-12-21 at 21:33 +0200, rinigus wrote: > Hi, > > when using non-Qt libraries, its sometimes required to link to libicu > with its friends. When distributing applications linking to it, you > end up with 25MB of library data that is also provided in the system. > On my device, there are

Re: [SailfishDevel] fonts in Sailfish

2017-05-05 Thread Pekka Vuorela
On pe, 2017-05-05 at 13:43 +0300, rinigus wrote: > Hi, > > I am developing an application that has to have an access to the > fonts covering all languages. While coverage of the fonts distributed > with SFOS has improved in 2.1, I still get failure with rendering > Sinhala in QML. Probably some ot

Re: [SailfishDevel] QtLocstion (5.6) | Re: SDK version 1701 (2.1.0) is released to Early Access

2017-02-13 Thread Pekka Vuorela
On la, 2017-02-11 at 13:58 +0100, micu wrote: > >    * Qt 5.6 module imports allowed > > When I try out the new SDK with my app, I still get:  > > > > > Requires > > > > ERROR [libQt5Location.so.5] Cannot require shared library: > > 'libQt5Location.so.5' ERROR [qt5-plugin-geoservices-o

Re: [SailfishDevel] Building Qt Messaging Framework (QMF)

2016-12-27 Thread Pekka Vuorela
On ti, 2016-12-27 at 14:36 +0100, Erik Lundin wrote: > Hi all, > > In my attempts to examine a problem with an incorrectly interpreted > email address, I'm trying to build Qt Messaging Framework (QMF) [1] > [1] https://git.merproject.org/mer-core/qmf This could work better: https://git.merproject

Re: [SailfishDevel] Patching bluetooth keyboard

2016-01-26 Thread Pekka Vuorela
On ti, 2016-01-26 at 00:03 +0100, Kim Foder wrote: > Hi > > I have a Rii mini pocket keyboard with English layout, and would like > to patch > the keyboard layout to be able to enter the national characters for > Denmark (æ > ø å). I would like to make alt+o => ø, alt+a => å etc. > > From what

Re: [SailfishDevel] German Keyboard lacks "ß"

2015-11-26 Thread Pekka Vuorela
On to, 2015-11-26 at 14:29 +, Mike Gabriel wrote: > My Jolla phone has arrived recently and after I have been playing > with > it for a while, I would love to start reporting various issues. > > One, for example is: the German keyboard layout lacks the > German-essential letter "ß" (ASCII

Re: [SailfishDevel] Determine keyboard locale

2015-11-25 Thread Pekka Vuorela
On ke, 2015-11-25 at 11:00 +0100, Matthias Fehring wrote: > Hello list, > > is there a way to query the locale of the currently used keyboard in > QML? > > Qt.inputMethod.locale.name returns only "C", whatever keyboard is > used. Unfortunately no proper way at the moment. Should implement suppor

Re: [SailfishDevel] Provide onLinkActiviated in DetailItem.value?

2015-06-26 Thread Pekka Vuorela
pe, 2015-06-26 kello 12:30 +0200, Andrea Scarpino kirjoitti: > Hi, > would be possible to propagate value.onLinkActiviated signal in > DetailItem? > I guess that singnal also requires the value.textFormat to be > Text.RichText (maybe this is a stopper?) > > > > But it would allow links to be "cl

Re: [SailfishDevel] Running application with customized environment using invoker

2015-04-22 Thread Pekka Vuorela
ke, 2015-04-22 kello 14:23 +0600, Dmitriy Purgin kirjoitti: > Hi all, > > > I'm trying to make a .desktop file that launches an application with > customized LANG environment variable. I came up with the > following .desktop file (irrelevant entries removed): > > > [Desktop Entry] > Type=Applic

Re: [SailfishDevel] Problem with SearchField hiding and clearing on text entry

2015-02-17 Thread Pekka Vuorela
ma, 2015-02-16 kello 15:49 +0100, Tadeusz Sośnierz kirjoitti: > Hey, > I started writing myself a little app with D&D spell list. Worked well > enough until I tried the search functionality. I'm using SilicaListView > with SearchField in it to grep through the QSqlTableModel, and when I > type one

Re: [SailfishDevel] TextArea | Using EnterKey.onClicked

2015-02-06 Thread Pekka Vuorela
to, 2015-02-05 kello 20:11 -0300, Nicolas Cisco kirjoitti: > I try using the qml Keys api: > > > TextArea { >id: textArea >EnterKey.onClicked: console.log("EnterKey.onClicked") >Key.onEnterPressed: console.log("Key.onEnterPressed") > >Key.onPressed: console.

Re: [SailfishDevel] RegExpValidator - different behaviour between Emulator and Jolla device

2015-01-21 Thread Pekka Vuorela
ke, 2015-01-21 kello 15:02 +0100, Thomas Amler kirjoitti: > Hi, > > I have a problem concerning the RegExpValidator of a TextField. This is > the code: > > TextField { > id: cameraManufacturer > width: parent.width > label: qsTr("Ma

Re: [SailfishDevel] custom autocomplete?

2014-11-17 Thread Pekka Vuorela
pe, 2014-11-14 kello 17:21 +, fasza2mob...@gmail.com kirjoitti: > Hi Pekka, are there any plans to add this feature? There are a lot of use > cases where it would be extremely handy in 3rd party apps. > > > > I have a TextInput where the user enters host names and/or IP addresses. > > > So

Re: [SailfishDevel] custom autocomplete?

2014-11-14 Thread Pekka Vuorela
to, 2014-11-13 kello 19:09 +0100, Victor Mataré kirjoitti: > Hi all, > > I have a TextInput where the user enters host names and/or IP addresses. So > naturally, I'd like to offer some mechanism that allows the user to quickly > pick from recently used entries. GUI-wise, the best way to do that

Re: [SailfishDevel] Add locale support to jolla calendar

2014-11-14 Thread Pekka Vuorela
to, 2014-11-13 kello 23:43 +0200, E.S. Rosenberg kirjoitti: > Well I solved it and now it's dependent on the locale (which by > default is not set on Jolla) so: > 1. I am more then happy to submit my patches to Jolla, though you guys > claim 'closed source' every file I edited had a BSD license at

Re: [SailfishDevel] read/write to contacts and calendar

2014-11-13 Thread Pekka Vuorela
to, 2014-11-13 kello 15:24 +0200, Kaj-Michael Lang kirjoitti: > On to, 2014-11-13 at 14:14 +0200, Pekka Vuorela wrote: > > Calendar is privileged data and cannot be currently accessed by third > > party applications. > > Are there any plans on allowing some kind of acce

Re: [SailfishDevel] Add locale support to jolla calendar

2014-11-13 Thread Pekka Vuorela
to, 2014-11-13 kello 02:25 +0200, E.S. Rosenberg kirjoitti: > Hi all, > > I'm trying to add support for locale (or at least firstDayOfWeek) to > jolla-calendar, in the MonthPage.qml file I successfully made the day > labels depend on the locale, but to actually shift all the dates over > seems to

Re: [SailfishDevel] read/write to contacts and calendar

2014-11-13 Thread Pekka Vuorela
ke, 2014-11-12 kello 19:18 +0100, Wim de Vries kirjoitti: > Hi, > I have been searching a lot, went through this mailing list, etc, > but is still unclear to me how I can > read/write contacts and calendar in Qt5. > QMobility is obsolete (Qt4.7). > Should I use dbus. If so, is there documentation

Re: [SailfishDevel] Undo in SailfishOS apps

2014-10-16 Thread Pekka Vuorela
ke, 2014-10-15 kello 16:18 +0200, ulf.sw...@e.mail.de kirjoitti: > Hi, > > I wanted to use the QUndo framework (QUndoCommand, QUndoStack) in my app... > but the SailfishOS-SDK doesn't allow access to the QWidgets directly by > default. > > I could enable that, but as I understand use of QWidgets

Re: [SailfishDevel] Virtual keyboard background

2014-08-18 Thread Pekka Vuorela
Mon, 2014-08-18 kello 11:30 +0300, Sailfish Developer kirjoitti: > Hey, > > I was wondering am I able to change the background for the virtual > keyboard? I suppose I need the universal height of it and a way to get > under it. But what I've tried it seems that the keyboard is pushing > the area f

Re: [SailfishDevel] How to clear the predicted text in a text field

2014-05-12 Thread Pekka Vuorela
Sun, 2014-05-11 kello 13:06 +0200, Matthias Fehring kirjoitti: > Hello list, > > when I write something in a TextArea and there is a text prediction, the > prediction ist still shown after clearing the TextArea (text = ""). How can I > clear the prediction in the text field, too? Ideally this s

Re: [SailfishDevel] Howto activate scrolling when the keyboard shows up ?

2014-05-06 Thread Pekka Vuorela
Tue, 2014-05-06 kello 07:23 +0200, Matthias Barmeier kirjoitti: > Hi, > > When trying to implement a simple dialog I got the problem that the > keyboard hides the lower half of my dialog. > I tried several things found but nothing worked. > > Could some one leave me a hint where to look or a cod

Re: [SailfishDevel] Haptic feedback for silica components, or lack thereof.

2014-02-10 Thread Pekka Vuorela
On Sat, 2014-02-08 at 19:31 +0100, Luciano Montanaro wrote: > Hello, everybody, > > I have spent the afternoon playing with my calculator application. > Using it, I realised it needs some feedback to the user, since > pressing the keys obscure them, and the highlighting is mostly lost. > > So I c

Re: [SailfishDevel] Interacting with the Sailfish Software Input Panel from code

2014-01-28 Thread Pekka Vuorela
On Tue, 2014-01-28 at 17:14 +0100, christopher.l...@thurweb.ch wrote: > Hi all > > Is there any way to interact with the Jolla Software Input Panel > (Visual Keyboard9 from Code? > > i.e. > Are any signals emitted when it opens / closes? > > Are there any methods to open and close it? > > Har

Re: [SailfishDevel] How can I setup calendar access via QML ?

2014-01-27 Thread Pekka Vuorela
On Sat, 2014-01-25 at 17:48 +0100, Ove Kåven wrote: > Den 25. jan. 2014 13:55, skrev Matthias Barmeier: > > Hi, > > > > do you mean that all these packages: > > > > qt5-qtdeclarative-pim-organizer [...] > > are obsolete or am I unable to use them from QML ? > > Like Andrey, I'm convinced they are

Re: [SailfishDevel] Adding localization to sailfish app

2014-01-09 Thread Pekka Vuorela
On Thu, 2014-01-09 at 14:59 +0100, Thomas Tanghus wrote: > On Thursday 09 January 2014 14:36 Luciano Montanaro wrote: > > From the shipped application desktop files it looks like that is the way. > > Didn't even think of looking there. It seems only a few apps are translated > that way: > > $

Re: [SailfishDevel] Custom software input panel in QML

2013-12-30 Thread Pekka Vuorela
On Fri, 2013-12-27 at 19:39 +0600, Andrey Kozhevnikov wrote: > Hello! > > Is there are way to override software input panel in qt5? > In harmattan i used inputContext.customSoftwareInputPanelComponent in > QML which replaces SoftwareInputPanel component You can set enableSoftwareInputPanel to fa

Re: [SailfishDevel] Accent with maliit keyboard

2013-12-02 Thread Pekka Vuorela
On Mon, 2013-12-02 at 15:03 +0100, Damien Caliste wrote: > Hello, > >Sorry for the double posting, I messup with my emails, please prefer > to use this one when replying to me… > >I'm wondering after using the virtual keyboard in the emulator if > typing accents will be convenient or not.