Cursor size is not updated on HiDPI at intermediate UI scale levels
| Affects | Status | Importance | Assigned to | Milestone | |
|---|---|---|---|---|---|
| | Unity |
Fix Released
|
Medium
|
Marco Trevisan (Treviño) | |
| | unity (Ubuntu) |
Undecided
|
Marco Trevisan (Treviño) | ||
Bug Description
When UI scale factor is at intermediate values from 1.0-2.0 and from 2.0-3.0 the cursor size is not updated to match current settings.
Related branches
- PS Jenkins bot: Approve (continuous-integration) on 2014-03-21
- Brandon Schaefer (community): Approve on 2014-03-21
- Eleni Maria Stea (community): Approve on 2014-03-21
-
Diff: 2446 lines (+366/-381)78 files modifiedcom.canonical.Unity.gschema.xml (+30/-0)
dash/DashController.cpp (+1/-1)
dash/DashController.h (+2/-1)
dash/ResultRendererHorizontalTile.cpp (+3/-7)
dash/ResultRendererTile.cpp (+4/-7)
dash/ResultView.cpp (+13/-0)
dash/ResultView.h (+1/-0)
debian/unity.migrations (+1/-0)
launcher/ApplicationLauncherIcon.cpp (+20/-5)
launcher/QuicklistMenuItem.cpp (+3/-14)
panel/PanelIndicatorEntryView.cpp (+1/-0)
plugins/unityshell/src/unityshell.cpp (+4/-5)
tests/data/external.gschema.xml (+15/-0)
tests/mock-application.h (+0/-2)
tests/test_action_link.cpp (+2/-1)
tests/test_bfb_launcher_icon.cpp (+0/-3)
tests/test_dash_controller.cpp (+0/-2)
tests/test_dashview.cpp (+0/-6)
tests/test_desktop_launcher_icon.cpp (+0/-2)
tests/test_device_launcher_section.cpp (+0/-3)
tests/test_error_preview.cpp (+0/-2)
tests/test_expo_launcher_icon.cpp (+0/-3)
tests/test_favorite_store_gsettings.cpp (+0/-9)
tests/test_filter_widgets.cpp (+0/-2)
tests/test_gnome_session_manager.cpp (+0/-4)
tests/test_gsettings_scopes.cpp (+0/-1)
tests/test_hud_button.cpp (+0/-2)
tests/test_hud_controller.cpp (+0/-2)
tests/test_hud_launcher_icon.cpp (+0/-2)
tests/test_hud_view.cpp (+0/-2)
tests/test_launcher.cpp (+0/-2)
tests/test_launcher_controller.cpp (+0/-2)
tests/test_launcher_icon.cpp (+0/-2)
tests/test_launcher_minimize_speed.cpp (+3/-11)
tests/test_launcher_tooltip.cpp (+0/-2)
tests/test_lockscreen_controller.cpp (+0/-2)
tests/test_main.cpp (+2/-1)
tests/test_panel_controller.cpp (+0/-2)
tests/test_panel_indicator_entry_dropdown_view.cpp (+0/-2)
tests/test_panel_indicators_view.cpp (+0/-2)
tests/test_panel_menu_view.cpp (+0/-2)
tests/test_panel_style.cpp (+1/-11)
tests/test_panel_view.cpp (+0/-2)
tests/test_previews_application.cpp (+0/-2)
tests/test_previews_generic.cpp (+0/-2)
tests/test_previews_movie.cpp (+0/-2)
tests/test_previews_music.cpp (+0/-2)
tests/test_previews_music_payment.cpp (+0/-2)
tests/test_previews_payment.cpp (+0/-2)
tests/test_previews_social.cpp (+0/-2)
tests/test_quicklist_manager.cpp (+0/-2)
tests/test_quicklist_view.cpp (+0/-2)
tests/test_result_renderer.cpp (+0/-2)
tests/test_scope_bar.cpp (+0/-2)
tests/test_scope_view.cpp (+0/-2)
tests/test_searchbar.cpp (+0/-2)
tests/test_session_controller.cpp (+0/-2)
tests/test_session_view.cpp (+0/-2)
tests/test_shortcut_controller.cpp (+0/-2)
tests/test_shortcut_view.cpp (+0/-2)
tests/test_single_monitor_launcher_icon.cpp (+0/-2)
tests/test_spread_filter.cpp (+0/-2)
tests/test_switcher_controller.h (+0/-4)
tests/test_switcher_view.cpp (+0/-2)
tests/test_text_input.cpp (+0/-2)
tests/test_unity_settings.cpp (+30/-36)
tests/test_unity_window_view.cpp (+0/-2)
tests/test_volume_launcher_icon.cpp (+0/-2)
tests/test_window_buttons.cpp (+0/-3)
tools/migration-scripts/02_unity_setup_text_scale_factor (+39/-0)
unity-shared/DashStyle.cpp (+17/-48)
unity-shared/DecorationStyle.cpp (+9/-9)
unity-shared/DecorationStyle.h (+1/-0)
unity-shared/IconLoader.cpp (+5/-12)
unity-shared/StaticCairoText.cpp (+9/-34)
unity-shared/UScreen.cpp (+2/-2)
unity-shared/UnitySettings.cpp (+147/-56)
unity-shared/UnitySettings.h (+1/-0)
| Changed in unity: | |
| status: | In Progress → Fix Committed |
| David White (cppege-david-9ei9ny) wrote : | #2 |
I've come across this or a similar bug in 14.10 which runs unity 7.3.1. I'm on a DELL XPS 15 with a 240 dpi screen. This looks best with a scaling factor of 2 or 2.5. The mouse in most applications (firefox, terminal) is the proper size but on the desktop and in nautilus windows it is very tiny.
| Marco Trevisan (Treviño) (3v1n0) wrote : | #3 |
As a workaround, restarting unity should work (i.e. open a terminal or alt+f2 and launch "unity" or "compiz --replace").
It looks that these settings aren't picked at the right time...
| David White (cppege-david-9ei9ny) wrote : | #4 |
Thank you, that worked! However, on reboot it's all back to how it was. At least I know there's a workaround and don't have to carry on searching through settings trying to get it to work.
| Simon Casey (nicely-toasted) wrote : | #5 |
I also get this same issue (I have the Dell XPS 15 too, as David White above - it's the 9530 model). UI Scaling is set to 2x and looks fine everywhere except the cursor. Cursor is correct size in Google Chrome however as reported above. The workaround of restarting unity works, but is not ideal.
| Jamie Strandboge (jdstrand) wrote : | #6 |
I see this too on an XPS13 9343 with external monitor. The cursor is correctly sized when over certain windows (eg, firefox, chromium), but small when over title bars, the panel, the background, the launcher and some gtk UI elements (eg, parts of the calculator). This list is almost certainly not exhaustive.
| Jamie Strandboge (jdstrand) wrote : | #7 |
Per Stephen, reopening since this doesn't seem to be fixed for people. FYI, I'm seeing this on Ubuntu 15.04.
| Changed in unity (Ubuntu): | |
| status: | Fix Released → New |
| Stephen M. Webb (bregma) wrote : | #8 |
Setting back to NEW for further investigation.
| Changed in unity: | |
| milestone: | 7.2.0 → none |
| status: | Fix Released → New |
| Lukáš Tinkl (lukas-kde) wrote : | #9 |
| Launchpad Janitor (janitor) wrote : | #10 |
Status changed to 'Confirmed' because the bug affects multiple users.
| Changed in unity (Ubuntu): | |
| status: | New → Confirmed |
| Christian Dreher (cdreher3011) wrote : | #11 |
IMO #9 is absolutely related and offers some workarounds (at least for me). I had the same issue and now it works like expected
| Marco Trevisan (Treviño) (3v1n0) wrote : | #12 |
I'm marking this released again, let's track the issue (which is different from the original scope of this bug) on bug #1359211
| Changed in unity: | |
| status: | New → Fix Released |
| Changed in unity (Ubuntu): | |
| status: | Confirmed → Fix Committed |
| Changed in unity: | |
| milestone: | none → 7.2.6 |
| Changed in unity (Ubuntu): | |
| status: | Fix Committed → Fix Released |


Fix Released in Unity Unity 7.2.0.