New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Windows 8.1/Chrome: Unable to save edits #3688
Comments
No, this is with latest version from pip. |
Can you try the version of the support/3.0.x branch from GitHub? I don't think it will make a difference, but it's just possible. |
Tried support/3.0.x branch, and it's still an issue there. |
I wonder if this is because the Surface Pro is a touch and mouse driven device. Perhaps we detect touch enabled, then not look for mouse input?. I do not have a dual-input device to test on. Anyone else? |
I've given this a blocker tag. This is content-manager facing and adversely affects normal operations on affected devices. @averymd Can you advise the version of Chrome you're using? Also, if not the very latest, can you retest on latest Chrome? Finally, can you test in other browsers (IE and Firefox, in particular). Many thanks! |
I've tested with the "development" version of DjangoCMS on my Yoga Windows 8.1 Device. I've installed the development version with the djangocms-installer. Chrome is still not working. Firefox and IE are OK. You can reproduce this issue on a Windows 7 non touch device:
|
I'm on the latest version of Chrome on my Surface. IE 11 and latest FF work perfectly fine. |
I'm also having this issue. This applies to the modal popup window buttons as well as the left window pane that opens to the django admin. Once it's open on the left side, I can't close it without logout->login (ESC doesn't work either). I'm using latest chrome. Also, can confirm this works in other browsers. Server: Client: |
This can be naïvely "fixed" by altering this (and similar) lines: To look like this: The idea being that if we detect support for touch, we bind the handlers to both touch- and mouse-events, not just touch-events. I have tested this on my non-touch-capable machine (MacBook Pro), using Chrome's #touch-events flag set to enabled. However, I do not have a touch-capable desktop/laptop to test that it still works for touch-only devices. I can verify that this change makes no difference on my iPad/iPhone, since there are other issues preventing me from making edits on these iOS devices. Since, the CMS is not (yet) functional for touch-only devices, this may be the solution for now. Clearly some efforts have been made towards a touch-friendly version of the CMS, but it seems we're not quite there. I will attempt to perform this sort of fix in a new PR for 3.0.10. I will simultaneously open a new Issue requesting a completely touch-friendly (and dual-input) release of the CMS. @FinalAngel Comments? Thoughts? |
your fix worked for me (both touch screen and mouse): this.click = (document.ontouchstart !== null) ? 'click.cms' : 'touchend.cms click.cms'; Also, I did this for cms.sideframe.js since the side frame is affected by this issue. |
@averymd, @bastiW, @srj55 can you install from here: https://github.com/mkoistinen/django-cms/archive/mkoistinen-feature/fix_3688.zip and let me know if it fixes things and doesn't create any new issues? |
With Django CMS 3.0.x, once the modal to edit content is raised, it can't be closed through any mouse actions. Clicking "save", "cancel", or the "x" to close do nothing. Hitting the escape key will close the modal. There are no JS errors in the console, and no failed network requests.
I've tried disabling every Chrome plugin I have installed, clearing all cache and cookies, and working with a completely fresh install of Django 1.6.8 and Django CMS 3.0.x.
I'm on a Surface Pro 2, but I'm using a mouse to interact with the modal, as opposed to touch.
The text was updated successfully, but these errors were encountered: