Mir

miral-shell doesn't work with breeze X cursor theme

Bug #1699084 reported by Alan Griffiths
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
Mir
Fix Released
Low
Alan Griffiths
MirAL
Fix Committed
Low
Alan Griffiths

Bug Description

$ sudo apt install breeze-cursor-theme

will change /usr/share/icons/default/index.theme to use breeze (a perfectly fine cursor set I'm sure).

However, after this miral-shell fails with: "std::exception::what: Failed to load cursor theme: breeze"

There are other cursor themes that fail (redglass, whiteglass) and others that work DMZ-White, DMZ-Black, Adwaita).

Related branches

Revision history for this message
Alan Griffiths (alan-griffiths) wrote :

Since -r 557 it is possible to workaround this with:

$ miral-shell --cursor-theme DMZ-White

Revision history for this message
Mir CI Bot (mir-ci-bot) wrote :

Fix committed into lp:miral at revision None, scheduled for release in miral, milestone Unknown

Changed in miral:
status: Triaged → Fix Committed
Revision history for this message
Alan Griffiths (alan-griffiths) wrote :

Linked branch mitigates the impact, but doesn't fix the underlying problem

Changed in miral:
status: Fix Committed → Confirmed
Revision history for this message
Alan Griffiths (alan-griffiths) wrote :

OK, the reason for this is that MirAL is looking for cursor images of Mir's default 24x24 size and not finding any.

For example, redglass has:

Image: crosshair, size=32x32
Image: draft_large, size=27x32
Image: shuttle, size=43x64
Image: center_ptr, size=32x32
Image: left_side, size=32x29
Image: watch, size=29x32
Image: watch, size=29x32
Image: watch, size=29x32
Image: watch, size=29x32
Image: watch, size=29x32
Image: watch, size=32x32
Image: watch, size=32x32
Image: watch, size=32x32
Image: draft_small, size=27x32
Image: cross_reverse, size=32x32
Image: plus, size=32x32
Image: double_arrow, size=32x32
Image: ll_angle, size=32x29
Image: dot, size=32x32
Image: fleur, size=36x36
Image: left_tee, size=32x29
Image: sb_up_arrow, size=32x32
Image: right_tee, size=32x32
Image: bottom_right_corner, size=32x29
Image: arrow, size=27x32
Image: cross, size=32x32
Image: bottom_side, size=32x32
Image: sb_right_arrow, size=32x30
Image: hand2, size=36x36
Image: top_side, size=32x32
Image: right_side, size=27x32
Image: X_cursor, size=32x32
Image: top_right_corner, size=32x32
Image: bottom_left_corner, size=32x29
Image: xterm, size=32x32
Image: top_left_corner, size=32x32
Image: draped_box, size=32x32
Image: based_arrow_down, size=32x32
Image: circle, size=32x32
Image: dotbox, size=32x32
Image: left_ptr_watch, size=48x32
Image: left_ptr_watch, size=32x32
Image: gumby, size=24x32
Image: bottom_tee, size=32x29
Image: sb_h_double_arrow, size=36x32
Image: sb_v_double_arrow, size=32x32
Image: top_left_arrow, size=32x32
Image: pencil, size=36x36
Image: left_ptr, size=32x32
Image: tcross, size=32x32
Image: based_arrow_up, size=32x31
Image: 08e8e1c95fe2fc01f976f1e063a24ccd, size=48x32
Image: 08e8e1c95fe2fc01f976f1e063a24ccd, size=32x32
Image: right_ptr, size=27x32

Changed in miral:
status: Confirmed → In Progress
assignee: nobody → Alan Griffiths (alan-griffiths)
milestone: none → 1.5
Revision history for this message
Mir CI Bot (mir-ci-bot) wrote :

Fix committed into lp:miral at revision None, scheduled for release in miral, milestone Unknown

Changed in miral:
status: In Progress → Fix Committed
Changed in mir:
status: New → Fix Committed
importance: Undecided → Low
assignee: nobody → Alan Griffiths (alan-griffiths)
milestone: none → 1.0.0
Changed in mir:
status: Fix Committed → Fix Released
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.