Brackets: Sidebar refuses to resize, shrinks, and gets stuck when resizing (Linux Mint 19)

Created on 20 Jul 2018  Â·  13Comments  Â·  Source: adobe/brackets

Description and Reproduction Steps

When I try to resize the sidebar from the default size:
brackets debug 2

It fails to resize to the specified dimension (if anything, it just grows by a few pixels):
screenshot from 2018-07-20 15-54-21

When I click again to try again, the sidebar hides itself:
brackets debug 5

However, when I try to resize from here it either a) does nothing or b) opens the sidebar to a very small, unmanageable size:
brackets debug 4

Sometimes, and I'm not sure when and when not, there is a small tab poking out (not sure if this is intended or not) like so:
brackets debug 7

I encountered this error on my first-ever install of Brackets within 30 seconds of use. See Attempted Fixes for more information.

TL;DR

Expected behavior: For the sidebar's width to follow my cursor and stop resizing when the mouse button was lifted.

Actual behavior: The sidebar does not move with the mouse, and when the mouse button is lifted, the <-> resizing cursor remains visible wherever I put the mouse on the window. Then, clicking again on the sidebar border, the sidebar hides itself. After repeating some number of times, the sidebar, when opening, only opens by about 10-30 pixels and will not grow much more (size seems arbitrary when dragging open).

Attempted Fixes

Restarting Brackets does not fix the problem -- the sidebar stays in its same position.

Running with extensions disabled does not fix the problem.

Changing from my NVidia card to the integrated Intel graphics does not fix the problem.

However, deleting ~/.config/Brackets/cef-data, state.json, and brackets.json _does_ solve the problem _until_ I try to resize the sidebar again.

Versions

OS: Linux Mint 19 Tara
Linux Kernel: Linux 4.15.0-24-generic
Brackets: 1.13.0-17696 (Installed from snap)

Most helpful comment

I had the same issue and for me it seems to occur when the language is set to 'system default'. So I went to Debug -> Switch Language menu and choose english, and it solve the issue. I tried with several other languages and it works perfectly.
This should surely work.
happy coding

All 13 comments

If there's anything I can do to fix the bug and someone can explain the work to be done, I'd be happy to.

Go to Debug->Show Developer tools. From the inspector try to inspect the partition between the coding surface and sidebar. You should be able to spot a horizontal resizer 6px? wide and transparent. If you can't find that with inspect, go to the DOM in inspector page and search for sidebar. In sidebar div try to spot the resizer. Post the styles for the resizer, like, display, dimension, position and visibility.

Check for the libcurl3 and libpango1.0-0 dependencies.
I tried to reinstall brackets and got these missing dependency errors. After installing the required dependencies Brackets is working fine on UBUNTU 18.04

I just noticed that if I run Brackets through the console, I get the following errors:

[0921/113742:ERROR:browser_main_loop.cc(261)] Gtk: Locale not supported by C library.
Using the fallback 'C' locale.
[0921/113743:ERROR:browser_main_loop.cc(261)] : Pixbuf theme: Cannot load pixmap file /usr/share/themes/Mint-Y-Dark/gtk-2.0/menubar-toolbar/menubar-dark.png: Unable to load image-loading module: /usr/lib/x86_64-linux-gnu/gdk-pixbuf-2.0/2.10.0/loaders/libpixbufloader-png.so: /snap/core/current/lib/x86_64-linux-gnu/libz.so.1: version "ZLIB_1.2.9" not found (required by /usr/lib/x86_64-linux-gnu/libpng16.so.16)

(Brackets:8895): GdkPixbuf-CRITICAL **: gdk_pixbuf_get_width: assertion "GDK_IS_PIXBUF (pixbuf)" failed

(Brackets:8895): GdkPixbuf-CRITICAL **: gdk_pixbuf_get_height: assertion "GDK_IS_PIXBUF (pixbuf)" failed
[0921/113743:ERROR:browser_main_loop.cc(239)] GTK theme error: Invalid borders specified for theme pixmap:
/usr/share/themes/Mint-Y-Dark/gtk-2.0/menubar-toolbar/menubar-dark.png,
borders don't fit within the image

(Brackets:8895): GdkPixbuf-CRITICAL **: gdk_pixbuf_get_n_channels: assertion "GDK_IS_PIXBUF (pixbuf)" failed

(Brackets:8895): GdkPixbuf-CRITICAL **: gdk_pixbuf_get_pixels_with_length: assertion "GDK_IS_PIXBUF (pixbuf)" failed

(Brackets:8895): GdkPixbuf-CRITICAL **: gdk_pixbuf_get_rowstride: assertion "GDK_IS_PIXBUF (pixbuf)" failed

(... the above errors repeat many times...)

I'm just a casual user -- I'm not very well versed on GTK and Linux libraries and stuff, but I think this might give some insight.

I got the same issue here under Ubuntu 18.04

Just install brackets from the main repo

sudo add-apt-repository ppa:webupd8team/brackets
sudo apt update
sudo install brackets

[0921/113742:ERROR:browser_main_loop.cc(261)] Gtk: Locale not supported by C library.
Using the fallback 'C' locale.

It seems like this issue is related to #14581 (comment), which can be fixed by installing the language pack in Ubuntu.

See my comment here: #14581 (comment)

I had the same issue and for me it seems to occur when the language is set to 'system default'. So I went to Debug -> Switch Language menu and choose english, and it solve the issue. I tried with several other languages and it works perfectly.
This should surely work.
happy coding

vim ~/.config/Brackets/state.json +1569
change the size from whatever it is to 300 and open brackets again..

"healthDataNotificationShown": true,
"sidebar": {
"visible": true,
"size": 300
},

I had the same issue and for me it seems to occur when the language is set to 'system default'. So I went to Debug -> Switch Language menu and choose english, and it solve the issue. I tried with several other languages and it works perfectly.
This should surely work.
happy coding

Omg thank you so much man

I had the same issue and for me it seems to occur when the language is set to 'system default'. So I went to Debug -> Switch Language menu and choose english, and it solve the issue. I tried with several other languages and it works perfectly.
This should surely work.
happy coding

Thanks So Much! That Saved My Life ^^

I had the same issue and for me it seems to occur when the language is set to 'system default'. So I went to Debug -> Switch Language menu and choose english, and it solve the issue. I tried with several other languages and it works perfectly.
This should surely work.
happy coding

LOVE YOU

I had the same issue and for me it seems to occur when the language is set to 'system default'. So I went to Debug -> Switch Language menu and choose english, and it solve the issue. I tried with several other languages and it works perfectly.
This should surely work.
happy coding

Worked for me. Thanks a lot !

Was this page helpful?
0 / 5 - 0 ratings

Related issues

ankushdas9 picture ankushdas9  Â·  3Comments

Bluefirecracker picture Bluefirecracker  Â·  4Comments

10polarbears picture 10polarbears  Â·  3Comments

brendonmm picture brendonmm  Â·  4Comments

Hi,
KSSS10 picture KSSS10  Â·  3Comments