CGRU / cgru

CGRU - AFANASY
http://cgru.info/
GNU Lesser General Public License v3.0
278 stars 111 forks source link

Afwatch: It is not possible to select anything on the Farm Page #542

Closed eoyilmaz closed 2 years ago

eoyilmaz commented 2 years ago

I'm using 3.2.2, in Afwatch Farm Page, it is not possible to highlight anything by left clicking. The right column seems to be updating but nothing is highlighted and it is not possible to set NIMBY, nimby or Free. In the video below, I'm left clicking on the rows.

2022-06-06_09-40-29

I would have fixed it by myself, but I the C code is not getting compiled under Fedora 36.

timurhai commented 2 years ago

Hi! Selecting (so manipulating) is availdable for admins (GOD mode) only.

eoyilmaz commented 2 years ago

Yeah, there was something like that, right. So, a related error message on the status bar would be better I reckon.

eoyilmaz commented 2 years ago

I can't seem to find how to change the user, the documentation suggest writing down the password on an active Watch page, but this is not clear.

SteffenDuenner commented 2 years ago

This is very weird and nerdy when you're new to Afanasy ;)

Just open afwatch, make sure the window is active and type on the keyboard "iddqd". You're in god mode. If you repeat "iddqd" you're in user mode again.

eoyilmaz commented 2 years ago

This is very weird and nerdy when you're new to Afanasy ;)

I've been using and contributing to Afanasy, I believe, since 2013, I knew it had a login feature, but never have to use it some how.

Thanks for the heads up by the way.

In terms of GUI usability, I think we should think on having a Login option in the menu.

timurhai commented 2 years ago

Just ensure that some widget have not grubbed the keyboard. For example, keyboard can be grubbed by Info and Filter widget (QLineEdit).

Yes, we can crate a menu to change to visor / god mode and back to user. Also, I agree, it can be some message, that selectiong is not allowed in user mode.

eoyilmaz commented 2 years ago

I'm closing this ticket and opening a new one about the login menu option and a dialog for that.

SteffenDuenner commented 2 years ago

I've been using and contributing to Afanasy, I believe, since 2013, I knew it had a login feature, but never have to use it some how.

Sorry, I knew you're an old school Afanasy contributor, I just didn't phrase that right: I meant to say "even if you're not new to Afanasy, this login method is very unusual to say the least" ;)

eoyilmaz commented 2 years ago

Sorry, my fault, I didn't phrase it right too, I exactly meant the same thing with you :smile:

timurhai commented 2 years ago

Hi! Not a login, but a menu with items for super user modes and a password dialogs is done: https://cgru.readthedocs.io/en/latest/changes_log/changes_log.html#v3-3-0

And a warning message when selection is not allowed.