Merge lp:~aacid/unity8/launcher_touch_menu_interaction into lp:unity8

Proposed by Albert Astals Cid
Status: Superseded
Proposed branch: lp:~aacid/unity8/launcher_touch_menu_interaction
Merge into: lp:unity8
Diff against target: 358 lines (+132/-55)
7 files modified
qml/Panel/Panel.qml (+26/-2)
qml/Panel/PanelBar.qml (+1/-2)
qml/Panel/PanelItemRow.qml (+3/-23)
qml/Panel/PanelMenu.qml (+35/-24)
qml/Shell.qml (+9/-1)
tests/qmltests/Panel/tst_Panel.qml (+2/-2)
tests/qmltests/tst_Shell.qml (+56/-1)
To merge this branch: bzr merge lp:~aacid/unity8/launcher_touch_menu_interaction
Reviewer Review Type Date Requested Status
Unity8 CI Bot continuous-integration Approve
Lukáš Tinkl (community) Needs Fixing
Michael Zanetti (community) Needs Fixing
Review via email: mp+319331@code.launchpad.net

This proposal has been superseded by a proposal from 2017-03-16.

Commit message

Improve Launcher ←→ touch menu interaction

Needs to move the label from PanelItemRow to Panel because how clipping works in those items (and fixes some other problems too)

If launcher is locked visible:
     * Touch menus show shifted to the right to not overlap
     * Showing the app drawer closes the touch menus
     * Showing the touch menus closes the app drawer

If launcher is not locked visible:
     * Showing the launcher closes the touch menus
     * Showing the touch menus closes the launcher

Description of the change

 * Are there any related MPs required for this MP to build/function as expected?
No

 * Did you perform an exploratory manual test run of your code change and any related functionality?
Yes

 * If you changed the packaging (debian), did you subscribe the ubuntu-unity team to this MP?
N/A

 * If you changed the UI, has there been a design review?
N/A

To post a comment you must log in.
Revision history for this message
Unity8 CI Bot (unity8-ci-bot) wrote :

FAILED: Continuous integration, rev:2840
https://unity8-jenkins.ubuntu.com/job/lp-unity8-ci/3312/
Executed test runs:
    SUCCESS: https://unity8-jenkins.ubuntu.com/job/build/4360
    UNSTABLE: https://unity8-jenkins.ubuntu.com/job/test-0-autopkgtest/label=amd64,release=xenial+overlay,testname=qmluitests.sh/2606
    SUCCESS: https://unity8-jenkins.ubuntu.com/job/test-0-autopkgtest/label=amd64,release=zesty,testname=qmluitests.sh/2606
    SUCCESS: https://unity8-jenkins.ubuntu.com/job/build-0-fetch/4388
    SUCCESS: https://unity8-jenkins.ubuntu.com/job/build-2-binpkg/arch=amd64,release=xenial+overlay/4221
        deb: https://unity8-jenkins.ubuntu.com/job/build-2-binpkg/arch=amd64,release=xenial+overlay/4221/artifact/output/*zip*/output.zip
    SUCCESS: https://unity8-jenkins.ubuntu.com/job/build-2-binpkg/arch=amd64,release=zesty/4221
        deb: https://unity8-jenkins.ubuntu.com/job/build-2-binpkg/arch=amd64,release=zesty/4221/artifact/output/*zip*/output.zip
    SUCCESS: https://unity8-jenkins.ubuntu.com/job/build-2-binpkg/arch=armhf,release=xenial+overlay/4221
        deb: https://unity8-jenkins.ubuntu.com/job/build-2-binpkg/arch=armhf,release=xenial+overlay/4221/artifact/output/*zip*/output.zip
    SUCCESS: https://unity8-jenkins.ubuntu.com/job/build-2-binpkg/arch=armhf,release=zesty/4221
        deb: https://unity8-jenkins.ubuntu.com/job/build-2-binpkg/arch=armhf,release=zesty/4221/artifact/output/*zip*/output.zip
    SUCCESS: https://unity8-jenkins.ubuntu.com/job/build-2-binpkg/arch=i386,release=xenial+overlay/4221
        deb: https://unity8-jenkins.ubuntu.com/job/build-2-binpkg/arch=i386,release=xenial+overlay/4221/artifact/output/*zip*/output.zip
    SUCCESS: https://unity8-jenkins.ubuntu.com/job/build-2-binpkg/arch=i386,release=zesty/4221
        deb: https://unity8-jenkins.ubuntu.com/job/build-2-binpkg/arch=i386,release=zesty/4221/artifact/output/*zip*/output.zip

Click here to trigger a rebuild:
https://unity8-jenkins.ubuntu.com/job/lp-unity8-ci/3312/rebuild

review: Needs Fixing (continuous-integration)
Revision history for this message
Unity8 CI Bot (unity8-ci-bot) wrote :

PASSED: Continuous integration, rev:2841
https://unity8-jenkins.ubuntu.com/job/lp-unity8-ci/3317/
Executed test runs:
    SUCCESS: https://unity8-jenkins.ubuntu.com/job/build/4365
    SUCCESS: https://unity8-jenkins.ubuntu.com/job/test-0-autopkgtest/label=amd64,release=xenial+overlay,testname=qmluitests.sh/2611
    SUCCESS: https://unity8-jenkins.ubuntu.com/job/test-0-autopkgtest/label=amd64,release=zesty,testname=qmluitests.sh/2611
    SUCCESS: https://unity8-jenkins.ubuntu.com/job/build-0-fetch/4393
    SUCCESS: https://unity8-jenkins.ubuntu.com/job/build-2-binpkg/arch=amd64,release=xenial+overlay/4226
        deb: https://unity8-jenkins.ubuntu.com/job/build-2-binpkg/arch=amd64,release=xenial+overlay/4226/artifact/output/*zip*/output.zip
    SUCCESS: https://unity8-jenkins.ubuntu.com/job/build-2-binpkg/arch=amd64,release=zesty/4226
        deb: https://unity8-jenkins.ubuntu.com/job/build-2-binpkg/arch=amd64,release=zesty/4226/artifact/output/*zip*/output.zip
    SUCCESS: https://unity8-jenkins.ubuntu.com/job/build-2-binpkg/arch=armhf,release=xenial+overlay/4226
        deb: https://unity8-jenkins.ubuntu.com/job/build-2-binpkg/arch=armhf,release=xenial+overlay/4226/artifact/output/*zip*/output.zip
    SUCCESS: https://unity8-jenkins.ubuntu.com/job/build-2-binpkg/arch=armhf,release=zesty/4226
        deb: https://unity8-jenkins.ubuntu.com/job/build-2-binpkg/arch=armhf,release=zesty/4226/artifact/output/*zip*/output.zip
    SUCCESS: https://unity8-jenkins.ubuntu.com/job/build-2-binpkg/arch=i386,release=xenial+overlay/4226
        deb: https://unity8-jenkins.ubuntu.com/job/build-2-binpkg/arch=i386,release=xenial+overlay/4226/artifact/output/*zip*/output.zip
    SUCCESS: https://unity8-jenkins.ubuntu.com/job/build-2-binpkg/arch=i386,release=zesty/4226
        deb: https://unity8-jenkins.ubuntu.com/job/build-2-binpkg/arch=i386,release=zesty/4226/artifact/output/*zip*/output.zip

