Comments (5)
@Pro-Panda, there was an e-mail to me from GitHub saying you would like to work on this, but the comment is missing from this issue. Is this a regression of GitHub, or did you delete? If you deleted, was there something ambiguous about the issue that needs more details?
from sugar.
@quozl
I deleted and forgot to write the updated one. Sorry
So this was what I found:
alt+click
is not handled by any layer ofbutton-press-event
or any other signal in Sugar. Hence this
Observed result; no response, no errors logged.
- It then goes to the underlying OS(on Ubuntu 16.04) and is used to move the window(rdesktop) by dragging the mouse
- II am trying to override it in the same way as Alt+Tab is done.
Do you think I might be on the correct lines ?
from sugar.
No, wrong lines altogether. HomeWindow.__key_press_event_cb
is where the alt
key press is detected, and it saves state using set_resume_mode
; a method of HomeBox
.
from sugar.
@quozl Sorry, my previous statement might be ambiguous.
This is what I found.
While reproducing the issue,
- Press
alt
: detected byHomeWindow.__key_press_event_cb
- Keep holding
alt
- Clicking on any button after that;
button-press-event
is not detected by any layer of widgets via any signal - Release
alt
: detected byHomeWindow.__key_release_event_cb
Proposed Reason - Mouse cursor changes during 3 to one of dragging the window(rdesktop), as thats a feature of Ubuntu provided for any window
Supporting Statement - I couldn't reproduce this issue when I log into Sugar Desktop Environment instead of Ubuntu Desktop Environment at the login page of ubuntu. It creates a new activity in that case.
from sugar.
Thanks for the investigation. I agree. For me, symptom only occurs on VM (virt-manager, VirtualBox) under wmaker, and there is no change of cursor image, but the virtual machine window can be dragged.
Symptom does not occur on native hardware.
from sugar.
Related Issues (20)
- Support on 20.04 LTS HOT 16
- Select all button in Journal has no effect. HOT 11
- PermissionError when trying to install an activity. HOT 8
- apps broken after software update HOT 2
- Installing on Ubuntu 20.04 Focal Fossa HOT 9
- Fedora 35 SoaS image can't log in due to missing python3-decorator dependency HOT 6
- /usr/bin/sugar does not exit if window is closed HOT 21
- Unable to download Sugar on Ubuntu 20.04.3 LTS HOT 2
- Installing Sugar on WSL HOT 2
- WebKitErrorDomain: WebKit encountered an internal error (300) HOT 14
- ... HOT 1
- Wnck does not work under Wayland. HOT 2
- Alt-click not working on home view HOT 2
- Local .xo activity can't be added HOT 4
- Initial setup misplaced at top left corner of the screen HOT 2
- Feat: Setup GH Issue and PR templates HOT 5
- Port to WebKit2 4.1 HOT 1
- [DOCS] Add documentation for installing on Macos HOT 4
- sugar on a stick install - mbr.bin not found HOT 1
- Issue with display Manager HOT 7
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from sugar.