zed icon indicating copy to clipboard operation
zed copied to clipboard

Panic when launching Zed on Wayland for a 2nd time

Open jansol opened this issue 1 year ago • 0 comments

Check for existing issues

  • [X] Completed

Describe the bug / provide steps to reproduce it

Open a project in Zed, make some small edits, quit Zed, open project in Zed again, panic.

Environment

NAME="Ubuntu"
VERSION_ID="24.04"
VERSION="24.04 (Noble Numbat)"
XDG_SESSION_DESKTOP=ubuntu
XDG_SESSION_TYPE=wayland

If applicable, add mockups / screenshots to help explain present your vision of the feature

No response

If applicable, attach your ~/Library/Logs/Zed/Zed.log file to this issue.

If you only need the most recent lines, you can run the zed: open log command palette action to see the last 1000.

Long stacktrace
Thread "main" panicked with "assertion failed: range.start  as core::ops::function::Fn>::call
             at /rustc/07dca489ac2d933c78d3c5158e3f43beefeb02ce/library/alloc/src/boxed.rs:2029:9
      std::panicking::rust_panic_with_hook
             at /rustc/07dca489ac2d933c78d3c5158e3f43beefeb02ce/library/std/src/panicking.rs:783:13
   2: std::panicking::begin_panic_handler::{{closure}}
             at /rustc/07dca489ac2d933c78d3c5158e3f43beefeb02ce/library/std/src/panicking.rs:649:13
   3: std::sys_common::backtrace::__rust_end_short_backtrace
             at /rustc/07dca489ac2d933c78d3c5158e3f43beefeb02ce/library/std/src/sys_common/backtrace.rs:171:18
   4: rust_begin_unwind
             at /rustc/07dca489ac2d933c78d3c5158e3f43beefeb02ce/library/std/src/panicking.rs:645:5
   5: core::panicking::panic_fmt
             at /rustc/07dca489ac2d933c78d3c5158e3f43beefeb02ce/library/core/src/panicking.rs:72:14
   6: core::panicking::panic
             at /rustc/07dca489ac2d933c78d3c5158e3f43beefeb02ce/library/core/src/panicking.rs:144:5
   7: <:map::rangemap cosmic_text::attrs::attrsowned>>::insert
             at .cargo/registry/src/index.crates.io-6f17d22bba15001f/rangemap-1.4.0/src/map.rs:224:9
   8: <:attrs::attrslist>::add_span
             at .cargo/registry/src/index.crates.io-6f17d22bba15001f/cosmic-text-0.10.0/src/attrs.rs:258:9
   9: <:platform::linux::text_system::linuxtextsystemstate>::layout_line
             at code/zed/crates/gpui/src/platform/linux/text_system.rs:331:13
      <:platform::linux::text_system::linuxtextsystem as gpui::platform::platformtextsystem>::layout_line
             at code/zed/crates/gpui/src/platform/linux/text_system.rs:184:9
  10: <:text_system::line_layout::linelayoutcache>::layout_line
             at code/zed/crates/gpui/src/text_system/line_layout.rs:405:35
  11: <:text_system::windowtextsystem>::layout_line
             at code/zed/crates/gpui/src/text_system.rs:484:22
  12: <:text_system::windowtextsystem>::shape_line
             at code/zed/crates/gpui/src/text_system.rs:336:22
  13: <:element::linewithinvisibles>::from_chunks::<:iter::adapters::map::map>::highlighted_chunks::{closure#0}>>
             at code/zed/crates/editor/src/element.rs:2868:39
      <:element::editorelement>::layout_lines
             at code/zed/crates/editor/src/element.rs:1946:13
      <:element::editorelement>::compute_layout::{closure#0}
             at code/zed/crates/editor/src/element.rs:2216:32
  14: <:window::windowcontext as gpui::visualcontext>::update_view::<:editor editor::element::layoutstate>::compute_layout::{closure#0}>
             at code/zed/crates/gpui/src/window.rs:1791:22
      <:window::element_cx::elementcontext as gpui::visualcontext>::update_view::<:editor editor::element::layoutstate>::compute_layout::{closure#0}>
             at code/zed/crates/gpui/src/window/element_cx.rs:284:9
      <:view::view>>::update::<:window::element_cx::elementcontext editor::element::layoutstate>::compute_layout::{closure#0}>
             at code/zed/crates/gpui/src/view.rs:75:12
      <:element::editorelement>::compute_layout
             at code/zed/crates/editor/src/element.rs:1959:21
      <:element::editorelement as gpui::element::element>::paint::{closure#0}::{closure#0}
             at code/zed/crates/editor/src/element.rs:3107:38
  15: <:window::element_cx::elementcontext>::with_text_style::::paint::{closure#0}::{closure#0}, ()>
             at code/zed/crates/gpui/src/window/element_cx.rs:381:26
      <:element::editorelement as gpui::element::element>::paint::{closure#0}
             at code/zed/crates/editor/src/element.rs:3100:13
      <:window::element_cx::elementcontext>::paint_view::::paint::{closure#0}>::{closure#0}
             at code/zed/crates/gpui/src/window/element_cx.rs:1149:17
      <:text_system::line_layout::linelayoutcache>::with_view::::paint_view::paint::{closure#0}>::{closure#0}>
             at code/zed/crates/gpui/src/text_system/line_layout.rs:329:22
      <:text_system::windowtextsystem>::with_view::::paint_view::paint::{closure#0}>::{closure#0}>
             at code/zed/crates/gpui/src/text_system.rs:295:9
      <:window::element_cx::elementcontext>::paint_view::::paint::{closure#0}>
             at code/zed/crates/gpui/src/window/element_cx.rs:1147:9
      <:element::editorelement as gpui::element::element>::paint
             at code/zed/crates/editor/src/element.rs:3099:9
  16: <:element::drawableelement>>::paint::{closure#0}
             at code/zed/crates/gpui/src/element.rs:332:25
      <:window::element_cx::elementcontext>::with_element_state::>::paint::{closure#0}>::{closure#0}
             at code/zed/crates/gpui/src/window/element_cx.rs:623:43
      <:window::element_cx::elementcontext>::with_element_id::::with_element_state>::paint::{closure#0}>::{closure#0}>
             at code/zed/crates/gpui/src/window/element_cx.rs:414:26
      <:window::element_cx::elementcontext>::with_element_state::>::paint::{closure#0}>
             at code/zed/crates/gpui/src/window/element_cx.rs:574:9
      <:element::drawableelement>>::paint
             at code/zed/crates/gpui/src/element.rs:330:24
  17: <:option::option>> as gpui::element::ElementObject>::paint
             at code/zed/crates/gpui/src/element.rs:411:9
  18: <:element::anyelement>::paint
             at code/zed/crates/gpui/src/element.rs:455:9
      <:view::anyview as gpui::element::element>::paint::{closure#0}
             at code/zed/crates/gpui/src/view.rs:310:17
  19: <:window::element_cx::elementcontext>::paint_view::::paint::{closure#0}>::{closure#0}
             at code/zed/crates/gpui/src/window/element_cx.rs:1156:30
      <:text_system::line_layout::linelayoutcache>::with_view::::paint_view::paint::{closure#0}>::{closure#0}>
             at code/zed/crates/gpui/src/text_system/line_layout.rs:329:22
      <:text_system::windowtextsystem>::with_view::::paint_view::paint::{closure#0}>::{closure#0}>
             at code/zed/crates/gpui/src/text_system.rs:295:9
      <:window::element_cx::elementcontext>::paint_view::::paint::{closure#0}>
             at code/zed/crates/gpui/src/window/element_cx.rs:1147:9
      <:view::anyview as gpui::element::element>::paint
             at code/zed/crates/gpui/src/view.rs:308:9
  20: <:element::drawableelement>>::paint::{closure#0}
             at code/zed/crates/gpui/src/element.rs:332:25
  21: <:window::element_cx::elementcontext>::with_element_state::<:view::anyviewstate>>::paint::{closure#0}>::{closure#0}
             at code/zed/crates/gpui/src/window/element_cx.rs:623:43
      <:window::element_cx::elementcontext>::with_element_id::::with_element_state<:view::anyviewstate>>::paint::{closure#0}>::{closure#0}>
             at code/zed/crates/gpui/src/window/element_cx.rs:414:26
      <:window::element_cx::elementcontext>::with_element_state::<:view::anyviewstate>>::paint::{closure#0}>
             at code/zed/crates/gpui/src/window/element_cx.rs:574:9
      <:element::drawableelement>>::paint
             at code/zed/crates/gpui/src/element.rs:330:24
  22: <:option::option>> as gpui::element::ElementObject>::paint
             at code/zed/crates/gpui/src/element.rs:411:9
  23: <:element::anyelement>::paint
             at code/zed/crates/gpui/src/element.rs:455:9
      <:elements::div::div as gpui::element::element>::paint::{closure#0}::{closure#0}
             at code/zed/crates/gpui/src/elements/div.rs:1131:25
      <:window::element_cx::elementcontext>::with_element_offset::::paint::{closure#0}::{closure#0}>
             at code/zed/crates/gpui/src/window/element_cx.rs:508:20
      <:elements::div::div as gpui::element::element>::paint::{closure#0}
             at code/zed/crates/gpui/src/elements/div.rs:1129:17
      <:elements::div::interactivity>::paint::::paint::{closure#0}>::{closure#2}::{closure#0}::{closure#0}::{closure#0}::{closure#19}
             at code/zed/crates/gpui/src/elements/div.rs:1913:33
      <:window::element_cx::elementcontext>::with_key_dispatch::::paint::paint::{closure#0}>::{closure#2}::{closure#0}::{closure#0}::{closure#0}::{closure#19}>
             at code/zed/crates/gpui/src/window/element_cx.rs:1120:22
      <:elements::div::interactivity>::paint::::paint::{closure#0}>::{closure#2}::{closure#0}::{closure#0}::{closure#0}
             at code/zed/crates/gpui/src/elements/div.rs:1893:25
  24: <:window::element_cx::elementcontext>::with_content_mask::::paint::paint::{closure#0}>::{closure#2}::{closure#0}::{closure#0}::{closure#0}>
             at code/zed/crates/gpui/src/window/element_cx.rs:437:13
      <:elements::div::interactivity>::paint::::paint::{closure#0}>::{closure#2}::{closure#0}::{closure#0}
             at code/zed/crates/gpui/src/elements/div.rs:1330:21
  25: <:window::element_cx::elementcontext>::with_text_style::::paint::paint::{closure#0}>::{closure#2}::{closure#0}::{closure#0}, ()>
             at code/zed/crates/gpui/src/window/element_cx.rs:385:13
      <:elements::div::interactivity>::paint::::paint::{closure#0}>::{closure#2}::{closure#0}
             at code/zed/crates/gpui/src/elements/div.rs:1329:17
      <:style::style>::paint::::paint::paint::{closure#0}>::{closure#2}::{closure#0}>::{closure#3}
             at code/zed/crates/gpui/src/style.rs:429:13
      <:window::element_cx::elementcontext>::with_z_index::::paint::paint::paint::{closure#0}>::{closure#2}::{closure#0}>::{closure#3}>
             at code/zed/crates/gpui/src/window/element_cx.rs:492:22
      <:style::style>::paint::::paint::paint::{closure#0}>::{closure#2}::{closure#0}>
             at code/zed/crates/gpui/src/style.rs:428:9
      <:elements::div::interactivity>::paint::::paint::{closure#0}>::{closure#2}
             at code/zed/crates/gpui/src/elements/div.rs:1328:13
      <:window::element_cx::elementcontext>::with_z_index::::paint::paint::{closure#0}>::{closure#2}>
             at code/zed/crates/gpui/src/window/element_cx.rs:492:22
      <:elements::div::interactivity>::paint::::paint::{closure#0}>
             at code/zed/crates/gpui/src/elements/div.rs:1327:9
      <:elements::div::div as gpui::element::element>::paint
             at code/zed/crates/gpui/src/elements/div.rs:1123:9
  26: <:element::drawableelement>>::paint
             at code/zed/crates/gpui/src/element.rs:318:21
  27: <:option::option>> as gpui::element::ElementObject>::paint
             at code/zed/crates/gpui/src/element.rs:411:9
  28: <:element::anyelement>::paint
             at code/zed/crates/gpui/src/element.rs:455:9
      <:elements::div::div as gpui::element::element>::paint::{closure#0}::{closure#0}
             at code/zed/crates/gpui/src/elements/div.rs:1131:25
      <:window::element_cx::elementcontext>::with_element_offset::::paint::{closure#0}::{closure#0}>
             at code/zed/crates/gpui/src/window/element_cx.rs:508:20
      <:elements::div::div as gpui::element::element>::paint::{closure#0}
             at code/zed/crates/gpui/src/elements/div.rs:1129:17
      <:elements::div::interactivity>::paint::::paint::{closure#0}>::{closure#2}::{closure#0}::{closure#0}::{closure#0}::{closure#19}
             at code/zed/crates/gpui/src/elements/div.rs:1913:33
      <:window::element_cx::elementcontext>::with_key_dispatch::::paint::paint::{closure#0}>::{closure#2}::{closure#0}::{closure#0}::{closure#0}::{closure#19}>
             at code/zed/crates/gpui/src/window/element_cx.rs:1120:22
      <:elements::div::interactivity>::paint::::paint::{closure#0}>::{closure#2}::{closure#0}::{closure#0}::{closure#0}
             at code/zed/crates/gpui/src/elements/div.rs:1893:25
  29: <:window::element_cx::elementcontext>::with_content_mask::::paint::paint::{closure#0}>::{closure#2}::{closure#0}::{closure#0}::{closure#0}>
             at code/zed/crates/gpui/src/window/element_cx.rs:433:26
      <:elements::div::interactivity>::paint::::paint::{closure#0}>::{closure#2}::{closure#0}::{closure#0}
             at code/zed/crates/gpui/src/elements/div.rs:1330:21
  30: <:window::element_cx::elementcontext>::with_text_style::::paint::paint::{closure#0}>::{closure#2}::{closure#0}::{closure#0}, ()>
             at code/zed/crates/gpui/src/window/element_cx.rs:385:13
      <:elements::div::interactivity>::paint::::paint::{closure#0}>::{closure#2}::{closure#0}
             at code/zed/crates/gpui/src/elements/div.rs:1329:17
      <:style::style>::paint::::paint::paint::{closure#0}>::{closure#2}::{closure#0}>::{closure#3}
             at code/zed/crates/gpui/src/style.rs:429:13
      <:window::element_cx::elementcontext>::with_z_index::::paint::paint::paint::{closure#0}>::{closure#2}::{closure#0}>::{closure#3}>
             at code/zed/crates/gpui/src/window/element_cx.rs:492:22
      <:style::style>::paint::::paint::paint::{closure#0}>::{closure#2}::{closure#0}>
             at code/zed/crates/gpui/src/style.rs:428:9
      <:elements::div::interactivity>::paint::::paint::{closure#0}>::{closure#2}
             at code/zed/crates/gpui/src/elements/div.rs:1328:13
      <:window::element_cx::elementcontext>::with_z_index::::paint::paint::{closure#0}>::{closure#2}>
             at code/zed/crates/gpui/src/window/element_cx.rs:492:22
      <:elements::div::interactivity>::paint::::paint::{closure#0}>
             at code/zed/crates/gpui/src/elements/div.rs:1327:9
      <:elements::div::div as gpui::element::element>::paint
             at code/zed/crates/gpui/src/elements/div.rs:1123:9
  31: <:element::drawableelement>>::paint
             at code/zed/crates/gpui/src/element.rs:318:21
  32: <:option::option>> as gpui::element::ElementObject>::paint
             at code/zed/crates/gpui/src/element.rs:411:9
  33: <:element::anyelement>::paint
             at code/zed/crates/gpui/src/element.rs:455:9
      <:view::anyview as gpui::element::element>::paint::{closure#0}
             at code/zed/crates/gpui/src/view.rs:326:17
  34: <:window::element_cx::elementcontext>::paint_view::::paint::{closure#0}>::{closure#0}
             at code/zed/crates/gpui/src/window/element_cx.rs:1156:30
      <:text_system::line_layout::linelayoutcache>::with_view::::paint_view::paint::{closure#0}>::{closure#0}>
             at code/zed/crates/gpui/src/text_system/line_layout.rs:329:22
      <:text_system::windowtextsystem>::with_view::::paint_view::paint::{closure#0}>::{closure#0}>
             at code/zed/crates/gpui/src/text_system.rs:295:9
      <:window::element_cx::elementcontext>::paint_view::::paint::{closure#0}>
             at code/zed/crates/gpui/src/window/element_cx.rs:1147:9
      <:view::anyview as gpui::element::element>::paint
             at code/zed/crates/gpui/src/view.rs:308:9
  35: <:element::drawableelement>>::paint::{closure#0}
             at code/zed/crates/gpui/src/element.rs:332:25
  36: <:window::element_cx::elementcontext>::with_element_state::<:view::anyviewstate>>::paint::{closure#0}>::{closure#0}
             at code/zed/crates/gpui/src/window/element_cx.rs:623:43
      <:window::element_cx::elementcontext>::with_element_id::::with_element_state<:view::anyviewstate>>::paint::{closure#0}>::{closure#0}>
             at code/zed/crates/gpui/src/window/element_cx.rs:414:26
      <:window::element_cx::elementcontext>::with_element_state::<:view::anyviewstate>>::paint::{closure#0}>
             at code/zed/crates/gpui/src/window/element_cx.rs:574:9
      <:element::drawableelement>>::paint
             at code/zed/crates/gpui/src/element.rs:330:24
  37: <:option::option>> as gpui::element::ElementObject>::paint
             at code/zed/crates/gpui/src/element.rs:411:9
  38: <:element::anyelement>::paint
             at code/zed/crates/gpui/src/element.rs:455:9
      <:elements::div::div as gpui::element::element>::paint::{closure#0}::{closure#0}
             at code/zed/crates/gpui/src/elements/div.rs:1131:25
      <:window::element_cx::elementcontext>::with_element_offset::::paint::{closure#0}::{closure#0}>
             at code/zed/crates/gpui/src/window/element_cx.rs:508:20
      <:elements::div::div as gpui::element::element>::paint::{closure#0}
             at code/zed/crates/gpui/src/elements/div.rs:1129:17
      <:elements::div::interactivity>::paint::::paint::{closure#0}>::{closure#2}::{closure#0}::{closure#0}::{closure#0}::{closure#19}
             at code/zed/crates/gpui/src/elements/div.rs:1913:33
      <:window::element_cx::elementcontext>::with_key_dispatch::::paint::paint::{closure#0}>::{closure#2}::{closure#0}::{closure#0}::{closure#0}::{closure#19}>
             at code/zed/crates/gpui/src/window/element_cx.rs:1120:22
      <:elements::div::interactivity>::paint::::paint::{closure#0}>::{closure#2}::{closure#0}::{closure#0}::{closure#0}
             at code/zed/crates/gpui/src/elements/div.rs:1893:25
  39: <:window::element_cx::elementcontext>::with_content_mask::::paint::paint::{closure#0}>::{closure#2}::{closure#0}::{closure#0}::{closure#0}>
             at code/zed/crates/gpui/src/window/element_cx.rs:437:13
      <:elements::div::interactivity>::paint::::paint::{closure#0}>::{closure#2}::{closure#0}::{closure#0}
             at code/zed/crates/gpui/src/elements/div.rs:1330:21
  40: <:window::element_cx::elementcontext>::with_text_style::::paint::paint::{closure#0}>::{closure#2}::{closure#0}::{closure#0}, ()>
             at code/zed/crates/gpui/src/window/element_cx.rs:385:13
      <:elements::div::interactivity>::paint::::paint::{closure#0}>::{closure#2}::{closure#0}
             at code/zed/crates/gpui/src/elements/div.rs:1329:17
      <:style::style>::paint::::paint::paint::{closure#0}>::{closure#2}::{closure#0}>::{closure#3}
             at code/zed/crates/gpui/src/style.rs:429:13
      <:window::element_cx::elementcontext>::with_z_index::::paint::paint::paint::{closure#0}>::{closure#2}::{closure#0}>::{closure#3}>
             at code/zed/crates/gpui/src/window/element_cx.rs:492:22
      <:style::style>::paint::::paint::paint::{closure#0}>::{closure#2}::{closure#0}>
             at code/zed/crates/gpui/src/style.rs:428:9
      <:elements::div::interactivity>::paint::::paint::{closure#0}>::{closure#2}
             at code/zed/crates/gpui/src/elements/div.rs:1328:13
      <:window::element_cx::elementcontext>::with_z_index::::paint::paint::{closure#0}>::{closure#2}>
             at code/zed/crates/gpui/src/window/element_cx.rs:492:22
      <:elements::div::interactivity>::paint::::paint::{closure#0}>
             at code/zed/crates/gpui/src/elements/div.rs:1327:9
      <:elements::div::div as gpui::element::element>::paint
             at code/zed/crates/gpui/src/elements/div.rs:1123:9
  41: <:element::drawableelement>>::paint
             at code/zed/crates/gpui/src/element.rs:318:21
  42: <:element::drawableelement>>::draw::{closure#0}
             at code/zed/crates/gpui/src/element.rs:393:54
      <:window::element_cx::elementcontext>::with_absolute_element_offset::<:option::option>, <:element::drawableelement>>::draw::{closure#0}>
             at code/zed/crates/gpui/src/window/element_cx.rs:526:22
      <:element::drawableelement>>::draw
             at code/zed/crates/gpui/src/element.rs:393:9
      <:option::option>> as gpui::element::ElementObject>::draw
             at code/zed/crates/gpui/src/element.rs:428:9
  43: <:element::anyelement>::draw
             at code/zed/crates/gpui/src/element.rs:474:9
      <:pane_group::element::paneaxiselement as gpui::element::element>::paint::{closure#3}
             at code/zed/crates/workspace/src/pane_group.rs:896:21
      <:window::element_cx::elementcontext>::with_z_index::::paint::{closure#3}>
             at code/zed/crates/gpui/src/window/element_cx.rs:492:22
      <:pane_group::element::paneaxiselement as gpui::element::element>::paint
             at code/zed/crates/workspace/src/pane_group.rs:895:17
  44: <:element::drawableelement>>::paint::{closure#0}
             at code/zed/crates/gpui/src/element.rs:332:25
      <:window::element_cx::elementcontext>::with_element_state::<:rc::rc>>>, (), <:element::drawableelement>>::paint::{closure#0}>::{closure#0}
             at code/zed/crates/gpui/src/window/element_cx.rs:623:43
      <:window::element_cx::elementcontext>::with_element_id::::with_element_state<:rc::rc>>>, (), <:element::drawableelement>>::paint::{closure#0}>::{closure#0}>
             at code/zed/crates/gpui/src/window/element_cx.rs:414:26
      <:window::element_cx::elementcontext>::with_element_state::<:rc::rc>>>, (), <:element::drawableelement>>::paint::{closure#0}>
             at code/zed/crates/gpui/src/window/element_cx.rs:574:9
      <:element::drawableelement>>::paint
             at code/zed/crates/gpui/src/element.rs:330:24
  45: <:option::option>> as gpui::element::ElementObject>::paint
             at code/zed/crates/gpui/src/element.rs:411:9
  46: <:element::anyelement>::paint
             at code/zed/crates/gpui/src/element.rs:455:9
      <:element::anyelement as gpui::element::element>::paint
             at code/zed/crates/gpui/src/element.rs:496:9
      <:element::drawableelement>>::paint
             at code/zed/crates/gpui/src/element.rs:318:21
  47: <:option::option>> as gpui::element::ElementObject>::paint
             at code/zed/crates/gpui/src/element.rs:411:9
  48: <:element::anyelement>::paint
             at code/zed/crates/gpui/src/element.rs:455:9
      <:element::anyelement as gpui::element::element>::paint
             at code/zed/crates/gpui/src/element.rs:496:9
      <:element::drawableelement>>::paint
             at code/zed/crates/gpui/src/element.rs:318:21
  49: <:option::option>> as gpui::element::ElementObject>::paint
             at code/zed/crates/gpui/src/element.rs:411:9
  50: <:element::anyelement>::paint
             at code/zed/crates/gpui/src/element.rs:455:9
      <:elements::div::div as gpui::element::element>::paint::{closure#0}::{closure#0}
             at code/zed/crates/gpui/src/elements/div.rs:1131:25
      <:window::element_cx::elementcontext>::with_element_offset::::paint::{closure#0}::{closure#0}>
             at code/zed/crates/gpui/src/window/element_cx.rs:508:20
      <:elements::div::div as gpui::element::element>::paint::{closure#0}
             at code/zed/crates/gpui/src/elements/div.rs:1129:17
      <:elements::div::interactivity>::paint::::paint::{closure#0}>::{closure#2}::{closure#0}::{closure#0}::{closure#0}::{closure#19}
             at code/zed/crates/gpui/src/elements/div.rs:1913:33
      <:window::element_cx::elementcontext>::with_key_dispatch::::paint::paint::{closure#0}>::{closure#2}::{closure#0}::{closure#0}::{closure#0}::{closure#19}>
             at code/zed/crates/gpui/src/window/element_cx.rs:1120:22
      <:elements::div::interactivity>::paint::::paint::{closure#0}>::{closure#2}::{closure#0}::{closure#0}::{closure#0}
             at code/zed/crates/gpui/src/elements/div.rs:1893:25
  51: <:window::element_cx::elementcontext>::with_content_mask::::paint::paint::{closure#0}>::{closure#2}::{closure#0}::{closure#0}::{closure#0}>
             at code/zed/crates/gpui/src/window/element_cx.rs:433:26
      <:elements::div::interactivity>::paint::::paint::{closure#0}>::{closure#2}::{closure#0}::{closure#0}
             at code/zed/crates/gpui/src/elements/div.rs:1330:21
  52: <:window::element_cx::elementcontext>::with_text_style::::paint::paint::{closure#0}>::{closure#2}::{closure#0}::{closure#0}, ()>
             at code/zed/crates/gpui/src/window/element_cx.rs:385:13
      <:elements::div::interactivity>::paint::::paint::{closure#0}>::{closure#2}::{closure#0}
             at code/zed/crates/gpui/src/elements/div.rs:1329:17
      <:style::style>::paint::::paint::paint::{closure#0}>::{closure#2}::{closure#0}>::{closure#3}
             at code/zed/crates/gpui/src/style.rs:429:13
      <:window::element_cx::elementcontext>::with_z_index::::paint::paint::paint::{closure#0}>::{closure#2}::{closure#0}>::{closure#3}>
             at code/zed/crates/gpui/src/window/element_cx.rs:492:22
      <:style::style>::paint::::paint::paint::{closure#0}>::{closure#2}::{closure#0}>
             at code/zed/crates/gpui/src/style.rs:428:9
      <:elements::div::interactivity>::paint::::paint::{closure#0}>::{closure#2}
             at code/zed/crates/gpui/src/elements/div.rs:1328:13
      <:window::element_cx::elementcontext>::with_z_index::::paint::paint::{closure#0}>::{closure#2}>
             at code/zed/crates/gpui/src/window/element_cx.rs:492:22
      <:elements::div::interactivity>::paint::::paint::{closure#0}>
             at code/zed/crates/gpui/src/elements/div.rs:1327:9
      <:elements::div::div as gpui::element::element>::paint
             at code/zed/crates/gpui/src/elements/div.rs:1123:9
  53: <:element::drawableelement>>::paint
             at code/zed/crates/gpui/src/element.rs:318:21
  54: <:option::option>> as gpui::element::ElementObject>::paint
             at code/zed/crates/gpui/src/element.rs:411:9
  55: <:element::anyelement>::paint
             at code/zed/crates/gpui/src/element.rs:455:9
      <:elements::div::div as gpui::element::element>::paint::{closure#0}::{closure#0}
             at code/zed/crates/gpui/src/elements/div.rs:1131:25
      <:window::element_cx::elementcontext>::with_element_offset::::paint::{closure#0}::{closure#0}>
             at code/zed/crates/gpui/src/window/element_cx.rs:508:20
      <:elements::div::div as gpui::element::element>::paint::{closure#0}
             at code/zed/crates/gpui/src/elements/div.rs:1129:17
      <:elements::div::interactivity>::paint::::paint::{closure#0}>::{closure#2}::{closure#0}::{closure#0}::{closure#0}::{closure#19}
             at code/zed/crates/gpui/src/elements/div.rs:1913:33
      <:window::element_cx::elementcontext>::with_key_dispatch::::paint::paint::{closure#0}>::{closure#2}::{closure#0}::{closure#0}::{closure#0}::{closure#19}>
             at code/zed/crates/gpui/src/window/element_cx.rs:1120:22
      <:elements::div::interactivity>::paint::::paint::{closure#0}>::{closure#2}::{closure#0}::{closure#0}::{closure#0}
             at code/zed/crates/gpui/src/elements/div.rs:1893:25
  56: <:window::element_cx::elementcontext>::with_content_mask::::paint::paint::{closure#0}>::{closure#2}::{closure#0}::{closure#0}::{closure#0}>
             at code/zed/crates/gpui/src/window/element_cx.rs:437:13
      <:elements::div::interactivity>::paint::::paint::{closure#0}>::{closure#2}::{closure#0}::{closure#0}
             at code/zed/crates/gpui/src/elements/div.rs:1330:21
  57: <:window::element_cx::elementcontext>::with_text_style::::paint::paint::{closure#0}>::{closure#2}::{closure#0}::{closure#0}, ()>
             at code/zed/crates/gpui/src/window/element_cx.rs:385:13
      <:elements::div::interactivity>::paint::::paint::{closure#0}>::{closure#2}::{closure#0}
             at code/zed/crates/gpui/src/elements/div.rs:1329:17
      <:style::style>::paint::::paint::paint::{closure#0}>::{closure#2}::{closure#0}>::{closure#3}
             at code/zed/crates/gpui/src/style.rs:429:13
      <:window::element_cx::elementcontext>::with_z_index::::paint::paint::paint::{closure#0}>::{closure#2}::{closure#0}>::{closure#3}>
             at code/zed/crates/gpui/src/window/element_cx.rs:492:22
      <:style::style>::paint::::paint::paint::{closure#0}>::{closure#2}::{closure#0}>
             at code/zed/crates/gpui/src/style.rs:428:9
      <:elements::div::interactivity>::paint::::paint::{closure#0}>::{closure#2}
             at code/zed/crates/gpui/src/elements/div.rs:1328:13
      <:window::element_cx::elementcontext>::with_z_index::::paint::paint::{closure#0}>::{closure#2}>
             at code/zed/crates/gpui/src/window/element_cx.rs:492:22
      <:elements::div::interactivity>::paint::::paint::{closure#0}>
             at code/zed/crates/gpui/src/elements/div.rs:1327:9
      <:elements::div::div as gpui::element::element>::paint
             at code/zed/crates/gpui/src/elements/div.rs:1123:9
  58: <:element::drawableelement>>::paint
             at code/zed/crates/gpui/src/element.rs:318:21
  59: <:option::option>> as gpui::element::ElementObject>::paint
             at code/zed/crates/gpui/src/element.rs:411:9
  60: <:element::anyelement>::paint
             at code/zed/crates/gpui/src/element.rs:455:9
      <:elements::div::div as gpui::element::element>::paint::{closure#0}::{closure#0}
             at code/zed/crates/gpui/src/elements/div.rs:1131:25
      <:window::element_cx::elementcontext>::with_element_offset::::paint::{closure#0}::{closure#0}>
             at code/zed/crates/gpui/src/window/element_cx.rs:508:20
      <:elements::div::div as gpui::element::element>::paint::{closure#0}
             at code/zed/crates/gpui/src/elements/div.rs:1129:17
      <:elements::div::interactivity>::paint::::paint::{closure#0}>::{closure#2}::{closure#0}::{closure#0}::{closure#0}::{closure#19}
             at code/zed/crates/gpui/src/elements/div.rs:1913:33
      <:window::element_cx::elementcontext>::with_key_dispatch::::paint::paint::{closure#0}>::{closure#2}::{closure#0}::{closure#0}::{closure#0}::{closure#19}>
             at code/zed/crates/gpui/src/window/element_cx.rs:1120:22
      <:elements::div::interactivity>::paint::::paint::{closure#0}>::{closure#2}::{closure#0}::{closure#0}::{closure#0}
             at code/zed/crates/gpui/src/elements/div.rs:1893:25
  61: <:window::element_cx::elementcontext>::with_content_mask::::paint::paint::{closure#0}>::{closure#2}::{closure#0}::{closure#0}::{closure#0}>
             at code/zed/crates/gpui/src/window/element_cx.rs:433:26
      <:elements::div::interactivity>::paint::::paint::{closure#0}>::{closure#2}::{closure#0}::{closure#0}
             at code/zed/crates/gpui/src/elements/div.rs:1330:21
  62: <:window::element_cx::elementcontext>::with_text_style::::paint::paint::{closure#0}>::{closure#2}::{closure#0}::{closure#0}, ()>
             at code/zed/crates/gpui/src/window/element_cx.rs:385:13
      <:elements::div::interactivity>::paint::::paint::{closure#0}>::{closure#2}::{closure#0}
             at code/zed/crates/gpui/src/elements/div.rs:1329:17
      <:style::style>::paint::::paint::paint::{closure#0}>::{closure#2}::{closure#0}>::{closure#3}
             at code/zed/crates/gpui/src/style.rs:429:13
      <:window::element_cx::elementcontext>::with_z_index::::paint::paint::paint::{closure#0}>::{closure#2}::{closure#0}>::{closure#3}>
             at code/zed/crates/gpui/src/window/element_cx.rs:492:22
      <:style::style>::paint::::paint::paint::{closure#0}>::{closure#2}::{closure#0}>
             at code/zed/crates/gpui/src/style.rs:428:9
      <:elements::div::interactivity>::paint::::paint::{closure#0}>::{closure#2}
             at code/zed/crates/gpui/src/elements/div.rs:1328:13
      <:window::element_cx::elementcontext>::with_z_index::::paint::paint::{closure#0}>::{closure#2}>
             at code/zed/crates/gpui/src/window/element_cx.rs:492:22
      <:elements::div::interactivity>::paint::::paint::{closure#0}>
             at code/zed/crates/gpui/src/elements/div.rs:1327:9
      <:elements::div::div as gpui::element::element>::paint
             at code/zed/crates/gpui/src/elements/div.rs:1123:9
  63: <:elements::div::stateful> as gpui::element::Element>::paint
             at code/zed/crates/gpui/src/elements/div.rs:2215:9
      <:element::drawableelement>>>::paint::{closure#0}
             at code/zed/crates/gpui/src/element.rs:332:25
  64: <:window::element_cx::elementcontext>::with_element_state::<:elements::div::divstate>>>::paint::{closure#0}>::{closure#0}
             at code/zed/crates/gpui/src/window/element_cx.rs:623:43
  65: <:window::element_cx::elementcontext>::with_element_id::::with_element_state<:elements::div::divstate>>>::paint::{closure#0}>::{closure#0}>
             at code/zed/crates/gpui/src/window/element_cx.rs:414:26
      <:window::element_cx::elementcontext>::with_element_state::<:elements::div::divstate>>>::paint::{closure#0}>
             at code/zed/crates/gpui/src/window/element_cx.rs:574:9
      <:element::drawableelement>>>::paint
             at code/zed/crates/gpui/src/element.rs:330:24
  66: <:option::option>>> as gpui::element::ElementObject>::paint
             at code/zed/crates/gpui/src/element.rs:411:9
  67: <:element::anyelement>::paint
             at code/zed/crates/gpui/src/element.rs:455:9
      <:elements::div::div as gpui::element::element>::paint::{closure#0}::{closure#0}
             at code/zed/crates/gpui/src/elements/div.rs:1131:25
      <:window::element_cx::elementcontext>::with_element_offset::::paint::{closure#0}::{closure#0}>
             at code/zed/crates/gpui/src/window/element_cx.rs:508:20
      <:elements::div::div as gpui::element::element>::paint::{closure#0}
             at code/zed/crates/gpui/src/elements/div.rs:1129:17
      <:elements::div::interactivity>::paint::::paint::{closure#0}>::{closure#2}::{closure#0}::{closure#0}::{closure#0}::{closure#19}
             at code/zed/crates/gpui/src/elements/div.rs:1913:33
      <:window::element_cx::elementcontext>::with_key_dispatch::::paint::paint::{closure#0}>::{closure#2}::{closure#0}::{closure#0}::{closure#0}::{closure#19}>
             at code/zed/crates/gpui/src/window/element_cx.rs:1120:22
      <:elements::div::interactivity>::paint::::paint::{closure#0}>::{closure#2}::{closure#0}::{closure#0}::{closure#0}
             at code/zed/crates/gpui/src/elements/div.rs:1893:25
  68: <:window::element_cx::elementcontext>::with_content_mask::::paint::paint::{closure#0}>::{closure#2}::{closure#0}::{closure#0}::{closure#0}>
             at code/zed/crates/gpui/src/window/element_cx.rs:437:13
      <:elements::div::interactivity>::paint::::paint::{closure#0}>::{closure#2}::{closure#0}::{closure#0}
             at code/zed/crates/gpui/src/elements/div.rs:1330:21
  69: <:window::element_cx::elementcontext>::with_text_style::::paint::paint::{closure#0}>::{closure#2}::{closure#0}::{closure#0}, ()>
             at code/zed/crates/gpui/src/window/element_cx.rs:381:26
      <:elements::div::interactivity>::paint::::paint::{closure#0}>::{closure#2}::{closure#0}
             at code/zed/crates/gpui/src/elements/div.rs:1329:17
      <:style::style>::paint::::paint::paint::{closure#0}>::{closure#2}::{closure#0}>::{closure#3}
             at code/zed/crates/gpui/src/style.rs:429:13
      <:window::element_cx::elementcontext>::with_z_index::::paint::paint::paint::{closure#0}>::{closure#2}::{closure#0}>::{closure#3}>
             at code/zed/crates/gpui/src/window/element_cx.rs:492:22
      <:style::style>::paint::::paint::paint::{closure#0}>::{closure#2}::{closure#0}>
             at code/zed/crates/gpui/src/style.rs:428:9
      <:elements::div::interactivity>::paint::::paint::{closure#0}>::{closure#2}
             at code/zed/crates/gpui/src/elements/div.rs:1328:13
      <:window::element_cx::elementcontext>::with_z_index::::paint::paint::{closure#0}>::{closure#2}>
             at code/zed/crates/gpui/src/window/element_cx.rs:492:22
      <:elements::div::interactivity>::paint::::paint::{closure#0}>
             at code/zed/crates/gpui/src/elements/div.rs:1327:9
      <:elements::div::div as gpui::element::element>::paint
             at code/zed/crates/gpui/src/elements/div.rs:1123:9
  70: <:element::drawableelement>>::paint
             at code/zed/crates/gpui/src/element.rs:318:21
  71: <:option::option>> as gpui::element::ElementObject>::paint
             at code/zed/crates/gpui/src/element.rs:411:9
  72: <:element::anyelement>::paint
             at code/zed/crates/gpui/src/element.rs:455:9
      <:view::anyview>::draw::{closure#0}::{closure#0}
             at code/zed/crates/gpui/src/view.rs:260:17
      <:window::element_cx::elementcontext>::with_absolute_element_offset::::draw::{closure#0}::{closure#0}>
             at code/zed/crates/gpui/src/window/element_cx.rs:526:22
      <:view::anyview>::draw::{closure#0}
             at code/zed/crates/gpui/src/view.rs:257:13
  73: <:window::element_cx::elementcontext>::paint_view::::draw::{closure#0}>::{closure#0}
             at code/zed/crates/gpui/src/window/element_cx.rs:1156:30
      <:text_system::line_layout::linelayoutcache>::with_view::::paint_view::draw::{closure#0}>::{closure#0}>
             at code/zed/crates/gpui/src/text_system/line_layout.rs:329:22
      <:text_system::windowtextsystem>::with_view::::paint_view::draw::{closure#0}>::{closure#0}>
             at code/zed/crates/gpui/src/text_system.rs:295:9
      <:window::element_cx::elementcontext>::paint_view::::draw::{closure#0}>
             at code/zed/crates/gpui/src/window/element_cx.rs:1147:9
      <:view::anyview>::draw
             at code/zed/crates/gpui/src/view.rs:256:9
  74: <:window::windowcontext>::draw::{closure#0}::{closure#0}::{closure#0}
             at code/zed/crates/gpui/src/window.rs:983:21
      <:window::element_cx::elementcontext>::with_key_dispatch::::draw::{closure#0}::{closure#0}::{closure#0}>
             at code/zed/crates/gpui/src/window/element_cx.rs:1120:22
      

jansol avatar Feb 23 '24 12:02 jansol