Skip to content

Focus jumps around in webview when scale factor > 1 #7655

Closed

Description

@CharlieHess
  • Electron version: 1.4.3
  • Operating system: Windows 10

While hovering over certain elements focus leaps around the page. This seems to be a very recent regression; we've haven't made any changes that would cause this within our embedded page.

Here's a video of what I mean. I'll try to provide more isolating info.

Activity

  1. changed the title [-]Focus jumps around in webview[/-] [+]Focus jumps around in webview when scale factor > 1[/+] on Oct 17, 2016
  2. CharlieHess commented on Oct 17, 2016

    @CharlieHess
    ContributorAuthor

    Seems the trick to reproducing this is setting DPI > 100%. I have a dual-monitor setup, but even when both are set consistently (say, 200%) it still happens. But if both are at 100% this does not happen.

  3. eladams commented on Oct 20, 2016

    @eladams

    @CharlieHess Also in:

    • Electron version: 1.4.4
    • Operating system: Windows 10

    Last version that it worked well on was 1.3.8 and was broken since 1.4.0
    By comparing 1.3.7 and 1.4.0 it seems that the main change is moving forward to chrome 53
    compare: 1.3.7 ... 1.4.0

  4. CharlieHess commented on Oct 20, 2016

    @CharlieHess
    ContributorAuthor

    Perhaps related to use-zoom-for-dsf changes that went into Chrome 53?

  5. added
    blocked/need-info ❌
    on Oct 24, 2016
  6. Thomas101 commented on Oct 24, 2016

    @Thomas101
    Contributor

    @CharlieHess did you happen to see this on a Lenovo laptop by any chance?

  7. kwonoj commented on Oct 24, 2016

    @kwonoj
    Contributor

    @Thomas101 I'm using lenovo x1 yoga (2560x1600, 150%) and seeing this constantly.

  8. Thomas101 commented on Oct 24, 2016

    @Thomas101
    Contributor

    I've had some lenovo yoga users report issues with highlighting text and resizing textareas. The videos I've been sent seem to be similar to the video @CharlieHess uploaded. Was not able to reproduce the issues on non-lenovo laptops though.

    I've attached the simplest example I could put together... wmail-lenovo-test copy.zip and also a prebuilt version ... a video of the bug that came through for me was uploaded here.

    I'd hate to hijack your issue so if it all works for you I'm happy to open elsewhere but on the face of it looks like it might be related :-/

  9. CharlieHess commented on Oct 27, 2016

    @CharlieHess
    ContributorAuthor

    @Thomas101 This issue happens on every machine I've tried. 😞

  10. eladams commented on Oct 27, 2016

    @eladams

    @Thomas101 and @CharlieHess I'm using version 1.3.8 currently for my Windows build in order avoid this issue.

  11. andymartinwork commented on Nov 1, 2016

    @andymartinwork

    We are getting this on our app. Every windows machine with a zoom factor > 100%.
    It happens just like the video with slack.

    This is a serious bug which makes parts of the app unusable for some users.
    I will be downgrading to 1.3.8 and pushing that out to users until this is fixed.

  12. MarshallOfSound commented on Nov 10, 2016

    @MarshallOfSound
    Member

    @CharlieHess @andymartinwork @zcbenz I have reports that one of the debug builds I gave people with this line of code.

    app.commandLine.appendSwitch('enable-use-zoom-for-dsf', 'false');

    Fixed the issue, is this something that should be done at an Electron level or should we attempt to find root cause?

  13. CharlieHess commented on Nov 11, 2016

    @CharlieHess
    ContributorAuthor

    @MarshallOfSound yeah that fixes it for us, too. I guess we should call attention to this at the Chromium level (maybe it's already been filed?) and in the meantime add the switch to Electron.

  14. added a commit that references this issue on Dec 6, 2016
  15. yuya-oc commented on Mar 9, 2017

    @yuya-oc
    Contributor

    In my Electron app, I feel this problem was fixed by upgrading to 1.6.1. Did anyone confirm this? I'm using 150% of DPI.

  16. added and removed
    blocked/need-info ❌
    on Mar 31, 2017
  17. zcbenz commented on May 31, 2017

    @zcbenz
    Contributor

    I'm closing this since it seems to have been fixed in 1.6.x.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions