GNOME Bugzilla – Bug 762655
Multiple File Selection Allow Execution of file does not Apply correctly
Last modified: 2016-11-24 19:54:15 UTC
Latest Daily Build Ubuntu Gnome 16.10 nautilus is already the newest version (1:3.18.4.is.3.14.3-0ubuntu2). Selecting Multiple files and then enter Properties Dialog to set Allow File to be Executed as a Program. The attribute setting for each file is never made. In order to get this to work, you have to Properties each file individually and make the attribute change. Oddly enough the converse situation of selecting multiple files to remove this setting does work as expected.
(In reply to Gene Soo from comment #0) > Latest Daily Build Ubuntu Gnome 16.10 > nautilus is already the newest version (1:3.18.4.is.3.14.3-0ubuntu2). > > Selecting Multiple files and then enter Properties Dialog to set Allow File > to be Executed as a Program. The attribute setting for each file is never > made. In order to get this to work, you have to Properties each file > individually and make the attribute change. Oddly enough the converse > situation of selecting multiple files to remove this setting does work as > expected. I tried to reproduce your bug in upstream(3.19.2) 3.18.4 and 3.14.3 but unfortunately couldn't reproduce it. It works as expected, that when I select multiple files, go to properties and change their permissions, it does so for all selected files. Guess you either have to wait until Ubuntu updates their repos or compile it yourself.. Sorry for the inconvenience.
I went back to test the situation again and have a clarification for the error condition. Selecting two files and going into Properties then Select One Time the Set File as Executable. A check is placed in the box however if you immediately close the Properties Window, the value is not set for the files, Repeating the setting scenario and clicking the Set File as Executable a second time, then the file attribute is set for both files. Summarizing(Following each Pass, Close Properties Window and check atiributes with ls -l in terminal window): Properties Pass 1: Set File Executable Unchecked, Executable Attribute Off Properties Pass 2: Set File Executable Checked Once, Executable Attribute: Off Properties Pass 3: Set File Executable Checked Twice, Executable Attribute: On. Note: Checkbox remains when clicked second time, Properties Pass 4 Set File Executable Checked Three Times, Executable Attribute: Off. Checkbox toggles from Unchecked original condition to checked after 1st and 2nd click to Off after 3rd. With respect to the observation of taking the current development version of Nautilus and installing on my current system. I attempted to download the zip file for the highest development version of Nautilus. I have spent hours trying to find proper build instructions but have not been successful. The application will not get past missing requirements during the configure phase.
(In reply to Gene Soo from comment #2) > I went back to test the situation again and have a clarification for the > error condition. Selecting two files and going into Properties then Select > One Time the Set File as Executable. A check is placed in the box however if > you immediately close the Properties Window, the value is not set for the > files, Repeating the setting scenario and clicking the Set File as > Executable a second time, then the file attribute is set for both files. > > Summarizing(Following each Pass, Close Properties Window and check > atiributes with ls -l in terminal window): > Properties Pass 1: Set File Executable Unchecked, Executable Attribute Off > Properties Pass 2: Set File Executable Checked Once, Executable Attribute: > Off > Properties Pass 3: Set File Executable Checked Twice, Executable Attribute: > On. Note: Checkbox remains when clicked second time, > Properties Pass 4 Set File Executable Checked Three Times, Executable > Attribute: Off. Checkbox toggles from Unchecked original condition to > checked after 1st and 2nd click to Off after 3rd. > > With respect to the observation of taking the current development version of > Nautilus and installing on my current system. > I attempted to download the zip file for the highest development version of > Nautilus. > I have spent hours trying to find proper build instructions but have not > been successful. > The application will not get past missing requirements during the configure > phase. Somehow I was able to reproduce it by exactly following your description on 3.18.5 (not on upstream) and now I'm stuck with it too.. The ToggleBoxes' behaviour is well defined, although it does now show a check-icon instead of mixed-state (Pass 2 in your case). So that's confusing. Also the smooth checkbox animation is gone. Looking at it with GtkInspector shows that in "buggy_state" (mixed state but showing a check mark) the state is set to dir(ltr) | checked | indeterminate instead of inconsistent. I couldn't find a property 'indeterminate' in GtkToggleBoxes, but as a pseudo-class for CSS selectors. I'm not sure but it may be a CSS parsing error but I need more time to look into it. Thanks for being persistent and giving a detailed explanation.
Thanks for taking the time to report this. This particular bug has already been reported into our bug tracking system, but please feel free to report any further bugs you find. *** This bug has been marked as a duplicate of bug 698955 ***