Giter VIP home page Giter VIP logo

facebook-messenger-desktop's People

Contributors

adamtajti avatar agotfred avatar aluxian avatar auscompgeek avatar bitdeli-chef avatar dnq avatar gitter-badger avatar hotice avatar manuelroth avatar nevercast avatar plugarut avatar s-k-y-l-i avatar sidneys avatar sytten avatar zhusee2 avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar

facebook-messenger-desktop's Issues

User interface scaling functionality

Before I've started using this app, I used messenger.com with a zoomed out page to 67% from Chrome. I miss this feature as I'm running on a HiDPI screen, which allows me to have more content and the default stylesheet font/element size seems too big for me.

I've tried to add zoom: 0.75 to the html, body, iframe section of app.css, that didn't work.
After that tried to do the same with transform: scale(0.75) which was causing the page to resize but to center in the middle of the app window without stretching the height/width to 100%.
Finally I was able to apply this code to the iframe element only, which made it scaled down to 75% and looking neat.

iframe {
width: 134%;
height: 134%;
-webkit-transform: scale(0.75);
-webkit-transform-origin: 0 0;
}

The only issue that I'm having now is that I can't make the app window small enough to the size I was able to do with a Chrome window for example (I guess some min-width, min-height for the app window).

I think that it would be cool if the feature is added to the app and mapped to ctrl/cmd and +/- to act similarly to a web browser. There could obviously be an easier way to do this using the NW.js engine, but I haven't used it.

PS: Saw that the loading animation graphic stays behind the iframe no matter that the page has loaded or not. Maybe similar clutter across the whole app is causing the unnecessary CPU usage. #25

PS 2: By correcting the scaling with the above CSS code, the right click context menu does not draw itself on the position of the right click.

Bug system tray icon

SIze of the icon does not fit properly.
snapshot1

Also if I click on it, the app does not show. I have to right-click it then Show Messenger.

UPDATE ABOUT THE FORK

Hey!
First, sorry guys I kind of left the fork for dead for some time.
I worked on the official repo of Facebook Messenger, but since the owner wants to make the move to Electron with a new V2 I will continue to develop the software here.
I'm currently merging my changes to deploy a new stable version soon (tomorrow).

This version might contain some new bugs, I will try to fix them quick and then go on a monthly based release maybe with beta between them. All further development will be on the develop branch and the master will only contain stable code.

Thanks for your support!

Chat box is white regardless of theme

The box where you type new messages is white, regardless of which theme I use. Makes the dark and mosaic themes hard to use, since their message font is white...

I had this problem with the dev's version which is why I tried switching to yours. I've no idea why it's happening, but if you could investigate, that'd be great. :)

Inherit chat color options in the dark theme + font color choice

Currently, the dark theme doesn't appear to inherit the chat colors while the mosiac theme does, would be nice to see support for this in the dark theme as well.

As a secondary, somewhat related request, i'd also like to see the abiity to choose my local font colors for chats, as white/black are not always readable with certain chat background colors.

build OSX releases

Hey Émile, I like some of the changes you've made to Messenger.app.

I'm assuming you're not on OS X by the lack of an OS X release. Would you like me to build and sign them?

gulp packaging is failing

I'm guessing that there are missing steps. For one thing, actually running "gulp pack:linux{32|64}:deb" fails badly. Running "gulp 'pack:linux64:deb'" seems to succeed, but ultimately fails to produce a .deb.

Installing fpm wasn't described, so I tried "npm install -g fpm". That appeared to work, but the gulp packaging failed with "/bin/sh: 1: fpm: not found". After running "npm install fpm" in the F-M-D source directory and trying again, packaging appears to run to completion, but produces no output.

