flat assembler
Message board for the users of flat assembler.
 Home   FAQ   Search   Register 
 Profile   Log in to check your private messages   Log in 
flat assembler > IDE Development > Fresh IDE over Linux - I cannot remove a category

Author
Thread Post new topic Reply to topic
Eduardo



Joined: 18 Jan 2015
Posts: 23
Fresh IDE over Linux - I cannot remove a category
I created one project on the Fresh, and accidentally i create a category with a empty name. There is not a button "remove category" in the quick menu of the categories section, and press "delete" or combinations of "control", "shift", "alt" and "delete" keys do not work. How do i do to remove the category then?
Post 19 Jan 2015, 22:51
View user's profile Send private message Reply with quote
JohnFound



Joined: 16 Jun 2003
Posts: 3434
Location: Bulgaria
Well, actually it is with "DEL" keyboard key.
But in Linux sometimes this shortcut does not work. Unfortunately I don't know why. Linux sometimes is very aggressive about the keyboard shortcuts, but WINE can be the reason as well.

What version of WINE you are using.
My is 1.7.34 and the shortcut works.

Anyway, I will try to fix the problem by simply adding the functions for delete and rename to the context menu. (I don't know why these was not added earlier...)
Post 20 Jan 2015, 06:05
View user's profile Send private message Visit poster's website ICQ Number Reply with quote
JohnFound



Joined: 16 Jun 2003
Posts: 3434
Location: Bulgaria
The delete functions for project category and project files has been added to the related context menus. For now I will not make new release, so please, use Linux update tool: Bleeding edge fresh. - Follow the instructions from the link. This tool downloads the most recent version of Fresh IDE from the source repository and compiles it on your computer.


Last edited by JohnFound on 20 Jan 2015, 18:09; edited 1 time in total
Post 20 Jan 2015, 11:30
View user's profile Send private message Visit poster's website ICQ Number Reply with quote
Eduardo



Joined: 18 Jan 2015
Posts: 23
Im using wine in the version 1.4.1 over Debian 7.2. I want to upgrade my Debian to 7.8, but I need to repartition my drive and I'm busy.

Well, i ran your script and it worked very well. This script is great! Thank you very much!
Now the quick menu is perfect. Unfortunately, the delete key still doing nothing,
Post 20 Jan 2015, 17:11
View user's profile Send private message Reply with quote
JohnFound



Joined: 16 Jun 2003
Posts: 3434
Location: Bulgaria
At first welcome in the forum. I hope you will stay.


Eduardo wrote:
Unfortunately, the delete key still doing nothing,



It happens in Linux. According to my research, it happens because some desktop environments have very aggressive handling of the global keyboard shortcuts. I am not sure especially about DELETE key, it might be because of WINE version, but for example XFCE assigns all Ctrl+Fn to global shortcuts, but in Fresh IDE Ctrl+F9 is for compiling the project and Ctrl+F4 is common shortcut for closing tab in everything I know, so I am forced to edit the configuration files manually. Smile

_________________
Tox ID: A48DEF727DF44C3B5C2E576B65021F1A45D8FA52E2F8E257F1CAE148BBADB162FDF7820BD1F9
Post 20 Jan 2015, 18:08
View user's profile Send private message Visit poster's website ICQ Number Reply with quote
revolution
When all else fails, read the source


Joined: 24 Aug 2004
Posts: 14923
Location: 6EQUJ5

JohnFound wrote:
It happens in Linux. According to my research, it happens because some desktop environments have very aggressive handling of the global keyboard shortcuts. I am not sure especially about DELETE key ...

I can't imagine any good purpose that could come from globally mapping the delete key to some fixed function. If the delete key is taken by the OS then how would someone ever be able to edit text? I think you need to look somewhere else for the bug.
Post 21 Jan 2015, 15:30
View user's profile Send private message Visit poster's website Reply with quote
JohnFound



Joined: 16 Jun 2003
Posts: 3434
Location: Bulgaria
I can't imagine any good purpose that could come from globally mapping the delete key to some fixed function. If the delete key is taken by the OS then how would someone ever be able to edit text? I think you need to look somewhere else for the bug.[/quote]

Yes, me too. That is why I wrote, that I am sure only about Ctrl+Fn, they are all reserved, at least in XFCE, and to remove them is not easy. The DELETE problem is probably because of WINE version. On my computer (wine 1.7) it works now, but before there was a moment when I had the same behavior. Unfortunately I didn't check the version of WINE then...

_________________
Tox ID: A48DEF727DF44C3B5C2E576B65021F1A45D8FA52E2F8E257F1CAE148BBADB162FDF7820BD1F9
Post 21 Jan 2015, 17:01
View user's profile Send private message Visit poster's website ICQ Number Reply with quote
revolution
When all else fails, read the source


Joined: 24 Aug 2004
Posts: 14923
Location: 6EQUJ5

JohnFound wrote:
The DELETE problem is probably because of WINE version. On my computer (wine 1.7) it works now, but before there was a moment when I had the same behavior. Unfortunately I didn't check the version of WINE then...

For the same reasons as above I cannot believe WINE could make such a basic error without a major collection of complaints and a hasty patch to fix it quickly. I think you need to look elsewhere for the bug.
Post 21 Jan 2015, 18:51
View user's profile Send private message Visit poster's website Reply with quote
JohnFound



Joined: 16 Jun 2003
Posts: 3434
Location: Bulgaria

revolution wrote:
I think you need to look elsewhere for the bug.



Well, I would be glad, but I can't reproduce it right now. Some ideas?

The processing of the DELETE key is inside the WM_NOTIFY handler of projmanager.asm : line 1243.

You can follow to .treenotify label (line 1311: for the treeview control) and then to .keydown label, line 1373, for TVN_KEYDOWN handler.

Can you see some questionable code?

_________________
Tox ID: A48DEF727DF44C3B5C2E576B65021F1A45D8FA52E2F8E257F1CAE148BBADB162FDF7820BD1F9
Post 21 Jan 2015, 20:51
View user's profile Send private message Visit poster's website ICQ Number Reply with quote
Eduardo



Joined: 18 Jan 2015
Posts: 23

JohnFound wrote:
At first welcome in the forum. I hope you will stay.

Thanks. I wish to stay. This board has a lot of smart people and very rich content!

JohnFound wrote:
for example XFCE assigns all Ctrl+Fn to global shortcuts

Im using LXDE and i could not see any other shortcut that does not work. I read the developers of Haiku criticizing the GNU/Linux to have problems of integration between software components, and I wondered if they were referring to that kind of thing.
Post 22 Jan 2015, 04:46
View user's profile Send private message Reply with quote
JohnFound



Joined: 16 Jun 2003
Posts: 3434
Location: Bulgaria
Yes, LXDE is better than XFCE especially for Fresh IDE. Unfortunately I can't use it because of other reasons. Sad Now I am looking for LXQT. It looks pretty good and surprisingly (for me) fast, but is still not stable enough for everyday use.
Post 22 Jan 2015, 08:25
View user's profile Send private message Visit poster's website ICQ Number Reply with quote
Eduardo



Joined: 18 Jan 2015
Posts: 23
Openbox isnt it suitable for you? It's very flexible
Post 22 Jan 2015, 23:10
View user's profile Send private message Reply with quote
JohnFound



Joined: 16 Jun 2003
Posts: 3434
Location: Bulgaria
Well, openbox is not exactly desktop environment. In addition, I am using netbook with strange hardware, which is not always handled properly in LXDE. This way I have to make too many things in the console. As long as I am not big fan of the console interfaces, I prefer to use XFCE. It is not ideal, but the better desktop environments are too heavy for the netbook.
Post 23 Jan 2015, 05:58
View user's profile Send private message Visit poster's website ICQ Number Reply with quote
Display posts from previous:
Post new topic Reply to topic

Jump to:  


< Last Thread | Next Thread >

Forum Rules:
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum
You cannot attach files in this forum
You can download files in this forum


Powered by phpBB © 2001-2005 phpBB Group.

Main index   Download   Documentation   Examples   Message board
Copyright © 2004-2016, Tomasz Grysztar.