aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorMarius Vlad <marius.vlad@collabora.com>2022-03-11 16:45:21 +0200
committerMarius Vlad <marius.vlad@collabora.com>2022-03-11 16:53:20 +0200
commitceabb9f3029847e60edf03a53aa23c684b085681 (patch)
tree119fc0e361ab46f8fa06f2dfa762e202d2e2476c
parentc8ef2f816e6bae93c8bbf5bfa3e4119f4317be8d (diff)
src: Temporary fix for a drag-and-drop crashmarlin_12.93.0marlin/12.93.012.93.0
Similar to SPEC-3786, we disable drag-and-drop entirely, until root cause is found to avoid the following crash: 0 ui::WaylandDataDragController::StartSession () at ../../git/src/ui/ozone/platform/wayland/host/wayland_data_drag_controller.cc:85 1 0x0000ffff85b9dce8 in ui::WaylandToplevelWindow::StartDrag () at ../../git/src/ui/ozone/platform/wayland/host/wayland_toplevel_window.cc:116 2 0x0000ffff8c136024 in views::DesktopDragDropClientOzone::StartDragAndDrop () at ../../git/src/ui/views/widget/desktop_aura/desktop_drag_drop_client_ozone.cc:170 3 0x0000ffff874f3644 in content::WebContentsViewAura::StartDragging () at ../../git/src/content/browser/web_contents/web_contents_view_aura.cc:1068 4 0x0000ffff87369dfc in content::RenderWidgetHostImpl::StartDragging () at ../../git/src/content/browser/renderer_host/render_widget_host_impl.cc:2603 5 0x0000ffff85e3ab6c in blink::mojom::FrameWidgetHostStubDispatch::Accept () at gen/third_party/blink/public/mojom/page/widget.mojom.cc:2491 6 0x0000ffff884a8044 in mojo::InterfaceEndpointClient::HandleValidatedMessage () at ../../git/src/mojo/public/cpp/bindings/lib/interface_endpoint_client.cc:554 7 0x0000ffff884a8d28 in mojo::MessageDispatcher::Accept () at ../../git/src/mojo/public/cpp/bindings/lib/message_dispatcher.cc:41 8 0x0000ffff884dcfd4 in AcceptOnProxyThread () at ../../git/src/ipc/ipc_mojo_bootstrap.cc:945 9 0x0000ffff884dbb78 in Invoke<void (IPC::(anonymous namespace)::ChannelAssociatedGroupController::*)(mojo::Message), scoped_refptr<IPC::(anonymous namespace)::ChannelAssociatedGroupController>, mojo::Message> () at ../../git/src/base/bind_internal.h:498 10 MakeItSo<void (IPC::(anonymous namespace)::ChannelAssociatedGroupController::*)(mojo::Message), scoped_refptr<IPC::(anonymous namespace)::ChannelAssociatedGroupController>, mojo::Message> () at ../../git/src/base/bind_internal.h:637 11 RunImpl<void (IPC::(anonymous namespace)::ChannelAssociatedGroupController::*)(mojo::Message), std::tuple<scoped_refptr<IPC::(anonymous namespace)::ChannelAssociatedGroupController>, mojo::Message>, 0, 1> () at ../../git/src/base/bind_internal.h:710 12 RunOnce () at ../../git/src/base/bind_internal.h:679 13 0x0000ffff881bd5e8 in base::OnceCallback<void ()>::Run() && () at ../../git/src/base/callback.h:100 14 base::TaskAnnotator::RunTask () at ../../git/src/base/task/common/task_annotator.cc:163 15 0x0000ffff881cf3c4 in base::sequence_manager::internal::ThreadControllerWithMessagePumpImpl::DoWorkImpl () at ../../git/src/base/task/sequence_manager/thread_controller_with_message_pump_impl.cc:332 16 0x0000ffff881cf7a8 in base::sequence_manager::internal::ThreadControllerWithMessagePumpImpl::DoWork () at ../../git/src/base/task/sequence_manager/thread_controller_with_message_pump_impl.cc:252 17 0x0000ffff8818140c in base::MessagePumpGlib::HandleDispatch () at ../../git/src/base/message_loop/message_pump_glib.cc:374 18 WorkSourceDispatch () at ../../git/src/base/message_loop/message_pump_glib.cc:124 19 0x0000ffff83feea7c in g_main_context_dispatch () from /usr/lib/libglib-2.0.so.0 20 0x0000ffff83feece8 in ?? () from /usr/lib/libglib-2.0.so.0 21 0x0000ffff83feed8c in g_main_context_iteration () from /usr/lib/libglib-2.0.so.0 22 0x0000ffff881816f4 in base::MessagePumpGlib::Run () at ../../git/src/base/message_loop/message_pump_glib.cc:400 23 0x0000ffff881cecf4 in base::sequence_manager::internal::ThreadControllerWithMessagePumpImpl::Run () at ../../git/src/base/task/sequence_manager/thread_controller_with_message_pump_impl.cc:446 24 0x0000ffff881a7590 in base::RunLoop::Run () at ../../git/src/base/run_loop.cc:124 25 base::RunLoop::Run () at ../../git/src/base/run_loop.cc:102 26 0x0000ffff8d793bdc in neva_app_runtime::AppRuntimeBrowserMainParts::MainMessageLoopRun () at ../../git/src/neva/app_runtime/browser/app_runtime_browser_main_parts.cc:350 27 0x0000ffff86f8a8b8 in content::BrowserMainLoop::RunMainMessageLoopParts () at ../../git/src/content/browser/browser_main_loop.cc:1019 28 0x0000ffff86f8c070 in content::BrowserMainRunnerImpl::Run () at ../../git/src/content/browser/browser_main_runner_impl.cc:150 29 0x0000ffff86f87830 in content::BrowserMain () at ../../git/src/content/browser/browser_main.cc:58 30 0x0000ffff86e17290 in content::RunBrowserProcessMain () at ../../git/src/content/app/content_main_runner_impl.cc:513 31 0x0000ffff86e17370 in content::ContentMainRunnerImpl::RunServiceManager () at ../../git/src/content/app/content_main_runner_impl.cc:990 32 0x0000ffff86e185cc in content::ContentMainRunnerImpl::Run () at ../../git/src/content/app/content_main_runner_impl.cc:869 33 0x0000ffff860a66a8 in content::RunContentProcess () at ../../git/src/content/app/content_main.cc:373 34 0x0000ffff860a69ec in content::ContentMain () at ../../git/src/content/app/content_main.cc:399 35 0x0000ffff88151864 in webos::WebOSMain::Run () at ../../git/src/webos/app/webos_main.cc:42 36 0x0000ffff8417c2d8 in SharedBrowserProcessRuntime::Run(int, char const**) () from /usr/lib/libWebAppMgr.so.1.0 37 0x0000ffff8417c748 in WebRuntimeAGL::Run(int, char const**) () from /usr/lib/libWebAppMgr.so.1.0 38 0x0000aaaacb050a24 in main () Bug-AGL: SPEC-4288 Signed-off-by: Marius Vlad <marius.vlad@collabora.com> Change-Id: Icd9221a14405e27fce89c436e92edfd1485f974e
-rw-r--r--src/index.html4
-rw-r--r--src/styles/main.scss1
-rw-r--r--src/templates/time.template.html2
3 files changed, 4 insertions, 3 deletions
diff --git a/src/index.html b/src/index.html
index 87a9e68..50cb40f 100644
--- a/src/index.html
+++ b/src/index.html
@@ -23,7 +23,7 @@
<body>
<div class="top">
<script id="app-template" type="x-tmpl-mustache">
- <a href="#" class="button" id="app-{{id}}" app-id="{{ id }}" onclick="window.start(this);">
+ <a class="button" id="app-{{id}}" app-id="{{ id }}" onclick="window.start(this);">
<div class="icon {{ icon }}">
</div>
@@ -56,4 +56,4 @@
</div>
</body>
-</html> \ No newline at end of file
+</html>
diff --git a/src/styles/main.scss b/src/styles/main.scss
index a09d4e5..a53778f 100644
--- a/src/styles/main.scss
+++ b/src/styles/main.scss
@@ -6,6 +6,7 @@ html {
height: 100%;
background-size: cover;
-webkit-overflow-scrolling: touch;
+ user-select: none;
}
@keyframes zoomIn {
diff --git a/src/templates/time.template.html b/src/templates/time.template.html
index c7dad96..af4dd1d 100644
--- a/src/templates/time.template.html
+++ b/src/templates/time.template.html
@@ -4,7 +4,7 @@
<div class="infoItem hour">
{{ date.hour }}
</div>
-<a class="infoItem wheater" href="#" onclick="time.refresh()">
+<a class="infoItem wheater" onclick="time.refresh()">
{{ #weather }}
{{ #showTemperature }}
<div class="temperature weatherItem">