localhost Facebook-Messenger-Desktop [0]# gulp 'pack:linux64:deb'
[01:18:49] Requiring external module coffee-script/register
[01:18:50] Using gulpfile /usr/src/Facebook-Messenger-Desktop/gulpfile.coffee
[01:18:50] Starting 'build:linux64'...
[01:18:50] Using v0.12.2
[01:18:50] Create cache folder in /usr/src/Facebook-Messenger-Desktop/cache/0.12.2
[01:18:50] Using cache for: linux64
[01:18:50] Create release folder in /usr/src/Facebook-Messenger-Desktop/build/Messenger/linux64
[01:18:50] Zipping app.html
[01:18:50] Zipping package.json
[01:18:50] Zipping app.js
[01:18:50] Zipping images/icon.png
[01:18:50] Zipping images/icon_menubar.tiff
[01:18:50] Zipping images/icon_menubar_alert.tiff
[01:18:50] Zipping images/icon_tray.png
[01:18:50] Zipping images/icon_tray_alert.png
[01:18:50] Zipping images/loading.gif
[01:18:50] Zipping components/dispatcher.js
[01:18:50] Zipping components/menus.js
[01:18:50] Zipping components/notification.js
[01:18:50] Zipping components/settings.js
[01:18:50] Zipping components/platform.js
[01:18:50] Zipping components/themer.js
[01:18:50] Zipping components/updater.js
[01:18:51] Zipping components/window-behaviour.js
[01:18:51] Zipping components/utils.js
[01:18:51] Zipping styles/app.css
[01:18:51] Zipping styles/auto-hide.css
[01:18:51] Zipping themes/dark.css
[01:18:51] Zipping styles/base.css
[01:18:51] Zipping themes/default.css
[01:18:51] Zipping themes/mosaic.css
[01:18:51] all done!
[01:18:51] Finished 'build:linux64' after 957 ms
[01:18:51] Starting 'pack:linux64:deb'...
1.5.3
[01:18:52] Finished 'pack:linux64:deb' after 1.22 s

I'm guessing that fpm isn't being invoked correctly, but I have no idea how to do it. I'm not even slightly familiar with node.js, and I'd just like this to work.

Windows 10 Messenger App resizing

So I have a problem, can't make the app any smaller (width wise) than this.
Which is something that is annoying. I've tried with the original app by Alexandru Rosiano, and it does resize properly, but that his version has the problem with the theme - ing of the input field with Dark and Mosaic theme. Also the Mosaic theme si white for some reason.
Also, each time after opening it from the system tray, it has resized itself to the original height and width.
2016-05-21

Thank you for this fork

thank you've done this fork is a shame that the original developer abandoned beyond this application :/

Also I recommend Native Fier
You do a web app versions
You can use nativefier you to create a Facebook Messenger app and take some parts of the code to improve aluxian

https://github.com/jiahaog/nativefier

Emoji support

Emojis are missing :s I have to check on web to be able to see my friends faces.
image

Text is out of window

image

And the cause could be a new change in css:

._4sp8 {
    background-color: #fff;
    display: flex;
    font-size: 14px;
    min-width: 640px;
}

So this has to be added:
._4sp8 {
min-width: 0px !important;
}

Broken taskbar hint/notification sound?

I'm using this on windows, i've enabled sounds, but i don't ever get a sound when i receive a message.

Additionally, the program doesn't flash in my taskbar. So, unless i have the (ugly, and easily missed) windows desktop notications enabled, i have no indicator that i've gotten a message.

Windows 10 Messenger App Not Playing Voice Messages

So yeah... The app doesn't load voice messages - a.k.a it just keeps loading them, but it doesn't play them at all... Just the loading symbol is there. This is an issue I encountered on Windows 10 Pro 64bit. If anyone uses it on other system please check if the issue is there and leave a comment with an Yes or No answer and your system. Cheers!

Building on Arch Linux

Hi,

I was wondering how one would compile this project's source code on Arch Linux. I know I could install this program by writing a PKGBUILD that uses official Debian or RPM releases of this project, but I want to compile this program's source code and then install this program from said compiled source code.

Thanks for your time,
Brenton

crashes immediately when receiving messages

I'm using the git version of this app on chakraOS with testing repos enabled, and everytime I get a message it crashes doesnt matter what it is.

dmesg gives this error:
[17567.281763] Media[17765]: segfault at 0 ip (null) sp 00007fffe246f128 error 14 in Messenger[400000+43eb000]
and with gdb I only get this: output link

Linux Installation issue

When running the application from terminal, it is giving me the following error

dist git:(master)$ messengerfordesktop 
[6122:0602/154731:ERROR:browser_main_loop.cc(170)] Running without the SUID sandbox! See https://code.google.com/p/chromium/wiki/LinuxSUIDSandboxDevelopment for more information on developing with the sandbox on.

WM_CLASS not set

Hello! Thanks you very much for taking this project! You're doing an amazing job updating this app.

This issue is more a mix between a problem and an enhancement.
If you're using tiling manager like i3 and/or bspwm (on linux), you can set rules to automatically assign application on specific desktops.
This require the wm_class info to be defined inside the app.
This is a common requirement, most of the app (all of them?) have this data set on linux.

The rules to assign desktops are:

bspc rule -a Vlc desktop=^2
bspc rule -a messengerfordesktop desktop=^6