Click here to trigger a rebuild:
https://unity8-jenkins.ubuntu.com/job/lp-unity8-ci/3317/rebuild

review: Approve (continuous-integration)
Revision history for this message
Michael Zanetti (mzanetti) wrote :

2 small inline comments.

Wouldn't mind a test that runs once with launcher.lockedVisible and once without it, then checks if the offset of the menu is what it should be.

review: Needs Fixing
Revision history for this message
Michael Zanetti (mzanetti) wrote :

I've tested it, seems it's working fine.

2842. By Albert Astals Cid

Review tweaks

2843. By Albert Astals Cid

Test for touch menu position

2844. By Albert Astals Cid

Test for launcher/appdrawer hiding the touch menus

Revision history for this message
Unity8 CI Bot (unity8-ci-bot) wrote :

PASSED: Continuous integration, rev:2842
https://unity8-jenkins.ubuntu.com/job/lp-unity8-ci/3320/
Executed test runs:
    SUCCESS: https://unity8-jenkins.ubuntu.com/job/build/4370
    SUCCESS: https://unity8-jenkins.ubuntu.com/job/test-0-autopkgtest/label=amd64,release=xenial+overlay,testname=qmluitests.sh/2615
    SUCCESS: https://unity8-jenkins.ubuntu.com/job/test-0-autopkgtest/label=amd64,release=zesty,testname=qmluitests.sh/2615
    SUCCESS: https://unity8-jenkins.ubuntu.com/job/build-0-fetch/4398
    SUCCESS: https://unity8-jenkins.ubuntu.com/job/build-2-binpkg/arch=amd64,release=xenial+overlay/4231
        deb: https://unity8-jenkins.ubuntu.com/job/build-2-binpkg/arch=amd64,release=xenial+overlay/4231/artifact/output/*zip*/output.zip
    SUCCESS: https://unity8-jenkins.ubuntu.com/job/build-2-binpkg/arch=amd64,release=zesty/4231
        deb: https://unity8-jenkins.ubuntu.com/job/build-2-binpkg/arch=amd64,release=zesty/4231/artifact/output/*zip*/output.zip
    SUCCESS: https://unity8-jenkins.ubuntu.com/job/build-2-binpkg/arch=armhf,release=xenial+overlay/4231
        deb: https://unity8-jenkins.ubuntu.com/job/build-2-binpkg/arch=armhf,release=xenial+overlay/4231/artifact/output/*zip*/output.zip
    SUCCESS: https://unity8-jenkins.ubuntu.com/job/build-2-binpkg/arch=armhf,release=zesty/4231
        deb: https://unity8-jenkins.ubuntu.com/job/build-2-binpkg/arch=armhf,release=zesty/4231/artifact/output/*zip*/output.zip
    SUCCESS: https://unity8-jenkins.ubuntu.com/job/build-2-binpkg/arch=i386,release=xenial+overlay/4231
        deb: https://unity8-jenkins.ubuntu.com/job/build-2-binpkg/arch=i386,release=xenial+overlay/4231/artifact/output/*zip*/output.zip
    SUCCESS: https://unity8-jenkins.ubuntu.com/job/build-2-binpkg/arch=i386,release=zesty/4231
        deb: https://unity8-jenkins.ubuntu.com/job/build-2-binpkg/arch=i386,release=zesty/4231/artifact/output/*zip*/output.zip

Click here to trigger a rebuild:
https://unity8-jenkins.ubuntu.com/job/lp-unity8-ci/3320/rebuild

review: Approve (continuous-integration)
Revision history for this message
Unity8 CI Bot (unity8-ci-bot) wrote :

FAILED: Continuous integration, rev:2844
https://unity8-jenkins.ubuntu.com/job/lp-unity8-ci/3324/
Executed test runs:
    SUCCESS: https://unity8-jenkins.ubuntu.com/job/build/4374
    UNSTABLE: https://unity8-jenkins.ubuntu.com/job/test-0-autopkgtest/label=amd64,release=xenial+overlay,testname=qmluitests.sh/2617
    UNSTABLE: https://unity8-jenkins.ubuntu.com/job/test-0-autopkgtest/label=amd64,release=zesty,testname=qmluitests.sh/2617
    SUCCESS: https://unity8-jenkins.ubuntu.com/job/build-0-fetch/4402
    SUCCESS: https://unity8-jenkins.ubuntu.com/job/build-2-binpkg/arch=amd64,release=xenial+overlay/4235
        deb: https://unity8-jenkins.ubuntu.com/job/build-2-binpkg/arch=amd64,release=xenial+overlay/4235/artifact/output/*zip*/output.zip
    SUCCESS: https://unity8-jenkins.ubuntu.com/job/build-2-binpkg/arch=amd64,release=zesty/4235
        deb: https://unity8-jenkins.ubuntu.com/job/build-2-binpkg/arch=amd64,release=zesty/4235/artifact/output/*zip*/output.zip
    SUCCESS: https://unity8-jenkins.ubuntu.com/job/build-2-binpkg/arch=armhf,release=xenial+overlay/4235
        deb: https://unity8-jenkins.ubuntu.com/job/build-2-binpkg/arch=armhf,release=xenial+overlay/4235/artifact/output/*zip*/output.zip
    SUCCESS: https://unity8-jenkins.ubuntu.com/job/build-2-binpkg/arch=armhf,release=zesty/4235
        deb: https://unity8-jenkins.ubuntu.com/job/build-2-binpkg/arch=armhf,release=zesty/4235/artifact/output/*zip*/output.zip
    SUCCESS: https://unity8-jenkins.ubuntu.com/job/build-2-binpkg/arch=i386,release=xenial+overlay/4235
        deb: https://unity8-jenkins.ubuntu.com/job/build-2-binpkg/arch=i386,release=xenial+overlay/4235/artifact/output/*zip*/output.zip
    SUCCESS: https://unity8-jenkins.ubuntu.com/job/build-2-binpkg/arch=i386,release=zesty/4235
        deb: https://unity8-jenkins.ubuntu.com/job/build-2-binpkg/arch=i386,release=zesty/4235/artifact/output/*zip*/output.zip

