[Bug 1363112] Re: StateSaver is not working on devices

2015-07-16 Thread Robert Bruce Park
** Changed in: ubuntu-ui-toolkit (Ubuntu Vivid) Status: New => Fix Released -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1363112 Title: StateSaver is not working on devices To manage notifi

[Bug 1363112] Re: StateSaver is not working on devices

2015-07-16 Thread Robert Bruce Park
** Changed in: ubuntu-ui-toolkit (Ubuntu) Status: New => Fix Released -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1363112 Title: StateSaver is not working on devices To manage notification

[Bug 1363112] Re: StateSaver is not working on devices

2014-10-24 Thread Tim Peeters
** Changed in: ubuntu-ui-toolkit Status: Fix Committed => Fix Released -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1363112 Title: StateSaver is not working on devices To manage notificatio

[Bug 1363112] Re: StateSaver is not working on devices

2014-10-02 Thread PS Jenkins bot
Fix committed into lp:ubuntu-ui-toolkit/staging at revision None, scheduled for release in ubuntu-ui-toolkit, milestone Unknown ** Changed in: ubuntu-ui-toolkit Status: Confirmed => Fix Committed -- You received this bug notification because you are a member of Ubuntu Bugs, which is subsc

[Bug 1363112] Re: StateSaver is not working on devices

2014-10-02 Thread Bill Filler
I tested the debs from comment 19 and all working as expected! -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1363112 Title: StateSaver is not working on devices To manage notifications about this b

[Bug 1363112] Re: StateSaver is not working on devices

2014-10-02 Thread Zsombor Egri
Exactly, QFile.permissions() returns Qt-format permissions flags, which should not be mixed with UNIX permissions. What I printed out is the same QStandardPaths is having, and both are in Qt format. It's a coincidence that User RWX is the same as UNIX flags :) I filed a bug for QStandardPaths, mea

[Bug 1363112] Re: StateSaver is not working on devices

2014-10-02 Thread Jamie Strandboge
I'm guessing with the logging you are not doing the same comparison. xdg.permissions() and wanted don't have the same number of digits. I suggest looking at http://qt-project.org/doc/qt-4.8/qfile.html and reading the code for QFile.permissions() to make sure your logging is doing exactly the same t

[Bug 1363112] Re: StateSaver is not working on devices

2014-10-02 Thread Zsombor Egri
Jamie, I tried to add the following code to log the file permissions: QStringList runtimeDirs = QStandardPaths::standardLocations(QStandardPaths::RuntimeLocation); QString runtimeDir = (runtimeDirs.size() > 0 && !runtimeDirs[0].isEmpty()) ? runtimeDirs[0] : qgetenv("XDG_RUNTIME_DIR");

[Bug 1363112] Re: StateSaver is not working on devices

2014-10-02 Thread Zsombor Egri
Bill, I have ARM packages for the attached toolkit branch, could you also test with it? Camera app works for me, I can see the states restored (again) and also the state file created. https://launchpad.net/~ubuntu-sdk- team/+archive/ubuntu/testing/+build/6427230 -- You received this bug notifica

[Bug 1363112] Re: StateSaver is not working on devices

2014-10-02 Thread Launchpad Bug Tracker
** Branch linked: lp:~zsombi/ubuntu-ui-toolkit/statesaver_path -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1363112 Title: StateSaver is not working on devices To manage notifications about this b

[Bug 1363112] Re: StateSaver is not working on devices

