Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fix menu launcher position and widget icons #17

Merged
merged 5 commits into from
Aug 5, 2023

Conversation

marmarek
Copy link
Member

@marmarek marmarek commented Jul 14, 2023

Copy link

@DemiMarie DemiMarie left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

&> is a bashism.

Comment on lines 129 to 144
touch --no-create %{_kde4_iconsdir}/hicolor &> /dev/null ||:
touch --no-create %{_kde4_iconsdir}/breeze &> /dev/null ||:

%posttrans
gtk-update-icon-cache %{_kde4_iconsdir}/hicolor &> /dev/null ||:
gtk-update-icon-cache %{_kde4_iconsdir}/breeze &> /dev/null ||:
update-desktop-database -q &> /dev/null ||:

%postun
if [ $1 -eq 0 ] ; then
touch --no-create %{_kde4_iconsdir}/hicolor &> /dev/null ||:
touch --no-create %{_kde4_iconsdir}/breeze &> /dev/null ||:
gtk-update-icon-cache %{_kde4_iconsdir}/hicolor &> /dev/null ||:
gtk-update-icon-cache %{_kde4_iconsdir}/breeze &> /dev/null ||:
update-desktop-database -q &> /dev/null ||:
fi

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Suggested change
touch --no-create %{_kde4_iconsdir}/hicolor &> /dev/null ||:
touch --no-create %{_kde4_iconsdir}/breeze &> /dev/null ||:
%posttrans
gtk-update-icon-cache %{_kde4_iconsdir}/hicolor &> /dev/null ||:
gtk-update-icon-cache %{_kde4_iconsdir}/breeze &> /dev/null ||:
update-desktop-database -q &> /dev/null ||:
%postun
if [ $1 -eq 0 ] ; then
touch --no-create %{_kde4_iconsdir}/hicolor &> /dev/null ||:
touch --no-create %{_kde4_iconsdir}/breeze &> /dev/null ||:
gtk-update-icon-cache %{_kde4_iconsdir}/hicolor &> /dev/null ||:
gtk-update-icon-cache %{_kde4_iconsdir}/breeze &> /dev/null ||:
update-desktop-database -q &> /dev/null ||:
fi
touch --no-create %{_kde4_iconsdir}/hicolor > /dev/null 2>&1 ||:
touch --no-create %{_kde4_iconsdir}/breeze > /dev/null 2>&1 ||:
%posttrans
gtk-update-icon-cache %{_kde4_iconsdir}/hicolor > /dev/null 2>&1 ||:
gtk-update-icon-cache %{_kde4_iconsdir}/breeze > /dev/null 2>&1 ||:
update-desktop-database -q > /dev/null 2>&1 ||:
%postun
if [ $1 -eq 0 ] ; then
touch --no-create %{_kde4_iconsdir}/hicolor > /dev/null 2>&1||:
touch --no-create %{_kde4_iconsdir}/breeze > /dev/null 2>&1 ||:
gtk-update-icon-cache %{_kde4_iconsdir}/hicolor > /dev/null 2>&1||:
gtk-update-icon-cache %{_kde4_iconsdir}/breeze > /dev/null 2>&1 ||:
update-desktop-database -q > /dev/null 2>&1 ||:
fi

&> is a bashism

Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Well, this is from the official Fedora packaging guidelines... But changing it makes sense anyway.

@qubesos-bot
Copy link

qubesos-bot commented Jul 15, 2023

OpenQA test summary

Complete test suite and dependencies: https://openqa.qubes-os.org/tests/overview?distri=qubesos&version=4.2&build=2023080409-4.2&flavor=pull-requests

New failures, excluding unstable

Compared to: https://openqa.qubes-os.org/tests/overview?distri=qubesos&version=4.2&build=2023071104-4.2&flavor=update

  • system_tests_splitgpg

  • system_tests_network_updates

Failed tests

13 failures
  • system_tests_whonix

    • whonixcheck: fail (unknown)
      Whonixcheck for anon-whonix failed...

    • whonixcheck: unnamed test (unknown)

  • system_tests_splitgpg

  • system_tests_network_updates

  • system_tests_dispvm

    • TC_20_DispVM_debian-11: test_030_edit_file (failure + cleanup)
      AssertionError: Timeout while waiting for disp[0-9]* window to show

    • [unstable] TC_20_DispVM_debian-11: test_100_open_in_dispvm (failure + cleanup)
      AssertionError: Timeout while waiting for disp[0-9]* window to show

    • [unstable] TC_20_DispVM_fedora-38: test_010_simple_dvm_run (failure)
      ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^... AssertionError

    • [unstable] TC_20_DispVM_whonix-workstation-17: test_100_open_in_dispvm (failure)
      AssertionError: './open-file test.txt' failed with ./open-file test...