Click here to trigger a rebuild:
https://unity8-jenkins.ubuntu.com/job/lp-unity8-ci/3324/rebuild

review: Needs Fixing (continuous-integration)
Revision history for this message
Michael Zanetti (mzanetti) wrote :

looks like the new test fails in CI

review: Needs Fixing
2845. By Albert Astals Cid

waitForRenderint to stabilize test

Revision history for this message
Unity8 CI Bot (unity8-ci-bot) wrote :

FAILED: Continuous integration, rev:2844
https://unity8-jenkins.ubuntu.com/job/lp-unity8-ci/3326/
Executed test runs:
    SUCCESS: https://unity8-jenkins.ubuntu.com/job/build/4376
    UNSTABLE: https://unity8-jenkins.ubuntu.com/job/test-0-autopkgtest/label=amd64,release=xenial+overlay,testname=qmluitests.sh/2620
    UNSTABLE: https://unity8-jenkins.ubuntu.com/job/test-0-autopkgtest/label=amd64,release=zesty,testname=qmluitests.sh/2620
    SUCCESS: https://unity8-jenkins.ubuntu.com/job/build-0-fetch/4404
    SUCCESS: https://unity8-jenkins.ubuntu.com/job/build-2-binpkg/arch=amd64,release=xenial+overlay/4237
        deb: https://unity8-jenkins.ubuntu.com/job/build-2-binpkg/arch=amd64,release=xenial+overlay/4237/artifact/output/*zip*/output.zip
    SUCCESS: https://unity8-jenkins.ubuntu.com/job/build-2-binpkg/arch=amd64,release=zesty/4237
        deb: https://unity8-jenkins.ubuntu.com/job/build-2-binpkg/arch=amd64,release=zesty/4237/artifact/output/*zip*/output.zip
    SUCCESS: https://unity8-jenkins.ubuntu.com/job/build-2-binpkg/arch=armhf,release=xenial+overlay/4237
        deb: https://unity8-jenkins.ubuntu.com/job/build-2-binpkg/arch=armhf,release=xenial+overlay/4237/artifact/output/*zip*/output.zip
    SUCCESS: https://unity8-jenkins.ubuntu.com/job/build-2-binpkg/arch=armhf,release=zesty/4237
        deb: https://unity8-jenkins.ubuntu.com/job/build-2-binpkg/arch=armhf,release=zesty/4237/artifact/output/*zip*/output.zip
    SUCCESS: https://unity8-jenkins.ubuntu.com/job/build-2-binpkg/arch=i386,release=xenial+overlay/4237
        deb: https://unity8-jenkins.ubuntu.com/job/build-2-binpkg/arch=i386,release=xenial+overlay/4237/artifact/output/*zip*/output.zip
    SUCCESS: https://unity8-jenkins.ubuntu.com/job/build-2-binpkg/arch=i386,release=zesty/4237
        deb: https://unity8-jenkins.ubuntu.com/job/build-2-binpkg/arch=i386,release=zesty/4237/artifact/output/*zip*/output.zip

Click here to trigger a rebuild:
https://unity8-jenkins.ubuntu.com/job/lp-unity8-ci/3326/rebuild

review: Needs Fixing (continuous-integration)
Revision history for this message
Unity8 CI Bot (unity8-ci-bot) wrote :

FAILED: Continuous integration, rev:2845
https://unity8-jenkins.ubuntu.com/job/lp-unity8-ci/3329/
Executed test runs:
    SUCCESS: https://unity8-jenkins.ubuntu.com/job/build/4380
    SUCCESS: https://unity8-jenkins.ubuntu.com/job/test-0-autopkgtest/label=amd64,release=xenial+overlay,testname=qmluitests.sh/2622
    UNSTABLE: https://unity8-jenkins.ubuntu.com/job/test-0-autopkgtest/label=amd64,release=zesty,testname=qmluitests.sh/2622
    SUCCESS: https://unity8-jenkins.ubuntu.com/job/build-0-fetch/4408
    SUCCESS: https://unity8-jenkins.ubuntu.com/job/build-2-binpkg/arch=amd64,release=xenial+overlay/4241
        deb: https://unity8-jenkins.ubuntu.com/job/build-2-binpkg/arch=amd64,release=xenial+overlay/4241/artifact/output/*zip*/output.zip
    SUCCESS: https://unity8-jenkins.ubuntu.com/job/build-2-binpkg/arch=amd64,release=zesty/4241
        deb: https://unity8-jenkins.ubuntu.com/job/build-2-binpkg/arch=amd64,release=zesty/4241/artifact/output/*zip*/output.zip
    SUCCESS: https://unity8-jenkins.ubuntu.com/job/build-2-binpkg/arch=armhf,release=xenial+overlay/4241
        deb: https://unity8-jenkins.ubuntu.com/job/build-2-binpkg/arch=armhf,release=xenial+overlay/4241/artifact/output/*zip*/output.zip
    SUCCESS: https://unity8-jenkins.ubuntu.com/job/build-2-binpkg/arch=armhf,release=zesty/4241
        deb: https://unity8-jenkins.ubuntu.com/job/build-2-binpkg/arch=armhf,release=zesty/4241/artifact/output/*zip*/output.zip
    SUCCESS: https://unity8-jenkins.ubuntu.com/job/build-2-binpkg/arch=i386,release=xenial+overlay/4241
        deb: https://unity8-jenkins.ubuntu.com/job/build-2-binpkg/arch=i386,release=xenial+overlay/4241/artifact/output/*zip*/output.zip
    SUCCESS: https://unity8-jenkins.ubuntu.com/job/build-2-binpkg/arch=i386,release=zesty/4241
        deb: https://unity8-jenkins.ubuntu.com/job/build-2-binpkg/arch=i386,release=zesty/4241/artifact/output/*zip*/output.zip

Click here to trigger a rebuild:
https://unity8-jenkins.ubuntu.com/job/lp-unity8-ci/3329/rebuild

review: Needs Fixing (continuous-integration)
Revision history for this message
Unity8 CI Bot (unity8-ci-bot) wrote :

PASSED: Continuous integration, rev:2845
https://unity8-jenkins.ubuntu.com/job/lp-unity8-ci/3334/
Executed test runs:
    SUCCESS: https://unity8-jenkins.ubuntu.com/job/build/4385
    SUCCESS: https://unity8-jenkins.ubuntu.com/job/test-0-autopkgtest/label=amd64,release=xenial+overlay,testname=qmluitests.sh/2624
    SUCCESS: https://unity8-jenkins.ubuntu.com/job/test-0-autopkgtest/label=amd64,release=zesty,testname=qmluitests.sh/2624
    SUCCESS: https://unity8-jenkins.ubuntu.com/job/build-0-fetch/4413
    SUCCESS: https://unity8-jenkins.ubuntu.com/job/build-2-binpkg/arch=amd64,release=xenial+overlay/4246
        deb: https://unity8-jenkins.ubuntu.com/job/build-2-binpkg/arch=amd64,release=xenial+overlay/4246/artifact/output/*zip*/output.zip
    SUCCESS: https://unity8-jenkins.ubuntu.com/job/build-2-binpkg/arch=amd64,release=zesty/4246
        deb: https://unity8-jenkins.ubuntu.com/job/build-2-binpkg/arch=amd64,release=zesty/4246/artifact/output/*zip*/output.zip
    SUCCESS: https://unity8-jenkins.ubuntu.com/job/build-2-binpkg/arch=armhf,release=xenial+overlay/4246
        deb: https://unity8-jenkins.ubuntu.com/job/build-2-binpkg/arch=armhf,release=xenial+overlay/4246/artifact/output/*zip*/output.zip
    SUCCESS: https://unity8-jenkins.ubuntu.com/job/build-2-binpkg/arch=armhf,release=zesty/4246
        deb: https://unity8-jenkins.ubuntu.com/job/build-2-binpkg/arch=armhf,release=zesty/4246/artifact/output/*zip*/output.zip
    SUCCESS: https://unity8-jenkins.ubuntu.com/job/build-2-binpkg/arch=i386,release=xenial+overlay/4246
        deb: https://unity8-jenkins.ubuntu.com/job/build-2-binpkg/arch=i386,release=xenial+overlay/4246/artifact/output/*zip*/output.zip
    SUCCESS: https://unity8-jenkins.ubuntu.com/job/build-2-binpkg/arch=i386,release=zesty/4246
        deb: https://unity8-jenkins.ubuntu.com/job/build-2-binpkg/arch=i386,release=zesty/4246/artifact/output/*zip*/output.zip

Click here to trigger a rebuild:
https://unity8-jenkins.ubuntu.com/job/lp-unity8-ci/3334/rebuild

review: Approve (continuous-integration)
2846. By Albert Astals Cid

Merge

Revision history for this message
Unity8 CI Bot (unity8-ci-bot) wrote :

PASSED: Continuous integration, rev:2846
https://unity8-jenkins.ubuntu.com/job/lp-unity8-ci/3348/
Executed test runs:
    SUCCESS: https://unity8-jenkins.ubuntu.com/job/build/4404
    SUCCESS: https://unity8-jenkins.ubuntu.com/job/test-0-autopkgtest/label=amd64,release=xenial+overlay,testname=qmluitests.sh/2641
    SUCCESS: https://unity8-jenkins.ubuntu.com/job/test-0-autopkgtest/label=amd64,release=zesty,testname=qmluitests.sh/2641
    SUCCESS: https://unity8-jenkins.ubuntu.com/job/build-0-fetch/4432
    SUCCESS: https://unity8-jenkins.ubuntu.com/job/build-2-binpkg/arch=amd64,release=xenial+overlay/4269
        deb: https://unity8-jenkins.ubuntu.com/job/build-2-binpkg/arch=amd64,release=xenial+overlay/4269/artifact/output/*zip*/output.zip
    SUCCESS: https://unity8-jenkins.ubuntu.com/job/build-2-binpkg/arch=amd64,release=zesty/4269
        deb: https://unity8-jenkins.ubuntu.com/job/build-2-binpkg/arch=amd64,release=zesty/4269/artifact/output/*zip*/output.zip
    SUCCESS: https://unity8-jenkins.ubuntu.com/job/build-2-binpkg/arch=armhf,release=xenial+overlay/4269
        deb: https://unity8-jenkins.ubuntu.com/job/build-2-binpkg/arch=armhf,release=xenial+overlay/4269/artifact/output/*zip*/output.zip
    SUCCESS: https://unity8-jenkins.ubuntu.com/job/build-2-binpkg/arch=armhf,release=zesty/4269
        deb: https://unity8-jenkins.ubuntu.com/job/build-2-binpkg/arch=armhf,release=zesty/4269/artifact/output/*zip*/output.zip
    SUCCESS: https://unity8-jenkins.ubuntu.com/job/build-2-binpkg/arch=i386,release=xenial+overlay/4269
        deb: https://unity8-jenkins.ubuntu.com/job/build-2-binpkg/arch=i386,release=xenial+overlay/4269/artifact/output/*zip*/output.zip
    SUCCESS: https://unity8-jenkins.ubuntu.com/job/build-2-binpkg/arch=i386,release=zesty/4269
        deb: https://unity8-jenkins.ubuntu.com/job/build-2-binpkg/arch=i386,release=zesty/4269/artifact/output/*zip*/output.zip

Click here to trigger a rebuild:
https://unity8-jenkins.ubuntu.com/job/lp-unity8-ci/3348/rebuild

review: Approve (continuous-integration)
Revision history for this message
Lukáš Tinkl (lukas-kde) wrote :

Not entirely sure yet, but I think this branch breaks the panel window title for apps that don't have menus at all - like browser here: https://imgur.com/a/ivPVa

Notice the text being cut from both sides

review: Needs Fixing
Revision history for this message
Lukáš Tinkl (lukas-kde) wrote :

Wonder what's going on here, it seems that it happens only with the browser app? :/

2847. By Albert Astals Cid

Move the Panel "title" from PanelItemRow to Panel

2848. By Albert Astals Cid

Adapt tests

Revision history for this message
Unity8 CI Bot (unity8-ci-bot) wrote :

