Code Monkey home page Code Monkey logo

Comments (3)

saghul avatar saghul commented on August 12, 2024

@daytonturner Interesting. The dragging thing is intentional: 1d3cfbb

Otherwise we'd have to add a titlebar on macOS, which doesn't look as nice.

I'm not sure how to solve this, TBH, but any suggestions are more than welcome!

from jitsi-meet-electron.

daytonturner avatar daytonturner commented on August 12, 2024

I think the dragging thing is a great idea, and I know of other electron apps (Slack) that employ this same strategy in an effort to eliminate the need for a status bar.

In the example of Slack, they have an area along the top of the window which usually represents the name of the chat you're in, the search bar, some settings icons, etc.. That part is draggable. The chat area itself is not considered click-draggable.

I wonder if there's a way to make it such that the content-area of the screen share is not draggable, but there are overlay areas that adhere to the draggable concept (like the icon control strip along the bottom of the window, where mute/hangup/etc is). The tough part is if you consider excluding the screenshare area, allow the bottom icon overlay to be draggable - but what do you do around the top of the window?

A couple ideas:

  • Add a padded title above the screenshare itself, preventing the remote users screen from filling right to the top of the app window, providing an area to become draggable. It could just be a dark strip with centered white text that says "Remote Screen share: username" or something.
  • allow the screenshare to extend all the way to the top of the screen, but just make an invisible strip thats approximately the height of where a statusbar would be that becomes draggable. Of course this can lead to confusion if you're trying to drag a window around on the users desktop which is top-aligned on their screen. You wont be able to move it.
  • Add a toggle button to the UI that enables/disables this behavior while screenshare mode is active

Thoughts?

from jitsi-meet-electron.

saghul avatar saghul commented on August 12, 2024

We have added the statusbar...

from jitsi-meet-electron.

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.