Fixed failures

Compared to: https://openqa.qubes-os.org/tests/77326#dependencies

17 fixed
  • system_tests_whonix

  • system_tests_network

  • system_tests_splitgpg

  • system_tests_manager

    • VMSettingsTest: test_26_default_dispvm (failure)
      self.assertTrue(self.vm.property_... AssertionError: False is not true
  • system_tests_qrexec

  • system_tests_network_ipv6

    • VmIPv6Networking_fedora-38: test_040_inter_vm (error)
      qubes.exc.QubesMemoryError: Not enough memory to start domain 'test...

    • VmIPv6Networking_fedora-38: test_203_fake_ip_inter_vm_allow (error)
      qubes.exc.QubesMemoryError: Not enough memory to start domain 'test...

  • system_tests_dispvm

  • system_tests_guivm_gui_interactive

    • update_templates: Failed (test died)
      # Test died: command 'curl --form upload=@template-fedora-38-xfce-v...

Unstable tests

  • system_tests_whonix

    whonix_torbrowser/ (1/5 times with errors)
    whonix_torbrowser/ (1/5 times with errors)
    whonix_torbrowser/Failed (1/5 times with errors)
    • job 76339 # Test died: no candidate needle with tag(s) 'anon-whonix-tor-brows...
  • system_tests_gui_tools

    qubesmanager_vmsettings/ (1/5 times with errors)
    qubesmanager_vmsettings/ (1/5 times with errors)
    qubesmanager_vmsettings/ (1/5 times with errors)
    qubesmanager_vmsettings/Failed (1/5 times with errors)
    • job 78121 # Test died: no candidate needle with tag(s) 'vm-settings-template-...
    qubesmanager_vmsettings/Failed (1/5 times with errors)
    • job 77738 # Test died: no candidate needle with tag(s) 'vm-settings-service-o...
    qubesmanager_vmsettings/Failed (1/5 times with errors)
    • job 78128 # Test died: no candidate needle with tag(s) 'vm-settings-apps-dolp...
  • system_tests_suspend

    suspend/Failed (1/5 times with errors)
    • job 77747 # Test died: command 'true' timed out at /usr/lib/os-autoinst/autot...
    suspend/wait_serial (1/5 times with errors)
    • job 77747 # wait_serial expected: qr/p5~T5-\d+-/...
  • system_tests_network

    VmNetworking_debian-11/test_203_fake_ip_inter_vm_allow (3/5 times with errors)
    • job 76757 qubes.exc.QubesMemoryError: Not enough memory to start domain 'test...
    • job 77353 qubes.exc.QubesMemoryError: Not enough memory to start domain 'test...
    • job 77741 qubes.exc.QubesMemoryError: Not enough memory to start domain 'test...
  • system_tests_splitgpg

    TC_10_Thunderbird_whonix-workstation-17/test_000_send_receive_default (1/5 times with errors)
    • job 78125 ValueError: Namespace Gtk not available for version 3.0
    TC_20_Evolution_debian-11/test_000_send_receive_signed_encrypted (3/5 times with errors)
    • job 76366 assert msg_body.strip() == 'This is test message'... AssertionError
    • job 77358 assert msg_body.strip() == 'This is test message'... AssertionError
    • job 78125 assert msg_body.strip() == 'This is test message'... AssertionError
    TC_10_Thunderbird_whonix-workstation-17/test_010_send_receive_inline_signed_only (1/5 times with errors)
    • job 78125 ValueError: Namespace Gtk not available for version 3.0
    TC_10_Thunderbird_debian-11/test_020_send_receive_inline_with_attachment (1/5 times with errors)
    • job 76762 assert received_attachment == orig_attachment... AssertionError
    TC_10_Thunderbird_fedora-38/test_020_send_receive_inline_with_attachment (3/5 times with errors)
    • job 76366 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^... AssertionError
    • job 77746 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^... AssertionError
    • job 78125 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^... AssertionError
    TC_10_Thunderbird_whonix-workstation-17/test_020_send_receive_inline_with_attachment (1/5 times with errors)
    • job 78125 ValueError: Namespace Gtk not available for version 3.0
    TC_10_Thunderbird_whonix-ws-16/test_020_send_receive_inline_with_attachment (4/5 times with errors)
    • job 76366 dogtail.tree.SearchError: descendent of [application | Thunderbird]...
    • job 76762 dogtail.tree.SearchError: descendent of [application | Thunderbird]...
    • job 77358 dogtail.tree.SearchError: descendent of [application | Thunderbird]...
    • job 77746 dogtail.tree.SearchError: descendent of [application | Thunderbird]...
    TC_00_Direct_fedora-38/test_081_subpacket_options (1/5 times with errors)
    • job 77358 qubes.exc.QubesMemoryError: Not enough memory to start domain 'test...
  • system_tests_manager

    VMSettingsTest/test_26_default_dispvm (4/5 times with errors)
    • job 76360 self.assertTrue(self.vm.property_... AssertionError: False is not true
    • job 76756 self.assertTrue(self.vm.property_... AssertionError: False is not true
    • job 77352 self.assertTrue(self.vm.property_... AssertionError: False is not true
    • job 77740 self.assertTrue(self.vm.property_... AssertionError: False is not true
  • system_tests_qrexec

    TC_00_Qrexec_debian-11/test_055_qrexec_dom0_service_abort (1/5 times with errors)
    • job 76761 AssertionError: Timeout, probably stdout wasn't closed
    TC_00_Qrexec_whonix-gw-16/test_055_qrexec_dom0_service_abort (1/5 times with errors)
    • job 77357 AssertionError: Timeout, probably stdout wasn't closed
    TC_00_Qrexec_whonix-ws-16/test_091_qrexec_service_socket_dom0_send (1/5 times with errors)
    • job 77357 AssertionError: service timeout, probably EOF wasn't transferred to...
  • system_tests_network_ipv6

    VmIPv6Networking_debian-11/test_000_simple_networking (1/5 times with errors)
    • job 76758 self.assertEqual(self.run_cmd(self.testvm1, ... AssertionError: 2 != 0
    VmIPv6Networking_debian-11/test_040_inter_vm (1/5 times with errors)
    • job 76362 qubes.exc.QubesMemoryError: Not enough memory to start domain 'test...
    VmIPv6Networking_fedora-38/test_040_inter_vm (1/5 times with errors)
    • job 77354 qubes.exc.QubesMemoryError: Not enough memory to start domain 'test...
    VmIPv6Networking_debian-11/test_203_fake_ip_inter_vm_allow (2/5 times with errors)
    • job 76362 qubes.exc.QubesMemoryError: Not enough memory to start domain 'test...
    • job 76758 qubes.exc.QubesMemoryError: Not enough memory to start domain 'test...
    VmIPv6Networking_debian-11/test_203_fake_ip_inter_vm_allow (1/5 times with errors)
    • job 78111 qubes.exc.QubesMemoryError: Not enough memory to start domain 'test...
    VmIPv6Networking_fedora-38/test_203_fake_ip_inter_vm_allow (2/5 times with errors)
    • job 77354 qubes.exc.QubesMemoryError: Not enough memory to start domain 'test...
    • job 77742 qubes.exc.QubesMemoryError: Not enough memory to start domain 'test...
    VmIPv6Networking_debian-11/test_500_ipv6_simple_networking (1/5 times with errors)
    • job 77742 self.assertEqual(self.run_cmd(self.testvm1, ... AssertionError: 2 != 0
    VmIPv6Networking_debian-11/test_540_ipv6_inter_vm (1/5 times with errors)
    • job 76362 raise exceptions.TimeoutError() from exc... TimeoutError
  • system_tests_network_updates

    TC_10_QvmTemplate_whonix-gateway-17/test_000_template_list (2/5 times with errors)
    • job 78112 qvm-template: error: No matching templates to list
    • job 78124 qvm-template: error: No matching templates to list
    TC_10_QvmTemplate_whonix-workstation-17/test_000_template_list (2/5 times with errors)
    • job 78112 AssertionError: qvm-template failed: [Qrexec]
    • job 78124 AssertionError: qvm-template failed: [Qrexec]
    TC_11_QvmTemplateMgmtVM_whonix-gateway-17/test_000_template_list (2/5 times with errors)
    • job 78112 qvm-template: error: No matching templates to list
    • job 78124 qvm-template: error: No matching templates to list
    TC_11_QvmTemplateMgmtVM_whonix-workstation-17/test_000_template_list (2/5 times with errors)
    • job 78112 AssertionError: qvm-template failed: ERROR: [Errno 2] No such file ...
    • job 78124 AssertionError: qvm-template failed: ERROR: [Errno 2] No such file ...
    TC_10_QvmTemplate_whonix-gateway-17/test_010_template_install (2/5 times with errors)
    • job 78112 qvm-template: error: Template 'debian-11-minimal' not found.
    • job 78124 qvm-template: error: Template 'debian-11-minimal' not found.
    TC_10_QvmTemplate_whonix-workstation-17/test_010_template_install (2/5 times with errors)
    • job 78112 AssertionError: qvm-template failed: [Qrexec]
    • job 78124 AssertionError: qvm-template failed: [Qrexec]
    TC_11_QvmTemplateMgmtVM_whonix-gateway-17/test_010_template_install (2/5 times with errors)
    • job 78112 qvm-template: error: Template 'debian-11-minimal' not found.
    • job 78124 qvm-template: error: Template 'debian-11-minimal' not found.
    TC_11_QvmTemplateMgmtVM_whonix-workstation-17/test_010_template_install (2/5 times with errors)
    • job 78112 AssertionError: qvm-template failed: ERROR: [Errno 2] No such file ...
    • job 78124 AssertionError: qvm-template failed: ERROR: [Errno 2] No such file ...
  • system_tests_devices

    TC_00_List_fedora-38/test_011_list_dm_mounted (1/5 times with errors)
    • job 76752 AssertionError: 'test-dm' == 'test-dm' : Device test-inst-vm:dm-0 (...
  • system_tests_whonix@hw1

    whonix_torbrowser/ (1/5 times with errors)
    whonix_torbrowser/ (1/5 times with errors)
    whonix_torbrowser/Failed (1/5 times with errors)
    • job 76339 # Test died: no candidate needle with tag(s) 'anon-whonix-tor-brows...
  • system_tests_basic_vm_qrexec_gui_zfs

    TC_00_Basic/test_120_start_standalone_with_cdrom_dom0 (1/3 times with errors)
    • job 78095 AssertionError: 1 != 0 : b'Timeout waiting for dom0:loop4 device to...
    TC_20_AudioVM_Pulse_whonix-gateway-17-pool/test_220_audio_play_pulseaudio (1/3 times with errors)
    • job 78095 AssertionError: Timeout waiting for pulseaudio start in test-inst-v...
    TC_20_AudioVM_Pulse_whonix-gateway-17-pool/test_221_audio_rec_muted_pulseaudio (1/3 times with errors)
    • job 78095 AssertionError: Timeout waiting for pulseaudio start in test-inst-v...
    TC_20_AudioVM_Pulse_whonix-gateway-17-pool/test_222_audio_rec_unmuted_pulseaudio (1/3 times with errors)
    • job 78095 AssertionError: Timeout waiting for pulseaudio start in test-inst-v...
    TC_20_AudioVM_Pulse_whonix-gateway-17-pool/test_223_audio_play_hvm (1/3 times with errors)
    • job 78095 AssertionError: Timeout waiting for pulseaudio start in test-inst-v...
    TC_20_AudioVM_Pulse_whonix-gateway-17-pool/test_224_audio_rec_muted_hvm (1/3 times with errors)
    • job 78095 AssertionError: Timeout waiting for pulseaudio start in test-inst-v...
    TC_20_AudioVM_Pulse_whonix-gateway-17-pool/test_225_audio_rec_unmuted_hvm (1/3 times with errors)
    • job 78095 AssertionError: Timeout waiting for pulseaudio start in test-inst-v...
  • system_tests_basic_vm_qrexec_gui_btrfs

    TC_20_NonAudio_whonix-gw-16-pool/test_100_qrexec_filecopy (1/4 times with errors)
    • job 76764 subprocess.CalledProcessError: Command 'cp /etc/passwd /tmp/passwd'...
    TC_20_AudioVM_Pulse_whonix-gateway-17-pool/test_220_audio_play_pulseaudio (1/4 times with errors)
    • job 78102 AssertionError: Timeout waiting for pulseaudio start in test-inst-v...
    TC_20_AudioVM_Pulse_whonix-gateway-17-pool/test_221_audio_rec_muted_pulseaudio (1/4 times with errors)
    • job 78102 AssertionError: Timeout waiting for pulseaudio start in test-inst-v...
    TC_20_AudioVM_Pulse_whonix-gateway-17-pool/test_222_audio_rec_unmuted_pulseaudio (1/4 times with errors)
    • job 78102 AssertionError: Timeout waiting for pulseaudio start in test-inst-v...
    TC_20_AudioVM_Pulse_whonix-gateway-17-pool/test_223_audio_play_hvm (1/4 times with errors)
    • job 78102 AssertionError: Timeout waiting for pulseaudio start in test-inst-v...
    TC_20_AudioVM_Pulse_whonix-gateway-17-pool/test_224_audio_rec_muted_hvm (1/4 times with errors)
    • job 78102 AssertionError: Timeout waiting for pulseaudio start in test-inst-v...
    TC_20_AudioVM_Pulse_whonix-gateway-17-pool/test_225_audio_rec_unmuted_hvm (1/4 times with errors)
    • job 78102 AssertionError: Timeout waiting for pulseaudio start in test-inst-v...
  • system_tests_basic_vm_qrexec_gui@hw1

    TC_20_NonAudio_debian-11/test_210_time_sync (1/5 times with errors)
    • job 77732 subprocess.CalledProcessError: Command 'qvm-sync-clock' returned no...
    TC_20_AudioVM_Pulse_whonix-gateway-17/test_220_audio_play_pulseaudio (1/5 times with errors)
    • job 78101 AssertionError: Timeout waiting for pulseaudio start in test-inst-v...
    TC_20_AudioVM_Pulse_whonix-gateway-17/test_221_audio_rec_muted_pulseaudio (1/5 times with errors)
    • job 78101 AssertionError: Timeout waiting for pulseaudio start in test-inst-v...
    TC_20_AudioVM_Pulse_whonix-gateway-17/test_222_audio_rec_unmuted_pulseaudio (1/5 times with errors)
    • job 78101 AssertionError: Timeout waiting for pulseaudio start in test-inst-v...
    TC_20_AudioVM_Pulse_whonix-gateway-17/test_223_audio_play_hvm (1/5 times with errors)
    • job 78101 AssertionError: Timeout waiting for pulseaudio start in test-inst-v...
    TC_20_AudioVM_Pulse_whonix-gateway-17/test_224_audio_rec_muted_hvm (1/5 times with errors)
    • job 78101 AssertionError: Timeout waiting for pulseaudio start in test-inst-v...
    TC_20_AudioVM_Pulse_whonix-gateway-17/test_225_audio_rec_unmuted_hvm (1/5 times with errors)
    • job 78101 AssertionError: Timeout waiting for pulseaudio start in test-inst-v...
  • system_tests_gui_tools@hw1

    qubesmanager_vmsettings/ (1/5 times with errors)
    qubesmanager_vmsettings/ (1/5 times with errors)
    qubesmanager_vmsettings/ (1/5 times with errors)
    qubesmanager_vmsettings/Failed (1/5 times with errors)
    • job 78121 # Test died: no candidate needle with tag(s) 'vm-settings-template-...
    qubesmanager_vmsettings/Failed (1/5 times with errors)
    • job 77738 # Test died: no candidate needle with tag(s) 'vm-settings-service-o...
    qubesmanager_vmsettings/Failed (1/5 times with errors)
    • job 78128 # Test died: no candidate needle with tag(s) 'vm-settings-apps-dolp...
  • system_tests_suspend@hw1

    suspend/Failed (1/5 times with errors)
    • job 77747 # Test died: command 'true' timed out at /usr/lib/os-autoinst/autot...
    suspend/wait_serial (1/5 times with errors)
    • job 77747 # wait_serial expected: qr/p5~T5-\d+-/...
  • system_tests_dispvm

    TC_20_DispVM_fedora-38/test_010_simple_dvm_run (3/5 times with errors)
    • job 76753 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^... AssertionError
    • job 77366 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^... AssertionError
    • job 78106 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^... AssertionError
    TC_20_DispVM_whonix-gw-16/test_010_simple_dvm_run (4/5 times with errors)
    TC_20_DispVM_whonix-ws-16/test_010_simple_dvm_run (4/5 times with errors)
    • job 76753 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^... AssertionError
    • job 77349 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^... AssertionError
    • job 77366 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^... AssertionError
    • job 77737 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^... AssertionError
    TC_20_DispVM_whonix-gw-16/test_020_gui_app (4/5 times with errors)
    TC_20_DispVM_fedora-38/test_030_edit_file (3/5 times with errors)
    • job 76753 AssertionError: Timeout while waiting for disp[0-9]* window to show
    • job 77349 AssertionError: Timeout while waiting for disp[0-9]* window to show
    • job 77366 AssertionError: Timeout while waiting for disp[0-9]* window to show
    TC_20_DispVM_whonix-gateway-17/test_030_edit_file (1/5 times with errors)
    • job 78106 AssertionError: Timeout waiting for editor window
    TC_20_DispVM_whonix-gw-16/test_030_edit_file (4/5 times with errors)
    TC_20_DispVM_whonix-ws-16/test_030_edit_file (1/5 times with errors)
    • job 76753 AssertionError: Timeout while waiting for disp[0-9]* window to show
    TC_20_DispVM_debian-11/test_100_open_in_dispvm (5/5 times with errors)
    • job 76753 AssertionError: Timeout while waiting for disp[0-9]* window to show
    • job 77349 self.assertEqual(test_txt_content.s... AssertionError: b'' != b'test1'
    • job 77366 AssertionError: Timeout while waiting for disp[0-9]* window to show
    • job 77737 self.assertEqual(test_txt_content.s... AssertionError: b'' != b'test1'
    • job 78106 AssertionError: Timeout while waiting for disp[0-9]* window to show
    TC_20_DispVM_fedora-38/test_100_open_in_dispvm (5/5 times with errors)
    • job 76753 AssertionError: Timeout while waiting for disp[0-9]* window to show
    • job 77349 AssertionError: Timeout while waiting for disp[0-9]* window to show
    • job 77366 AssertionError: Timeout while waiting for disp[0-9]* window to show
    • job 77737 AssertionError: Timeout while waiting for disp[0-9]* window to show
    • job 78106 self.assertEqual(test_txt_content.s... AssertionError: b'' != b'test1'
    TC_20_DispVM_whonix-gateway-17/test_100_open_in_dispvm (1/5 times with errors)
    • job 78106 AssertionError: './open-file test.txt' failed with ./open-file test...
    TC_20_DispVM_whonix-gw-16/test_100_open_in_dispvm (4/5 times with errors)
    TC_20_DispVM_whonix-workstation-17/test_100_open_in_dispvm (1/5 times with errors)
    • job 78106 AssertionError: './open-file test.txt' failed with ./open-file test...
    TC_20_DispVM_whonix-ws-16/test_100_open_in_dispvm (2/5 times with errors)
    • job 76753 AssertionError: Timeout while waiting for disp[0-9]* window to show
    • job 77349 AssertionError: './open-file test.txt' failed with ./open-file test...
  • system_tests_basic_vm_qrexec_gui

    TC_20_NonAudio_debian-11/test_210_time_sync (1/5 times with errors)
    • job 77732 subprocess.CalledProcessError: Command 'qvm-sync-clock' returned no...
    TC_20_AudioVM_Pulse_whonix-gateway-17/test_220_audio_play_pulseaudio (1/5 times with errors)
    • job 78101 AssertionError: Timeout waiting for pulseaudio start in test-inst-v...
    TC_20_AudioVM_Pulse_whonix-gateway-17/test_221_audio_rec_muted_pulseaudio (1/5 times with errors)
    • job 78101 AssertionError: Timeout waiting for pulseaudio start in test-inst-v...
    TC_20_AudioVM_Pulse_whonix-gateway-17/test_222_audio_rec_unmuted_pulseaudio (1/5 times with errors)
    • job 78101 AssertionError: Timeout waiting for pulseaudio start in test-inst-v...
    TC_20_AudioVM_Pulse_whonix-gateway-17/test_223_audio_play_hvm (1/5 times with errors)
    • job 78101 AssertionError: Timeout waiting for pulseaudio start in test-inst-v...
    TC_20_AudioVM_Pulse_whonix-gateway-17/test_224_audio_rec_muted_hvm (1/5 times with errors)
    • job 78101 AssertionError: Timeout waiting for pulseaudio start in test-inst-v...
    TC_20_AudioVM_Pulse_whonix-gateway-17/test_225_audio_rec_unmuted_hvm (1/5 times with errors)
    • job 78101 AssertionError: Timeout waiting for pulseaudio start in test-inst-v...
  • system_tests_basic_vm_qrexec_gui_xfs

    TC_20_AudioVM_Pulse_whonix-gateway-17-pool/test_220_audio_play_pulseaudio (1/5 times with errors)
    • job 78104 AssertionError: Timeout waiting for pulseaudio start in test-inst-v...
    TC_20_AudioVM_Pulse_whonix-gateway-17-pool/test_221_audio_rec_muted_pulseaudio (1/5 times with errors)
    • job 78104 AssertionError: Timeout waiting for pulseaudio start in test-inst-v...
    TC_20_AudioVM_Pulse_whonix-gateway-17-pool/test_222_audio_rec_unmuted_pulseaudio (1/5 times with errors)
    • job 78104 AssertionError: Timeout waiting for pulseaudio start in test-inst-v...
    TC_20_AudioVM_Pulse_whonix-gateway-17-pool/test_223_audio_play_hvm (1/5 times with errors)
    • job 78104 AssertionError: Timeout waiting for pulseaudio start in test-inst-v...
    TC_20_AudioVM_Pulse_whonix-gateway-17-pool/test_224_audio_rec_muted_hvm (1/5 times with errors)
    • job 78104 AssertionError: Timeout waiting for pulseaudio start in test-inst-v...
    TC_20_AudioVM_Pulse_whonix-gateway-17-pool/test_225_audio_rec_unmuted_hvm (1/5 times with errors)
    • job 78104 AssertionError: Timeout waiting for pulseaudio start in test-inst-v...
  • system_tests_basic_vm_qrexec_gui_ext4

    TC_00_Basic/test_120_start_standalone_with_cdrom_dom0 (1/5 times with errors)
    • job 78103 AssertionError: 1 != 0 : b'Timeout waiting for dom0:loop12 device t...
    TC_20_AudioVM_Pulse_fedora-38-pool/test_220_audio_play_pulseaudio (1/5 times with errors)
    • job 76750 AssertionError: Timeout waiting for pulseaudio start in test-inst-v...
    TC_20_AudioVM_Pulse_whonix-gateway-17-pool/test_220_audio_play_pulseaudio (2/5 times with errors)
    • job 78103 AssertionError: Timeout waiting for pulseaudio start in test-inst-v...
    • job 78127 AssertionError: Timeout waiting for pulseaudio start in test-inst-v...
    TC_20_AudioVM_Pulse_whonix-gateway-17-pool/test_221_audio_rec_muted_pulseaudio (2/5 times with errors)
    • job 78103 AssertionError: Timeout waiting for pulseaudio start in test-inst-v...
    • job 78127 AssertionError: Timeout waiting for pulseaudio start in test-inst-v...
    TC_20_AudioVM_Pulse_whonix-gateway-17-pool/test_222_audio_rec_unmuted_pulseaudio (2/5 times with errors)
    • job 78103 AssertionError: Timeout waiting for pulseaudio start in test-inst-v...
    • job 78127 AssertionError: Timeout waiting for pulseaudio start in test-inst-v...
    TC_20_AudioVM_Pulse_whonix-gateway-17-pool/test_223_audio_play_hvm (2/5 times with errors)
    • job 78103 AssertionError: Timeout waiting for pulseaudio start in test-inst-v...
    • job 78127 AssertionError: Timeout waiting for pulseaudio start in test-inst-v...
    TC_20_AudioVM_Pulse_whonix-gateway-17-pool/test_224_audio_rec_muted_hvm (2/5 times with errors)
    • job 78103 AssertionError: Timeout waiting for pulseaudio start in test-inst-v...
    • job 78127 AssertionError: Timeout waiting for pulseaudio start in test-inst-v...
    TC_20_AudioVM_Pulse_whonix-gateway-17-pool/test_225_audio_rec_unmuted_hvm (2/5 times with errors)
    • job 78103 AssertionError: Timeout waiting for pulseaudio start in test-inst-v...
    • job 78127 AssertionError: Timeout waiting for pulseaudio start in test-inst-v...
  • system_tests_pvgrub_salt_storage

    TC_10_VMSalt_fedora-38/test_000_simple_sls (1/5 times with errors)
    TC_40_PVGrub_debian-11/test_000_standalone_vm (1/5 times with errors)
    • job 75632 AssertionError: Failed command: apt-get update && apt-get install -...
    TC_41_HVMGrub_debian-11/test_000_standalone_vm (1/5 times with errors)
    • job 75632 qubes.exc.QubesVMError: qrexec-daemon startup failed: 2023-06-20 06...
    TC_41_HVMGrub_fedora-38/test_000_standalone_vm (2/5 times with errors)
    • job 75632 qubes.exc.QubesVMError: Cannot connect to qrexec agent for 120 seco...
    • job 76760 qubes.exc.QubesVMError: Cannot connect to qrexec agent for 120 seco...
    TC_42_PVHGrub_debian-11/test_000_standalone_vm (1/5 times with errors)
    • job 75632 qubes.exc.QubesVMError: Cannot connect to qrexec agent for 120 seco...
    TC_10_VMSalt_fedora-38/test_001_multi_state_highstate (1/5 times with errors)
    TC_10_VMSalt_fedora-38/test_003_update (1/5 times with errors)
    TC_40_PVGrub_debian-11/test_010_template_based_vm (1/5 times with errors)
    • job 75632 qubes.exc.QubesVMError: qrexec-daemon startup failed: 2023-06-20 06...
    TC_41_HVMGrub_debian-11/test_010_template_based_vm (1/5 times with errors)
    • job 75632 qubes.exc.QubesVMError: qrexec-daemon startup failed: 2023-06-20 06...
    TC_42_PVHGrub_debian-11/test_010_template_based_vm (1/5 times with errors)
    • job 75632 qubes.exc.QubesVMError: Cannot connect to qrexec agent for 120 seco...

@marmarek marmarek force-pushed the menu-position branch 2 times, most recently from e44680b to 545a098 Compare July 16, 2023 02:04
marmarek added 3 commits July 16, 2023 04:05
Apparently there is no other API method than settings AppletOrder
directly. This may require restarting panel after applying the change -
it seems like changing it on the live panel doesn't work.

Furthermore, on initial start the AppletOrder may be not set yet, in
that case get initial value from widgetIds property.

QubesOS/qubes-issues#8159
KDE stores list of updates already applied, by name. Since 10-qubes.js
was changed, rename it so the new version is applied too.

QubesOS/qubes-issues#8159
Otherwise GTK will be confused about older cache and icons won't work in
GTK-based widgets.

Related to QubesOS/qubes-issues#2968
Besides being unused, it overrides panels() function. While it isn't
used in this script, it isn't clear (to me) what scope does it have, and
it might be relevant to other scripts.
Comment on lines 120 to 126
%triggerin -- plasma-desktop
default_layout="/usr/share/plasma/layout-templates/org.kde.plasma.desktop.defaultPanel/contents/layout.js"
if ! grep -q qubesMenu "$default_layout"; then
cp -a "$default_layout" "$default_layout.qubes-orig"
sed -i \
-e "s#.*org.kde.plasma.kickoff.*#var qubesMenu = panel.addWidget('org.kde.plasma.quicklaunch')\nqubesMenu.currentConfigGroup = ['General']\nqubesMenu.writeConfig('launcherUrls', ['file:///usr/share/applications/open-qubes-app-menu.desktop'])#" \
-e "s/^kickoff/qubesMenu/" \
"$default_layout"
fi

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Using sed on a JavaScript file??? On the one hand this is a disgusting hack, but on the other hand the proper way to do this would be to use a JavaScript parser and I don’t know of one that is suitable for this.

Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This is an alternative to shipping own copy of the whole file, not to a full parser. I could use a patch, but honestly, it doesn't matter that much in this place.

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

A patch would make it much easier to understand what is going on here. That said I think shipping the full file would be best, especially for R4.2 users who are still getting dom0 updates from Fedora.

Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

still getting dom0 updates from Fedora.

That's exactly the reason why I do not want to ship the whole file - I only want to replace the menu, while keeping upstream layout of the rest of the panel.

The layout update script is running too early on the first KDE startup,
and default widgets are not there yet. This ends up in menu launcher
remaining on the right, instead of the left.

QubesOS/qubes-issues#8159
@marmarek marmarek merged commit 6426f46 into QubesOS:main Aug 5, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants