pkulchenko / ZeroBraneStudio

Lightweight Lua-based IDE for Lua with code completion, syntax highlighting, live coding, remote debugger, and code analyzer; supports Lua 5.1, 5.2, 5.3, 5.4, LuaJIT and other Lua interpreters on Windows, macOS, and Linux
http://studio.zerobrane.com/
Other
2.61k stars 519 forks source link

Tab close button doesn't react #366

Closed ildar closed 9 years ago

ildar commented 9 years ago

i.e. doesn't close the tab

pkulchenko commented 9 years ago

Any more details? Works for me. OS?editor tabs or other tabs?

ildar commented 9 years ago

ALT Linux x86_64 This is about the editor tabs. Usecase: a user closes the currently edited file by clicking on the "X" button to the right of the filename. In my case nothing happens. ZB git ce86a8945f70abf56e8d046d5b0175f0151305a1

pkulchenko commented 9 years ago

Hm, I can't think of anything that might have caused this. I'll try to get that distribution to try it myself.

Was it working before on that distro? Or was it never working? If it was working before, can you bisect the code to find out the commit where it broke? That would be great as I can't reproduce it on any of the supported platforms.

ildar commented 9 years ago

I just started with ZBS so can't tell if it worked. To have ALTLinux you may want to get http://en.altlinux.org/Starterkits Looking at the libwx.so dependencies, I want to show you: $ rpm -q glib2 libgtk+2 glib2-2.42.0-alt2 libgtk+2-2.24.24-alt1 Thanks for your support!

ildar commented 9 years ago

And also please check that DEL and Backspace keys to not delete selected text. I am very confused. Is something wrong with my computer?

ildar commented 9 years ago

Sorry, this is my mistake: the selected text deletion does work on files exept user.lua file. Still confused by user.lua file.

On Wed, Oct 15, 2014 at 11:14 AM, Ildar Mulyukov ildar.mulyukov@gmail.com wrote:

And also please check that DEL and Backspace keys to not delete selected text. I am very confused. Is something wrong with my computer?

ildar commented 9 years ago

Sorry again, selection deletion started to work. Seems I messed with my system too much. Sorry for the extra noise. But the original issue remains.

pkulchenko commented 9 years ago

@ildar, Shift-Del may not delete selected text if it includes hidden markup. See this FAQ answer for details; Del and Backspace should still work with those fragments.

ildar commented 9 years ago

Just tested with altlinux-p7-mate-20140912-x86_64.iso in a Virtual Machine.

  1. Tab close button works
  2. But! If I open ZBS from another Linux computer through ssh -Y or ssh -X then again, Tab close button doesn't work.

So, yes, I have somewhat misconfigured computer, but the problem can still be seen if you:

  1. create a test user.
  2. ssh -Y testuser@localhost
  3. run ZeroBraneStudio/zbstudio.sh
pkulchenko commented 9 years ago

@ildar, is this still an issue with the 3.1 version you compiled?

ildar commented 9 years ago

just tested: no issue.

pkulchenko commented 8 years ago

Also happens on ArchLinux. This should be fixed with #260.