The problem is that the Messenger app doesn't have the requirements, so the rule can't work.

When using the xprop command, i get the following infos

_NET_WM_USER_TIME(CARDINAL) = 74813799
_NET_WM_DESKTOP(CARDINAL) = 5
WM_NORMAL_HINTS(WM_SIZE_HINTS):
        program specified location: 20, 62
WM_NAME(UTF8_STRING) = "Messenger"
_NET_WM_NAME(UTF8_STRING) = "Messenger"
_NET_WM_ICON(CARDINAL) = 
XdndAware(ATOM) = BITMAP
_MOTIF_WM_HINTS(_MOTIF_WM_HINTS) = 0x2, 0x0, 0x1, 0x0, 0x0
_NET_WM_WINDOW_TYPE(ATOM) = _NET_WM_WINDOW_TYPE_NORMAL
_NET_WM_PID(CARDINAL) = 2539
WM_LOCALE_NAME(STRING) = "en_US.UTF-8"
WM_CLIENT_MACHINE(STRING) = "hostname"
WM_PROTOCOLS(ATOM): protocols  WM_DELETE_WINDOW, _NET_WM_PING

And for Vlc I get the following data:

XdndAware(ATOM) = BITMAP
_MOTIF_DRAG_RECEIVER_INFO(_MOTIF_DRAG_RECEIVER_INFO) = 0x6c, 0x0, 0x5, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x10, 0x0, 0x0, 0x0
_NET_WM_NAME(UTF8_STRING) = "Multimedia Player VLC"
WM_CLIENT_LEADER(WINDOW): window id # 0x2e00005
WM_WINDOW_ROLE(STRING) = "vlc-main"
_NET_WM_PID(CARDINAL) = 2835
_NET_WM_WINDOW_TYPE(ATOM) = _NET_WM_WINDOW_TYPE_NORMAL
_MOTIF_WM_HINTS(_MOTIF_WM_HINTS) = 0x3, 0x3e, 0x7e, 0x0, 0x0
WM_PROTOCOLS(ATOM): protocols  WM_DELETE_WINDOW, WM_TAKE_FOCUS, _NET_WM_PING, _NET_WM_SYNC_REQUEST
WM_NAME(STRING) = "Multimedia Player VLC"
WM_LOCALE_NAME(STRING) = "en_US.UTF-8"
WM_CLASS(STRING) = "vlc", "Vlc"
WM_HINTS(WM_HINTS):
        Client accepts input or input focus: True
        Initial state is Normal State.
        bitmap id # to use for icon: 0x2e00012
        window id # of group leader: 0x2e00005
WM_NORMAL_HINTS(WM_SIZE_HINTS):
        user specified location: 20, 62
        program specified location: 20, 62
        user specified size: 1880 by 998
        program specified size: 1880 by 998
        program specified minimum size: 489 by 368
        window gravity: NorthWest
WM_CLIENT_MACHINE(STRING) = "hostname"
WM_COMMAND(STRING) = { "vlc" }

Credits & License

It would be a good idea to include me and @nevercast as main contributors.
We should also give credit to the community, because they made some good fixes!

Also I would see if we should not change our license to GPL, because I think MIT is too permissive. It was brought to my attention that some people might use our work to create paid and closed-source applications without giving credits...
See https://github.com/Aluxian/Facebook-Messenger-Desktop/issues/391

Performance Issue Ubuntu 16.04

Version: 1.4.7
OS Version: Ubuntu 16.04

Steps to Reproduce:

  1. Just open MFD

I noticed that when MFD is open, compiz and unity-panel-service start to eat most of the CPU.
screenshot from 2016-07-16 15-11-26

I didn't experience this problem with v1.4.3

ctrl/cmd-N doesn't start new chat