FAILED: Continuous integration, rev:2847
https://unity8-jenkins.ubuntu.com/job/lp-unity8-ci/3398/
Executed test runs:
    SUCCESS: https://unity8-jenkins.ubuntu.com/job/build/4477
    UNSTABLE: https://unity8-jenkins.ubuntu.com/job/test-0-autopkgtest/label=amd64,release=xenial+overlay,testname=qmluitests.sh/2687
    UNSTABLE: https://unity8-jenkins.ubuntu.com/job/test-0-autopkgtest/label=amd64,release=zesty,testname=qmluitests.sh/2687
    SUCCESS: https://unity8-jenkins.ubuntu.com/job/build-0-fetch/4505
    SUCCESS: https://unity8-jenkins.ubuntu.com/job/build-2-binpkg/arch=amd64,release=xenial+overlay/4332
        deb: https://unity8-jenkins.ubuntu.com/job/build-2-binpkg/arch=amd64,release=xenial+overlay/4332/artifact/output/*zip*/output.zip
    SUCCESS: https://unity8-jenkins.ubuntu.com/job/build-2-binpkg/arch=amd64,release=zesty/4332
        deb: https://unity8-jenkins.ubuntu.com/job/build-2-binpkg/arch=amd64,release=zesty/4332/artifact/output/*zip*/output.zip
    SUCCESS: https://unity8-jenkins.ubuntu.com/job/build-2-binpkg/arch=armhf,release=xenial+overlay/4332
        deb: https://unity8-jenkins.ubuntu.com/job/build-2-binpkg/arch=armhf,release=xenial+overlay/4332/artifact/output/*zip*/output.zip
    SUCCESS: https://unity8-jenkins.ubuntu.com/job/build-2-binpkg/arch=armhf,release=zesty/4332
        deb: https://unity8-jenkins.ubuntu.com/job/build-2-binpkg/arch=armhf,release=zesty/4332/artifact/output/*zip*/output.zip
    SUCCESS: https://unity8-jenkins.ubuntu.com/job/build-2-binpkg/arch=i386,release=xenial+overlay/4332
        deb: https://unity8-jenkins.ubuntu.com/job/build-2-binpkg/arch=i386,release=xenial+overlay/4332/artifact/output/*zip*/output.zip
    SUCCESS: https://unity8-jenkins.ubuntu.com/job/build-2-binpkg/arch=i386,release=zesty/4332
        deb: https://unity8-jenkins.ubuntu.com/job/build-2-binpkg/arch=i386,release=zesty/4332/artifact/output/*zip*/output.zip

Click here to trigger a rebuild:
https://unity8-jenkins.ubuntu.com/job/lp-unity8-ci/3398/rebuild

review: Needs Fixing (continuous-integration)
Revision history for this message
Lukáš Tinkl (lukas-kde) wrote :

Tests have regressed a bit

review: Needs Fixing
Revision history for this message
Unity8 CI Bot (unity8-ci-bot) wrote :

FAILED: Continuous integration, rev:2848
https://unity8-jenkins.ubuntu.com/job/lp-unity8-ci/3400/
Executed test runs:
    SUCCESS: https://unity8-jenkins.ubuntu.com/job/build/4481
    UNSTABLE: https://unity8-jenkins.ubuntu.com/job/test-0-autopkgtest/label=amd64,release=xenial+overlay,testname=qmluitests.sh/2692
    UNSTABLE: https://unity8-jenkins.ubuntu.com/job/test-0-autopkgtest/label=amd64,release=zesty,testname=qmluitests.sh/2692
    SUCCESS: https://unity8-jenkins.ubuntu.com/job/build-0-fetch/4509
    SUCCESS: https://unity8-jenkins.ubuntu.com/job/build-2-binpkg/arch=amd64,release=xenial+overlay/4336
        deb: https://unity8-jenkins.ubuntu.com/job/build-2-binpkg/arch=amd64,release=xenial+overlay/4336/artifact/output/*zip*/output.zip
    SUCCESS: https://unity8-jenkins.ubuntu.com/job/build-2-binpkg/arch=amd64,release=zesty/4336
        deb: https://unity8-jenkins.ubuntu.com/job/build-2-binpkg/arch=amd64,release=zesty/4336/artifact/output/*zip*/output.zip
    SUCCESS: https://unity8-jenkins.ubuntu.com/job/build-2-binpkg/arch=armhf,release=xenial+overlay/4336
        deb: https://unity8-jenkins.ubuntu.com/job/build-2-binpkg/arch=armhf,release=xenial+overlay/4336/artifact/output/*zip*/output.zip
    SUCCESS: https://unity8-jenkins.ubuntu.com/job/build-2-binpkg/arch=armhf,release=zesty/4336
        deb: https://unity8-jenkins.ubuntu.com/job/build-2-binpkg/arch=armhf,release=zesty/4336/artifact/output/*zip*/output.zip
    SUCCESS: https://unity8-jenkins.ubuntu.com/job/build-2-binpkg/arch=i386,release=xenial+overlay/4336
        deb: https://unity8-jenkins.ubuntu.com/job/build-2-binpkg/arch=i386,release=xenial+overlay/4336/artifact/output/*zip*/output.zip
    SUCCESS: https://unity8-jenkins.ubuntu.com/job/build-2-binpkg/arch=i386,release=zesty/4336
        deb: https://unity8-jenkins.ubuntu.com/job/build-2-binpkg/arch=i386,release=zesty/4336/artifact/output/*zip*/output.zip

Click here to trigger a rebuild:
https://unity8-jenkins.ubuntu.com/job/lp-unity8-ci/3400/rebuild

review: Needs Fixing (continuous-integration)
2849. By Albert Astals Cid

panelTitle changed parents

Revision history for this message
Albert Astals Cid (aacid) wrote :

> Tests have regressed a bit

Should be fixed with r2849.

Revision history for this message
Unity8 CI Bot (unity8-ci-bot) wrote :