2014-10-02 Thread Zsombor Egri
So, an iteration gives me the following log: QStandardPaths: wrong permissions on runtime directory /run/user/32011 [StateSaver] No XDG_RUNTIME_DIR path set, cannot create appstate file. The code prints this out is: QStringList runtimeDirs = QStandardPaths::standardLocations(QStandardPaths::R

[Bug 1363112] Re: StateSaver is not working on devices

2014-10-01 Thread Zsombor Egri
I can confirm that QStandardPaths::writableLocation() is the main cause this and bug #1359831 is happening. The method checks whether the path specified is writable, and returns an empty string if cannot chmod +w on the path. The log we captured yesterday was not visible so far, therefore we diid n

[Bug 1363112] Re: StateSaver is not working on devices

2014-10-01 Thread Zsombor Egri
Seems QStandardPath has some problems with XDG_RUNTIME_DIR, investigation continues... -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1363112 Title: StateSaver is not working on devices To manage no

[Bug 1363112] Re: StateSaver is not working on devices

2014-10-01 Thread Bill Filler
** Changed in: ubuntu-ui-toolkit Status: Fix Committed => Confirmed -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1363112 Title: StateSaver is not working on devices To manage notifications

[Bug 1363112] Re: StateSaver is not working on devices

2014-10-01 Thread Bill Filler
using rtm proposed build 75 (latest on krillin) I am still having the same problems as before as reported in comment #2 -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1363112 Title: StateSaver is not

[Bug 1363112] Re: StateSaver is not working on devices

2014-10-01 Thread Zoltan Balogh
** Changed in: ubuntu-ui-toolkit Milestone: None => 10.09 -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1363112 Title: StateSaver is not working on devices To manage notifications about this bu

[Bug 1363112] Re: StateSaver is not working on devices

2014-09-22 Thread Launchpad Bug Tracker
** Branch linked: lp:ubuntu/utopic-proposed/ubuntu-ui-toolkit -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1363112 Title: StateSaver is not working on devices To manage notifications about this bu

[Bug 1363112] Re: StateSaver is not working on devices

2014-09-21 Thread PS Jenkins bot
Fix committed into lp:ubuntu-ui-toolkit/staging at revision None, scheduled for release in ubuntu-ui-toolkit, milestone Unknown ** Changed in: ubuntu-ui-toolkit Status: In Progress => Fix Committed -- You received this bug notification because you are a member of Ubuntu Bugs, which is sub

[Bug 1363112] Re: StateSaver is not working on devices

2014-09-18 Thread Bill Filler
** Tags removed: touch-2014-09-11 ** Tags added: touch-2014-09-25 -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1363112 Title: StateSaver is not working on devices To manage notifications about thi

[Bug 1363112] Re: StateSaver is not working on devices

2014-09-08 Thread Launchpad Bug Tracker
This bug was fixed in the package apparmor-easyprof-ubuntu - 1.2.22 --- apparmor-easyprof-ubuntu (1.2.22) utopic; urgency=medium * Updates for abstract and anonymous socket mediation (LP: #1362199): - ubuntu/*/ubuntu-*: + use dbus-strict and dbus-session-strict abstraction

[Bug 1363112] Re: StateSaver is not working on devices

2014-09-04 Thread Jamie Strandboge
** Changed in: apparmor-easyprof-ubuntu (Ubuntu) Status: Confirmed => In Progress ** Tags removed: touch-2014-09-04 ** Tags added: touch-2014-09-11 -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs

[Bug 1363112] Re: StateSaver is not working on devices

2014-09-04 Thread Bill Filler
** Changed in: camera-app (Ubuntu) Importance: Undecided => High ** Changed in: apparmor-easyprof-ubuntu (Ubuntu) Importance: Undecided => High ** Changed in: apparmor-easyprof-ubuntu (Ubuntu) Assignee: (unassigned) => Jamie Strandboge (jdstrand) -- You received this bug notification

[Bug 1363112] Re: StateSaver is not working on devices

2014-09-04 Thread Launchpad Bug Tracker
This bug was fixed in the package camera-app - 3.0.0+14.10.20140903-0ubuntu1 --- camera-app (3.0.0+14.10.20140903-0ubuntu1) utopic; urgency=low [ MichaƂ Sawicz ] * Add :any to python dependency and install the camera app module in app-private libdir. [ Ugo Riboni ] * Add

[Bug 1363112] Re: StateSaver is not working on devices

2014-09-04 Thread Launchpad Bug Tracker
Status changed to 'Confirmed' because the bug affects multiple users. ** Changed in: apparmor-easyprof-ubuntu (Ubuntu) Status: New => Confirmed -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/136

[Bug 1363112] Re: StateSaver is not working on devices

2014-09-04 Thread Jamie Strandboge
Note, I have never seen a denial against XDG_RUNTIME_DIR/ which is why this hasn't come up prior to now. This path will be allowed in the next version of apparmor-easyprof-ubuntu. ** Also affects: apparmor-easyprof-ubuntu (Ubuntu) Importance: Undecided Status: New ** Changed in: camera-

[Bug 1363112] Re: StateSaver is not working on devices

2014-09-04 Thread Zsombor Egri
Update: seems XDG_RUNTIME_DIR/ folder wasn't added to the policy, so the reason why we couldn't save the state. The policy is being added as we speak, so hopefully we will get it soon. -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. ht

[Bug 1363112] Re: StateSaver is not working on devices

2014-08-29 Thread Bill Filler
Steps to test: - run camera-app - swipe up from bottom to reveal controls - turn on flash and turn on HDR - from a terminal, log in and find pid of camera-app, then do "kill -2 " - camera-app should die - relaunch camera-app Expected results: - when camera is started the flash should be enabled a

[Bug 1363112] Re: StateSaver is not working on devices

2014-08-29 Thread Zsombor Egri
** Changed in: ubuntu-ui-toolkit (Ubuntu) Assignee: (unassigned) => Zsombor Egri (zsombi) ** Changed in: ubuntu-ui-toolkit Assignee: (unassigned) => Zsombor Egri (zsombi) ** Changed in: ubuntu-ui-toolkit (Ubuntu) Assignee: Zsombor Egri (zsombi) => (unassigned) ** Changed in: ubunt

[Bug 1363112] Re: StateSaver is not working on devices

2014-08-29 Thread Bill Filler
We tested on camera-app and gallery-app (both are click) and neither working anymore -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1363112 Title: StateSaver is not working on devices To manage noti