Not sure where you would want this logic (it's not quite window behavior…)

document.querySelector('a[href="/new"]').dispatchEvent(
  new MouseEvent('click', {view:window, bubbles:true, cancelable:true})
);

HiDPI Icons

It would be nice to see HiDPI icons for the app. Pixelation can be seen here: #29

Icon disappears, high CPU usage

I'm using the Unity desktop on Ubuntu 15.10.

A second or two after the app starts, the icon disappears from the panel and my CPU usage increases at least 25% on all four of my CPU cores. The CPU usage doesn't go back down until I kill the Messenger process, and if I leave the process running, the icon occasionally flashes back into the panel for less than a second then disappears again.

While the CPU usage is high, it's the Messenger process, Compiz, and the panel are all using high amounts of CPU.

Scrollbar is visible in the type area (Win10)

And it scrolls the text by 1 pixel. The bug is there when the window is not extra small.
In 4.8: Scrollbar seems to disappear when resizing a window but reappear whem selecting an other conversation
In 5.0: Scrollbar is always there (except when the window is very small)

image

After update sidebar collapses at half my resolution

Details

  • OS: Windows 7
  • Screen Resolution: 1366x768

A few versions ago I was able to view the full sidebar when I drag the application window to the sides causing it to resize to half the width of the screen.

Now when I do this the sidebar is collapsed. My main problem with this is that when I want to select the 'Active Facebook Friends' option, it is no longer immediately available in the sidebar. I have to resize it to slightly larger than half of my screen width in order to reveal the gear/cog icon which contains the other settings.

a

untitled

Message bar / Icons displacement

I get this occasional displacement bug, seems like the element with class _4u-c _1wfr does not calculate a correct height. Adjusting it manually seems to do a temp fix.

image

Messenger doesn't load in Ubuntu Mate 16.04 64bit

A couple of days ago i tried launching the app while I lacked internet connection (miss-clicked on the shortcut). From that point on after I launch the app it renames the window to "app.html" and doesn't load. When I open the DevTools i get this error "Failed to load resource: net::ERR_SSL_PROTOCOL_ERROR - http://www.messenger.com/login".
Tried reinstalling the app and also tried installing Aluxian's version - to no avail. The problem persists and makes the app unusable.
Please help!

Hi-DPI support

Issue started here https://github.com/Aluxian/Facebook-Messenger-Desktop/issues/301 but I see, you're making own fork, with fresh updates, that's why I'll add new issue on your list.
Previously, they were talking about HiDPI support on Linux with Gnome.
I would like to add issue similar issue, but on Windows. Main window looks fine, but have some issues with customizig it -

  1. When you'll hide sidebar - sometimes messages aren't fit in screen as they should
    facebook messenger 1
  2. Main window is too large - I cannot resize it to smaller size then 1/3 of screen.
  3. Function menu, openned by right button on tray icon, it's too big, I would write, it's large
    facebook messenger 2

Relatively high cpu usage

I have an i5 4690K and Messenger uses about 3-5% on idle when the window is shown. 3 cpu threads is used.

Idleing on messenger.com in chrome does not have cpu usage for example :)

image

Cannot change themes after the update

Hello!

First of all thanks for this amazing fork.

I have updated to version 1.5.0 but now I can't change the themes. I was using Dark theme but now it comes directly with the White one and I cannot change it.

'Seen' status not showing

Using version 1.4.7 on OSX 10.11.6 + Windows 10 (Anniversary) and th seen status won't update in group chats.

(Suggestion/Feature) about the chat colors

Maybe you can add the option that will tell the application to ignore the chat color setting and just use the default blue color in all conversations.

Sometimes I just want them all to use the same colors but I have a few friends that always change it.

No internet connection

I've been trying to fix it, but i've been unable to compile it successfully.
When no internet connection is available window keeps re-appearing and you just cant do anythings besides closing it, the only solution i found is to kill all its processes manually.

[RHEL 6.7] can't open libnotify.so.4

I'm getting this error after installing the RPM both 32bit and 64bit package on Redhat 6.7

/opt/MessengerForDesktop/Messenger: error while loading shared libraries: libnotify.so.4: cannot open shared object file: No such file or directory

Anyidea how to fix it

Plans

Hi!

I decided to drop the support for Messenger for desktop.
BUT, I am still not satisfied with the new V2 and how its maintained (the dev sold the original domain and it now serves malware -_-).
So I decided to fork it again here: https://github.com/QuriousDev/MessengerForDesktop
I plan to make the organization open to anyone who is willing to contribute and acknowledge the work of everybody (that was not the case before).
I hope to see over there since there is much work to do.

Cheers!

investigate basing work off of whatsie

Starting an issue here to keep track of anyone else interested in helping me work on a messenger built on whatsie.

I don't know if we want to work on it as a branch here, or as a new line of code. I'm happy to start a new repo in the later case.

Error: Running without the SUID sandbox

After having SSL problems on Ubuntu 14.04 with the official version, like this, I've wanted to try your fork. However, v1.4.7 from the Releases gives this error, and does not load any content:

[20788:0319/154227:ERROR:browser_main_loop.cc(170)] Running without the SUID sandbox! See https://code.google.com/p/chromium/wiki/LinuxSUIDSandboxDevelopment for more information on developing with the sandbox on.

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.