Opened 2 years ago

Last modified 12 months ago

#17765 closed bug

[Tracker] Renaming files on a "system folder" — at Version 3

Reported by: bipolar Owned by: nobody
Priority: normal Milestone: R1/beta5
Component: Applications/Tracker Version: R1/beta3
Keywords: Cc:
Blocked By: Blocking:
Platform: All

Description (last modified by bipolar)

hrev56112, 64 bits (removed my two custom input filters ands restated input_server, just in case)

It seems impossible for me to edit the name of a file on a "system folder", even after "shift-click on rename" dialog.

Steps:

  • Open a Tracker window at /boot/system/var/log
  • Make a copy of syslog in that same directory (drag and drop on the same window).
  • Try to rename, via Tracker, syslog copy to, say, syslog-hrev56112

By selecting syslog copy and hitting either F2 or CTRL-E, a

"If you rename the system folder or its contents, you won't be able to boot Haiku!"

warning dialog appears. Said dialog instructs you to hold SHIFT while clicking "Rename" if you're really sure about what you're doing.

Doing so, instead of letting you edit the file name, ends with a "greyed out selection" of that file, but with no posibility of editing its name.

Just in case, I've tried changing focus related options (also disabling "accept first click") on the Input preflet without any change.

Also:

Navigating the said warning dialog with only the keyboard is mildly infuriating:

If you hold down SHIFT, "Rename" button becomes enabled, but pressing TAB to switch bewteen the buttons does nothing (again, while pressing SHIFT).

You have to first hit TAB to focus the "Cancel" button, and *then* hold down SHIFT and hit TAB to switch to the "Rename" button.

EDIT: The issue only presents when you enable "Always on top" on Deskbar's Preferences (!?)

Change History (3)

comment:1 by humdinger, 2 years ago

"If you rename the system folder or its contents, you won't be able to boot Haiku!"

warning dialog appears. Said dialog instructs you to hold SHIFT while clicking "Rename" if you're really sure about what you're doing.

Doing so, instead of letting you edit the file name, ends with a "greyed out selection" of that file, but with no posibility of editing its name.

This, I cannot reproduce with hrev56134, 64bit. After SHIFT-clicking the "Rename" button, the file name is selected and I can just start typing the new name.

Navigating the said warning dialog with only the keyboard is mildly infuriating:

That much is true... :)

In any case, since package management (which is getting just about "forever"...) the whole SHIFT-renaming alert is useless. See #11183.

in reply to:  1 comment:2 by bipolar, 2 years ago

Ok... I've tested on beta3 (well updated) and also on hrev56140. I can reproduce the issue on all versions... but...

Only when the Deskbar's Preferences setting "Always on top" is enabled on the "Window" option group.

Disabling that option makes possible to edit the filenames in Tracker.

Not sure how or why that happens but... happy to have found where the issue starts at least.

Replying to humdinger:

This, I cannot reproduce with hrev56134, 64bit. After SHIFT-clicking the "Rename" button, the file name is selected and I can just start typing the new name.

Thanks humdinger for this, and make me double check :-)

Navigating the said warning dialog with only the keyboard is mildly infuriating:

That much is true... :)

Sadly, keyboard navigation on Haiku tends to be one of my sore spots :-)

comment:3 by bipolar, 2 years ago

Description: modified (diff)
Note: See TracTickets for help on using tickets.