PASSED: Continuous integration, rev:2849
https://unity8-jenkins.ubuntu.com/job/lp-unity8-ci/3408/
Executed test runs:
    SUCCESS: https://unity8-jenkins.ubuntu.com/job/build/4489
    SUCCESS: https://unity8-jenkins.ubuntu.com/job/test-0-autopkgtest/label=amd64,release=xenial+overlay,testname=qmluitests.sh/2698
    SUCCESS: https://unity8-jenkins.ubuntu.com/job/test-0-autopkgtest/label=amd64,release=zesty,testname=qmluitests.sh/2698
    SUCCESS: https://unity8-jenkins.ubuntu.com/job/build-0-fetch/4517
    SUCCESS: https://unity8-jenkins.ubuntu.com/job/build-2-binpkg/arch=amd64,release=xenial+overlay/4344
        deb: https://unity8-jenkins.ubuntu.com/job/build-2-binpkg/arch=amd64,release=xenial+overlay/4344/artifact/output/*zip*/output.zip
    SUCCESS: https://unity8-jenkins.ubuntu.com/job/build-2-binpkg/arch=amd64,release=zesty/4344
        deb: https://unity8-jenkins.ubuntu.com/job/build-2-binpkg/arch=amd64,release=zesty/4344/artifact/output/*zip*/output.zip
    SUCCESS: https://unity8-jenkins.ubuntu.com/job/build-2-binpkg/arch=armhf,release=xenial+overlay/4344
        deb: https://unity8-jenkins.ubuntu.com/job/build-2-binpkg/arch=armhf,release=xenial+overlay/4344/artifact/output/*zip*/output.zip
    SUCCESS: https://unity8-jenkins.ubuntu.com/job/build-2-binpkg/arch=armhf,release=zesty/4344
        deb: https://unity8-jenkins.ubuntu.com/job/build-2-binpkg/arch=armhf,release=zesty/4344/artifact/output/*zip*/output.zip
    SUCCESS: https://unity8-jenkins.ubuntu.com/job/build-2-binpkg/arch=i386,release=xenial+overlay/4344
        deb: https://unity8-jenkins.ubuntu.com/job/build-2-binpkg/arch=i386,release=xenial+overlay/4344/artifact/output/*zip*/output.zip
    SUCCESS: https://unity8-jenkins.ubuntu.com/job/build-2-binpkg/arch=i386,release=zesty/4344
        deb: https://unity8-jenkins.ubuntu.com/job/build-2-binpkg/arch=i386,release=zesty/4344/artifact/output/*zip*/output.zip

Click here to trigger a rebuild:
https://unity8-jenkins.ubuntu.com/job/lp-unity8-ci/3408/rebuild

review: Approve (continuous-integration)
2850. By Albert Astals Cid

Merge lp:~aacid/unity8/disabledMenus

2851. By Albert Astals Cid

Fix tests?

Unmerged revisions

Preview Diff

[H/L] Next/Prev Comment, [J/K] Next/Prev File, [N/P] Next/Prev Hunk
=== modified file 'qml/Panel/Panel.qml'
--- qml/Panel/Panel.qml 2017-03-08 09:53:35 +0000
+++ qml/Panel/Panel.qml 2017-03-16 09:08:32 +0000
@@ -38,6 +38,7 @@
38 property real expandedPanelHeight: units.gu(7)38 property real expandedPanelHeight: units.gu(7)
39 property real indicatorMenuWidth: width39 property real indicatorMenuWidth: width
40 property real applicationMenuWidth: width40 property real applicationMenuWidth: width
41 property alias applicationMenuContentX: __applicationMenus.menuContentX
4142
42 property alias applicationMenus: __applicationMenus43 property alias applicationMenus: __applicationMenus
43 property alias indicators: __indicators44 property alias indicators: __indicators
@@ -250,6 +251,7 @@
250 PanelMenu {251 PanelMenu {
251 id: __applicationMenus252 id: __applicationMenus
252253
254 x: menuContentX
253 model: registeredMenuModel.model255 model: registeredMenuModel.model
254 width: root.applicationMenuWidth256 width: root.applicationMenuWidth
255 minimizedPanelHeight: root.minimizedPanelHeight257 minimizedPanelHeight: root.minimizedPanelHeight
@@ -258,6 +260,7 @@
258 alignment: Qt.AlignLeft260 alignment: Qt.AlignLeft
259 enableHint: !callHint.active && !fullscreenMode261 enableHint: !callHint.active && !fullscreenMode
260 showOnClick: false262 showOnClick: false
263 adjustDragHandleSizeToContents: false
261 panelColor: panelAreaBackground.color264 panelColor: panelAreaBackground.color
262265
263 onShowTapped: {266 onShowTapped: {
@@ -266,8 +269,7 @@
266 }269 }
267 }270 }
268271
269 showRowTitle: !expanded272 hideRow: !expanded
270 rowTitle: PanelState.title
271 rowItemDelegate: ActionItem {273 rowItemDelegate: ActionItem {
272 id: actionItem274 id: actionItem
273 property int ownIndex: index275 property int ownIndex: index
@@ -308,6 +310,28 @@
308 }310 }
309 }311 }
310312
313 Label {
314 id: rowLabel
315 objectName: "panelTitle"
316 anchors {
317 left: parent.left
318 leftMargin: units.gu(1)
319 right: __indicators.left
320 rightMargin: units.gu(1)
321 }
322 height: root.minimizedPanelHeight
323 verticalAlignment: Text.AlignVCenter
324 elide: Text.ElideRight
325 maximumLineCount: 1
326 fontSize: "medium"
327 font.weight: Font.Medium
328 color: Theme.palette.selected.backgroundText
329 opacity: __applicationMenus.visible && !__applicationMenus.expanded ? 1 : 0
330 visible: opacity != 0
331 Behavior on opacity { NumberAnimation { duration: UbuntuAnimation.SnapDuration } }
332 text: PanelState.title
333 }
334
311 PanelMenu {335 PanelMenu {
312 id: __indicators336 id: __indicators
313 objectName: "indicators"337 objectName: "indicators"
314338
=== modified file 'qml/Panel/PanelBar.qml'
--- qml/Panel/PanelBar.qml 2017-01-16 08:51:52 +0000
+++ qml/Panel/PanelBar.qml 2017-03-16 09:08:32 +0000
@@ -30,8 +30,7 @@
30 property real lateralPosition: -130 property real lateralPosition: -1
31 property int alignment: Qt.AlignRight31 property int alignment: Qt.AlignRight
3232
33 property alias showRowTitle: row.showRowTitle33 property alias hideRow: row.hideRow
34 property alias rowTitle: row.rowTitle
35 property alias rowItemDelegate: row.delegate34 property alias rowItemDelegate: row.delegate
3635
37 implicitWidth: flickable.contentWidth36 implicitWidth: flickable.contentWidth
3837
=== modified file 'qml/Panel/PanelItemRow.qml'
--- qml/Panel/PanelItemRow.qml 2017-01-24 17:34:19 +0000
+++ qml/Panel/PanelItemRow.qml 2017-03-16 09:08:32 +0000
@@ -20,11 +20,10 @@
2020
21Item {21Item {
22 id: root22 id: root
23 implicitWidth: showRowTitle && !expanded ? rowTitle != "" ? rowLabel.width : 0 : row.width23 implicitWidth: row.width
24 implicitHeight: units.gu(3)24 implicitHeight: units.gu(3)
2525
26 property bool showRowTitle: false26 property bool hideRow: false
27 property alias rowTitle: rowLabel.text
28 property QtObject model: null27 property QtObject model: null
29 property real overFlowWidth: width28 property real overFlowWidth: width
30 property bool expanded: false29 property bool expanded: false
@@ -138,31 +137,12 @@
138 d.previousItem = currentItem;137 d.previousItem = currentItem;
139 }138 }
140139
141 Label {
142 id: rowLabel
143 objectName: "panelTitle"
144 anchors {
145 left: parent.left
146 leftMargin: units.gu(1)
147 verticalCenter: parent.verticalCenter
148 }
149 width: implicitWidth + units.gu(2)
150 elide: Text.ElideRight
151 maximumLineCount: 1
152 fontSize: "medium"
153 font.weight: Font.Medium
154 color: Theme.palette.selected.backgroundText
155 opacity: showRowTitle ? 1 : 0
156 visible: opacity != 0
157 Behavior on opacity { NumberAnimation { duration: UbuntuAnimation.SnapDuration } }
158 }
159
160 ListView {140 ListView {
161 id: row141 id: row
162 objectName: "panelRow"142 objectName: "panelRow"
163 orientation: ListView.Horizontal143 orientation: ListView.Horizontal
164 model: root.model144 model: root.model
165 opacity: showRowTitle ? 0 : 1145 opacity: hideRow ? 0 : 1
166 // dont set visible on basis of opacity; otherwise width will not be calculated correctly146 // dont set visible on basis of opacity; otherwise width will not be calculated correctly
167 anchors {147 anchors {
168 top: parent.top148 top: parent.top
169149
=== modified file 'qml/Panel/PanelMenu.qml'
--- qml/Panel/PanelMenu.qml 2017-01-16 08:51:52 +0000
+++ qml/Panel/PanelMenu.qml 2017-03-16 09:08:32 +0000
@@ -32,11 +32,12 @@
32 property real openedHeight: units.gu(71)32 property real openedHeight: units.gu(71)
33 property bool enableHint: true33 property bool enableHint: true
34 property bool showOnClick: true34 property bool showOnClick: true
35 property bool adjustDragHandleSizeToContents: true
35 property color panelColor: theme.palette.normal.background36 property color panelColor: theme.palette.normal.background
37 property real menuContentX: 0
3638
37 property alias alignment: bar.alignment39 property alias alignment: bar.alignment
38 property alias rowTitle: bar.rowTitle40 property alias hideRow: bar.hideRow
39 property alias showRowTitle: bar.showRowTitle
40 property alias rowItemDelegate: bar.rowItemDelegate41 property alias rowItemDelegate: bar.rowItemDelegate
41 property alias pageDelegate: content.pageDelegate42 property alias pageDelegate: content.pageDelegate
4243
@@ -45,7 +46,7 @@
45 readonly property bool partiallyOpened: unitProgress > 0 && unitProgress < 1.046 readonly property bool partiallyOpened: unitProgress > 0 && unitProgress < 1.0
46 readonly property bool fullyClosed: unitProgress == 047 readonly property bool fullyClosed: unitProgress == 0
47 readonly property alias expanded: bar.expanded48 readonly property alias expanded: bar.expanded
48 readonly property int barWidth: Math.min(bar.width, bar.implicitWidth)49 readonly property int barWidth: adjustDragHandleSizeToContents ? Math.min(bar.width, bar.implicitWidth) : bar.width
4950
50 signal showTapped()51 signal showTapped()
5152
@@ -77,33 +78,42 @@
7778
78 shown: false79 shown: false
79 height: minimizedPanelHeight80 height: minimizedPanelHeight
80 clip: root.partiallyOpened
8181
82 onUnitProgressChanged: d.updateState()82 onUnitProgressChanged: d.updateState()
8383
84 // eater84 Item {
85 MouseArea {
86 anchors.fill: content
87 hoverEnabled: true
88 acceptedButtons: Qt.AllButtons
89 onWheel: wheel.accepted = true;
90 enabled: root.state != "initial"
91 visible: content.visible
92 }
93
94 MenuContent {
95 id: content
96 objectName: "menuContent"
97
98 anchors {85 anchors {
99 left: parent.left86 left: parent.left
100 right: parent.right87 right: parent.right
101 top: bar.bottom88 top: bar.bottom
102 }89 bottom: parent.bottom
103 height: openedHeight - bar.height - handle.height90 }
104 model: root.model91 clip: root.partiallyOpened
105 visible: root.unitProgress > 092
106 currentMenuIndex: bar.currentItemIndex93 // eater
94 MouseArea {
95 anchors.fill: content
96 hoverEnabled: true
97 acceptedButtons: Qt.AllButtons
98 onWheel: wheel.accepted = true;
99 enabled: root.state != "initial"
100 visible: content.visible
101 }
102
103 MenuContent {
104 id: content
105 objectName: "menuContent"
106
107 anchors {
108 left: parent.left
109 right: parent.right
110 top: parent.top
111 }
112 height: openedHeight - bar.height - handle.height
113 model: root.model
114 visible: root.unitProgress > 0
115 currentMenuIndex: bar.currentItemIndex
116 }
107 }117 }
108118
109 Handle {119 Handle {
@@ -217,8 +227,9 @@
217 objectName: "showDragHandle"227 objectName: "showDragHandle"
218 anchors.bottom: parent.bottom228 anchors.bottom: parent.bottom
219 anchors.left: alignment == Qt.AlignLeft ? parent.left : undefined229 anchors.left: alignment == Qt.AlignLeft ? parent.left : undefined
230 anchors.leftMargin: -root.menuContentX
220 anchors.right: alignment == Qt.AlignRight ? parent.right : undefined231 anchors.right: alignment == Qt.AlignRight ? parent.right : undefined
221 width: root.barWidth // show handle should only cover panel items.232 width: root.barWidth + root.menuContentX // show handle should only cover panel items.
222 height: minimizedPanelHeight233 height: minimizedPanelHeight
223 direction: Direction.Downwards234 direction: Direction.Downwards
224 enabled: !root.shown && root.available235 enabled: !root.shown && root.available
225236
=== modified file 'qml/Shell.qml'
--- qml/Shell.qml 2017-02-21 16:21:34 +0000
+++ qml/Shell.qml 2017-03-16 09:08:32 +0000
@@ -500,6 +500,7 @@
500 expandedPanelHeight: units.gu(7)500 expandedPanelHeight: units.gu(7)
501 indicatorMenuWidth: parent.width > units.gu(60) ? units.gu(40) : parent.width501 indicatorMenuWidth: parent.width > units.gu(60) ? units.gu(40) : parent.width
502 applicationMenuWidth: parent.width > units.gu(60) ? units.gu(40) : parent.width502 applicationMenuWidth: parent.width > units.gu(60) ? units.gu(40) : parent.width
503 applicationMenuContentX: launcher.lockedVisible ? launcher.panelWidth : 0
503504
504 indicators {505 indicators {
505 hides: [launcher]506 hides: [launcher]
@@ -567,7 +568,14 @@
567 }568 }
568 onShownChanged: {569 onShownChanged: {
569 if (shown) {570 if (shown) {
570 panel.indicators.hide()571 panel.indicators.hide();
572 panel.applicationMenus.hide();
573 }
574 }
575 onDrawerShownChanged: {
576 if (drawerShown) {
577 panel.indicators.hide();
578 panel.applicationMenus.hide();
571 }579 }
572 }580 }
573 onFocusChanged: {581 onFocusChanged: {
574582
=== modified file 'tests/qmltests/Panel/tst_Panel.qml'
--- tests/qmltests/Panel/tst_Panel.qml 2017-02-17 21:03:24 +0000
+++ tests/qmltests/Panel/tst_Panel.qml 2017-03-16 09:08:32 +0000
@@ -769,7 +769,7 @@
769 panel.mode = "staged";769 panel.mode = "staged";
770 mouseEmulation.checked = false;770 mouseEmulation.checked = false;
771771
772 var appTitle = findChild(panel.applicationMenus, "panelTitle"); verify(appTitle);772 var appTitle = findChild(panel, "panelTitle"); verify(appTitle);
773 var appMenuRow = findChild(panel.applicationMenus, "panelRow"); verify(appMenuRow);773 var appMenuRow = findChild(panel.applicationMenus, "panelRow"); verify(appMenuRow);
774 var appMenuBar = findChild(panel, "menuBar"); verify(appMenuBar);774 var appMenuBar = findChild(panel, "menuBar"); verify(appMenuBar);
775775
@@ -787,7 +787,7 @@
787 panel.mode = "windowed";787 panel.mode = "windowed";
788 mouseEmulation.checked = false;788 mouseEmulation.checked = false;
789789
790 var appTitle = findChild(panel.applicationMenus, "panelTitle"); verify(appTitle);790 var appTitle = findChild(panel, "panelTitle"); verify(appTitle);
791 var appMenuRow = findChild(panel.applicationMenus, "panelRow"); verify(appMenuRow);791 var appMenuRow = findChild(panel.applicationMenus, "panelRow"); verify(appMenuRow);
792 var appMenuBar = findChild(panel, "menuBar"); verify(appMenuBar);792 var appMenuBar = findChild(panel, "menuBar"); verify(appMenuBar);
793793
794794
=== modified file 'tests/qmltests/tst_Shell.qml'
--- tests/qmltests/tst_Shell.qml 2017-03-08 09:54:00 +0000
+++ tests/qmltests/tst_Shell.qml 2017-03-16 09:08:32 +0000
@@ -2848,7 +2848,7 @@
2848 loadShell(data.tag);2848 loadShell(data.tag);
28492849
2850 var panel = findChild(shell, "panel"); verify(panel);2850 var panel = findChild(shell, "panel"); verify(panel);
2851 var panelTitle = findChild(panel.applicationMenus, "panelTitle"); verify(panelTitle);2851 var panelTitle = findChild(panel, "panelTitle"); verify(panelTitle);
2852 compare(panelTitle.visible, false, "Panel title should not be visible when greeter is shown");2852 compare(panelTitle.visible, false, "Panel title should not be visible when greeter is shown");
28532853
2854 swipeAwayGreeter();2854 swipeAwayGreeter();
@@ -2941,6 +2941,61 @@
2941 tryCompare(topLevelSurfaceList.applicationAt(0), "appId", "dialer-app");2941 tryCompare(topLevelSurfaceList.applicationAt(0), "appId", "dialer-app");
2942 }2942 }
29432943
2944 function test_touchMenuPosition_data() {
2945 return [
2946 { tag: "launcher locked", lockLauncher: true },
2947 { tag: "launcher not locked", lockLauncher: false }
2948 ];
2949 }
2950
2951 function test_touchMenuPosition(data) {
2952 loadShell("desktop");
2953 shell.usageScenario = "desktop";
2954 waitForRendering(shell);
2955 swipeAwayGreeter();
2956
2957 var panel = findChild(shell, "panel");
2958 var launcher = testCase.findChild(shell, "launcher");
2959 launcher.lockedVisible = data.lockLauncher;
2960 if (data.lockLauncher) {
2961 compare(panel.applicationMenus.x, launcher.panelWidth);
2962 } else {
2963 compare(panel.applicationMenus.x, 0);
2964 }
2965 }
2966
2967 function test_touchMenuHidesOnLauncherAppDrawer_data() {
2968 return [
2969 { tag: "launcher locked", lockLauncher: true },
2970 { tag: "launcher not locked", lockLauncher: false }
2971 ];
2972 }
2973
2974 function test_touchMenuHidesOnLauncherAppDrawer(data) {
2975 loadShell("desktop");
2976 shell.usageScenario = "desktop";
2977 waitForRendering(shell);
2978 swipeAwayGreeter();
2979
2980 var panel = findChild(shell, "panel");
2981 var launcher = testCase.findChild(shell, "launcher");
2982 launcher.lockedVisible = data.lockLauncher;
2983
2984 waitForRendering(panel.applicationMenus);
2985
2986 if (data.lockLauncher) {
2987 panel.applicationMenus.show();
2988 tryCompare(panel.applicationMenus, "fullyOpened", true);
2989 launcher.openDrawer();
2990 } else {
2991 tryCompare(launcher, "shown", false);
2992 panel.applicationMenus.show();
2993 tryCompare(panel.applicationMenus, "fullyOpened", true);
2994 launcher.switchToNextState("visible");
2995 }
2996 tryCompare(panel.applicationMenus, "fullyClosed", true);
2997 }
2998
2944 function test_doubleClickPanelRestoresWindow() {2999 function test_doubleClickPanelRestoresWindow() {
2945 loadShell("desktop");3000 loadShell("desktop");
2946 shell.usageScenario = "desktop";3001 shell.usageScenario = "desktop";

Subscribers

People subscribed via source and target branches