Giter VIP home page Giter VIP logo

Comments (5)

quozl avatar quozl commented on August 19, 2024

@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.

rhl-bthr avatar rhl-bthr commented on August 19, 2024

@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 of button-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.

quozl avatar quozl commented on August 19, 2024

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.

rhl-bthr avatar rhl-bthr commented on August 19, 2024

@quozl Sorry, my previous statement might be ambiguous.
This is what I found.
While reproducing the issue,

  1. Press alt: detected by HomeWindow.__key_press_event_cb
  2. Keep holding alt
  3. Clicking on any button after that; button-press-event is not detected by any layer of widgets via any signal
  4. Release alt: detected by HomeWindow.__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.

quozl avatar quozl commented on August 19, 2024

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)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo 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.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.