[partitionmanager] [Bug 487650] Partition Manager fails to read MS-DOS partition tables

2024-05-28 Thread Andrius Štikonas
https://bugs.kde.org/show_bug.cgi?id=487650

Andrius Štikonas  changed:

   What|Removed |Added

   Version Fixed In||24.05.1

-- 
You are receiving this mail because:
You are watching all bug changes.

[partitionmanager] [Bug 487650] Partition Manager fails to read MS-DOS partition tables

2024-05-28 Thread Andrius Štikonas
https://bugs.kde.org/show_bug.cgi?id=487650

--- Comment #9 from Andrius Štikonas  ---
Any chance you could test the patch on your system too?

It seems to work here and no longer relies on "id" to be "0x"

-- 
You are receiving this mail because:
You are watching all bug changes.

[partitionmanager] [Bug 487650] Partition Manager fails to read MS-DOS partition tables

2024-05-28 Thread Andrius Štikonas
https://bugs.kde.org/show_bug.cgi?id=487650

Andrius Štikonas  changed:

   What|Removed |Added

  Latest Commit|https://invent.kde.org/syst |https://invent.kde.org/syst
   |em/kpmcore/-/commit/2acc26c |em/kpmcore/-/commit/98e1108
   |a582f6556a682881e624a7ae5de |0b1398c44ecc05ec77c25b73177
   |b1711d  |5508e1

--- Comment #8 from Andrius Štikonas  ---
Git commit 98e11080b1398c44ecc05ec77c25b731775508e1 by Andrius Štikonas.
Committed on 28/05/2024 at 21:34.
Pushed by stikonas into branch 'master'.

Fix detection of MBR partition table with zeroed signature.

M  +4-3src/plugins/sfdisk/sfdiskbackend.cpp

https://invent.kde.org/system/kpmcore/-/commit/98e11080b1398c44ecc05ec77c25b731775508e1

-- 
You are receiving this mail because:
You are watching all bug changes.

[partitionmanager] [Bug 487650] Partition Manager fails to read MS-DOS partition tables

2024-05-28 Thread Andrius Štikonas
https://bugs.kde.org/show_bug.cgi?id=487650

Andrius Štikonas  changed:

   What|Removed |Added

 Resolution|--- |FIXED
 Status|CONFIRMED   |RESOLVED
  Latest Commit||https://invent.kde.org/syst
   ||em/kpmcore/-/commit/2acc26c
   ||a582f6556a682881e624a7ae5de
   ||b1711d

--- Comment #7 from Andrius Štikonas  ---
Git commit 2acc26ca582f6556a682881e624a7ae5deb1711d by Andrius Štikonas.
Committed on 28/05/2024 at 21:32.
Pushed by stikonas into branch 'release/24.05'.

Fix detection of MBR partition table with zeroed signature.

M  +4-3src/plugins/sfdisk/sfdiskbackend.cpp

https://invent.kde.org/system/kpmcore/-/commit/2acc26ca582f6556a682881e624a7ae5deb1711d

-- 
You are receiving this mail because:
You are watching all bug changes.

[partitionmanager] [Bug 487650] Partition Manager fails to read MS-DOS partition tables

2024-05-28 Thread Andrius Štikonas
https://bugs.kde.org/show_bug.cgi?id=487650

Andrius Štikonas  changed:

   What|Removed |Added

 Status|REPORTED|CONFIRMED
 Ever confirmed|0   |1

--- Comment #6 from Andrius Štikonas  ---
(In reply to AF from comment #5)
>   "id": "0x",

Hmm, that's definitely regression due to that commit. We need some other way of
distinguishing between MBR partition table and FAT file systems...

Looks like sfdisk for partition tables reports exactly the same output as for
FAT file systems :(

E.g. this is exFAT whole device partition:

 sudo sfdisk --json /dev/sdb
{
   "partitiontable": {
  "label": "dos",
  "id": "0x",
  "device": "/dev/sdb",
  "unit": "sectors",
  "sectorsize": 512
  }

and this is MBR that I just created
sudo sfdisk --json /dev/sdb
{
   "partitiontable": {
  "label": "dos",
  "id": "0x69badb1c",
  "device": "/dev/sdb",
  "unit": "sectors",
  "sectorsize": 512
   }
}

Unfortunately, it looks like you can still have MBR with id that is 0x0...

-- 
You are receiving this mail because:
You are watching all bug changes.

[partitionmanager] [Bug 487650] Partition Manager fails to read MS-DOS partition tables

2024-05-28 Thread Andrius Štikonas
https://bugs.kde.org/show_bug.cgi?id=487650

--- Comment #4 from Andrius Štikonas  ---
Could you paste output of
sudo sfdisk --json /dev/sda
to confirm whether it's the regression from the commit above.

-- 
You are receiving this mail because:
You are watching all bug changes.

[partitionmanager] [Bug 487650] Partition Manager fails to read MS-DOS partition tables

2024-05-28 Thread Andrius Štikonas
https://bugs.kde.org/show_bug.cgi?id=487650

--- Comment #3 from Andrius Štikonas  ---
Hmm, possibly
https://invent.kde.org/system/kpmcore/-/commit/801b291a7f537cb137aa7a64f23424dca840030a
causes  this

-- 
You are receiving this mail because:
You are watching all bug changes.

[partitionmanager] [Bug 487222] It showed error about a disk, when a UDISK insert to computer.

2024-05-19 Thread Andrius Štikonas
https://bugs.kde.org/show_bug.cgi?id=487222

--- Comment #1 from Andrius Štikonas  ---
Hmm, the output looks a bit like when it fails to obtain root privileges...

For more verbose logging to console, maybe try running it with 
KPMCORE_DEBUG=1 partitionmanager

-- 
You are receiving this mail because:
You are watching all bug changes.

[partitionmanager] [Bug 487039] Partition Manager Crashes When Removing Mountpoint

2024-05-14 Thread Andrius Štikonas
https://bugs.kde.org/show_bug.cgi?id=487039

Andrius Štikonas  changed:

   What|Removed |Added

 Resolution|--- |DUPLICATE
 Status|REPORTED|RESOLVED

--- Comment #1 from Andrius Štikonas  ---


*** This bug has been marked as a duplicate of bug 481780 ***

-- 
You are receiving this mail because:
You are watching all bug changes.

[partitionmanager] [Bug 481780] Crash on removing a mount point

2024-05-14 Thread Andrius Štikonas
https://bugs.kde.org/show_bug.cgi?id=481780

Andrius Štikonas  changed:

   What|Removed |Added

 CC||benshep...@gmail.com

--- Comment #1 from Andrius Štikonas  ---
*** Bug 487039 has been marked as a duplicate of this bug. ***

-- 
You are receiving this mail because:
You are watching all bug changes.

[partitionmanager] [Bug 486206] does not give focus to Authentication required

2024-05-14 Thread Andrius Štikonas
https://bugs.kde.org/show_bug.cgi?id=486206

Andrius Štikonas  changed:

   What|Removed |Added

 Resolution|WORKSFORME  |FIXED

-- 
You are receiving this mail because:
You are watching all bug changes.

[partitionmanager] [Bug 486357] Cannot create LUKS2 partitions, only LUKS1

2024-04-30 Thread Andrius Štikonas
https://bugs.kde.org/show_bug.cgi?id=486357

Andrius Štikonas  changed:

   What|Removed |Added

 Resolution|--- |FIXED
 Status|REPORTED|RESOLVED

-- 
You are receiving this mail because:
You are watching all bug changes.

[partitionmanager] [Bug 486206] does not give focus to Authentication required

2024-04-27 Thread Andrius Štikonas
https://bugs.kde.org/show_bug.cgi?id=486206

--- Comment #2 from Andrius Štikonas  ---
Let me know if you can still reproduce it there...

-- 
You are receiving this mail because:
You are watching all bug changes.

[partitionmanager] [Bug 486206] does not give focus to Authentication required

2024-04-27 Thread Andrius Štikonas
https://bugs.kde.org/show_bug.cgi?id=486206

Andrius Štikonas  changed:

   What|Removed |Added

 Status|REPORTED|RESOLVED
 Resolution|--- |WORKSFORME

--- Comment #1 from Andrius Štikonas  ---
Seems to work fine on Plasma 6 with Wayland. (though I remember this was not
working before...)

-- 
You are receiving this mail because:
You are watching all bug changes.

[partitionmanager] [Bug 486185] Partition Manager fails at detecting partition, while GParted, Gnome Disks and fdisk show the actual partition.

2024-04-27 Thread Andrius Štikonas
https://bugs.kde.org/show_bug.cgi?id=486185

Andrius Štikonas  changed:

   What|Removed |Added

 Resolution|--- |FIXED
 Status|REPORTED|RESOLVED

--- Comment #1 from Andrius Štikonas  ---
This was already fixed in
https://invent.kde.org/system/kpmcore/-/commit/801b291a7f537cb137aa7a64f23424dca840030a

-- 
You are receiving this mail because:
You are watching all bug changes.

[partitionmanager] [Bug 485862] Crash after opening PartitionManager twice during move

2024-04-20 Thread Andrius Štikonas
https://bugs.kde.org/show_bug.cgi?id=485862

Andrius Štikonas  changed:

   What|Removed |Added

 Resolution|--- |DUPLICATE
 Status|REPORTED|RESOLVED

--- Comment #1 from Andrius Štikonas  ---
You shouldn't be able to start partitionmanager twice, second instance should
exist almost immediately after it checks dbus interface...
Crash might be coincidence.  This backtrace looks like #441916 though I can't
reliably reproduce it.

kpmcore_externalcommand should finish currently running command, so hopefully
your file system is mostly fine. But keep in mind that it will not run any
further commands, so after the move (depending on the direction, you might need
to adjust partition boundaries).

Luckily your move is to the left. I think you'll end up with partition that is
larger than file system. So nothing serious, since fs is aware of its own size.
=
|moved file system|end of the old data|
I think another resize would fix the problem...

Move is to the right would have been trickier...

|old data|moved file system|
This would need to move beginning of partition to where moved file system is.

*** This bug has been marked as a duplicate of bug 441916 ***

-- 
You are receiving this mail because:
You are watching all bug changes.

[partitionmanager] [Bug 441916] Partition Manager crashed while shrinking ntfs partition (Crash in PartWidget::paintEvent)

2024-04-20 Thread Andrius Štikonas
https://bugs.kde.org/show_bug.cgi?id=441916

Andrius Štikonas  changed:

   What|Removed |Added

 CC||max.beiki...@unitybox.de

--- Comment #18 from Andrius Štikonas  ---
*** Bug 485862 has been marked as a duplicate of this bug. ***

-- 
You are receiving this mail because:
You are watching all bug changes.

[partitionmanager] [Bug 476054] Always set the "nofail" flag for manually created mountpoints?

2024-04-03 Thread Andrius Štikonas
https://bugs.kde.org/show_bug.cgi?id=476054

Andrius Štikonas  changed:

   What|Removed |Added

  Latest Commit||https://invent.kde.org/syst
   ||em/partitionmanager/-/commi
   ||t/4232098e33115aad1e1174e87
   ||661214dffec6adb
 Status|REPORTED|RESOLVED
 Resolution|--- |FIXED

--- Comment #4 from Andrius Štikonas  ---
Git commit 4232098e33115aad1e1174e87661214dffec6adb by Andrius Štikonas, on
behalf of Thomas Bertels.
Committed on 04/04/2024 at 00:06.
Pushed by stikonas into branch 'master'.

Enable nofail by default for / and /home

Enable nofail by default when the mount point is / or /home
Apart from those, nofail mounts let the system boot normaly.

M  +4-0src/gui/editmountpointdialogwidget.cpp

https://invent.kde.org/system/partitionmanager/-/commit/4232098e33115aad1e1174e87661214dffec6adb

-- 
You are receiving this mail because:
You are watching all bug changes.

[partitionmanager] [Bug 472431] nofail option as a checkbox option in edit mount point for partitions

2024-04-03 Thread Andrius Štikonas
https://bugs.kde.org/show_bug.cgi?id=472431

Andrius Štikonas  changed:

   What|Removed |Added

 Status|ASSIGNED|RESOLVED
  Latest Commit||https://invent.kde.org/syst
   ||em/partitionmanager/-/commi
   ||t/e6283022319e66c581cc77e7c
   ||0a88be4dc85fb31
 Resolution|--- |FIXED

--- Comment #2 from Andrius Štikonas  ---
Git commit e6283022319e66c581cc77e7c0a88be4dc85fb31 by Andrius Štikonas, on
behalf of Thomas Bertels.
Committed on 04/04/2024 at 00:06.
Pushed by stikonas into branch 'master'.

Add an fstab nofail mount option

nofail mounts won't prevent the system from booting if not mountable.
systemd will stil try to mount them in an asynchronous way, and add an
error to the log if it fails.
Most mount points, apart from / and /home should be mounted with nofail
to prevent entering to recovery mode with a bootable system.
partitionmanager doesn't remove fstab entries after removing a
partition, which currently leads to recovery mode on the next boot.

M  +1-0src/gui/editmountpointdialogwidget.cpp
M  +16   -9src/gui/editmountpointdialogwidgetbase.ui

https://invent.kde.org/system/partitionmanager/-/commit/e6283022319e66c581cc77e7c0a88be4dc85fb31

-- 
You are receiving this mail because:
You are watching all bug changes.

[partitionmanager] [Bug 484611] Incorrect command when running a check on an exFAT partition

2024-03-27 Thread Andrius Štikonas
https://bugs.kde.org/show_bug.cgi?id=484611

Andrius Štikonas  changed:

   What|Removed |Added

 Status|REPORTED|RESOLVED
 Resolution|--- |NOT A BUG

--- Comment #1 from Andrius Štikonas  ---
You need to use exfatprogs as is specified in fs support dialog. You probably
installed exfat-utils.

Usage: fsck.exfat
-r | --repairRepair interactively
-y | --repair-yesRepair without ask
-n | --repair-no No repair
-p | --repair-auto   Repair automatically
-a   Repair automatically
-b | --ignore-bad-fs Try to recover even if exfat is not found
-s | --rescueAssign orphaned clusters to files
-V | --version   Show version
-v | --verbose   Print debug
-h | --help  Show help

-- 
You are receiving this mail because:
You are watching all bug changes.

[partitionmanager] [Bug 484450] Access error when trying to make backup from partition (to file) to any folder of another partition.

2024-03-26 Thread Andrius Štikonas
https://bugs.kde.org/show_bug.cgi?id=484450

--- Comment #11 from Andrius Štikonas  ---
(In reply to Rafael Linux User from comment #10)
> (In reply to Andrius Štikonas from comment #9)
> > (In reply to Rafael Linux User from comment #8)
> > > (In reply to Andrius Štikonas from comment #7)
> > > > 
> > > > (or somewhere else you don't want them).  Perhaps we need some kind of
> > > > detection logic depending on whether  destination path is user or root
> > > > writable.
> > > 
> > > I agree, cause meanwhile, I can't use the KDE partition tool to do backups
> > > that way and need to use Gnome based one.
> > 
> > Well, you could always manually adjust destination permissions with chown...
> Not the way if there are tools that take it into account and let user to do
> all from that tool. That's how I would like KDE Partitioner to work.
> > 
> > Anyway, keep in mind that gnome disks and kde partition manager backup
> > slightly different things. From what I just saw, gnome disks backups whole
> > device, e.g. /dev/sda whereas KDE Partition Manager backups /dev/sda1
> 
> No. "DISKS" let user make backup from whole disk or individual partitions
> (like I showed in first attached screenshot). I don't understand why KDE
> have not same features in 2024   :(

Well, different people were focussing on different features on different
tools... E.g. Gnome disks can't resize LVM logical volumes or LUKS containers.
Or even move normal partitions to another place on the disk (you have to backup
partition, delete the old one, create a new one and restore).

-- 
You are receiving this mail because:
You are watching all bug changes.

[partitionmanager] [Bug 484450] Access error when trying to make backup from partition (to file) to any folder of another partition.

2024-03-26 Thread Andrius Štikonas
https://bugs.kde.org/show_bug.cgi?id=484450

--- Comment #9 from Andrius Štikonas  ---
(In reply to Rafael Linux User from comment #8)
> (In reply to Andrius Štikonas from comment #7)
> > 
> > (or somewhere else you don't want them).  Perhaps we need some kind of
> > detection logic depending on whether  destination path is user or root
> > writable.
> 
> I agree, cause meanwhile, I can't use the KDE partition tool to do backups
> that way and need to use Gnome based one.

Well, you could always manually adjust destination permissions with chown...

Anyway, keep in mind that gnome disks and kde partition manager backup slightly
different things. From what I just saw, gnome disks backups whole device, e.g.
/dev/sda whereas KDE Partition Manager backups /dev/sda1

-- 
You are receiving this mail because:
You are watching all bug changes.

[partitionmanager] [Bug 484450] Access error when trying to make backup from partition (to file) to any folder of another partition.

2024-03-26 Thread Andrius Štikonas
https://bugs.kde.org/show_bug.cgi?id=484450

--- Comment #7 from Andrius Štikonas  ---


(In reply to Rafael Linux User from comment #4)
> . And I have also found that it asks for the root password ALWAYS
> when a partition backup operation is to be performed, regardless of the
> destination to be chosen for the image file. That is to say, it works as I
> said, but it really requires root privileges to be able to take control of
> the partition to be backed up, regardless of whether or not the destination
> requires root permissions.

Yes, of course you need root permissions to read the device. KDE Partition
Manager also needs root permissions for that, but you have already entered root
password on its startup. It keeps those permissions and doesn't need to ask
again.

The issue for Partition Manager is really just permissions for output location.
At this point it does not use those root privileges for output files as it it
easy to end up with root owned files in your home directory (or somewhere else
you don't want them).  Perhaps we need some kind of detection logic depending
on whether  destination path is user or root writable.

And yes, I tried exactly the same thing in gnome disks (version 45.1) and it
just crashes on my system.

-- 
You are receiving this mail because:
You are watching all bug changes.

[partitionmanager] [Bug 484450] Access error when trying to make backup from partition (to file) to any folder of another partition.

2024-03-25 Thread Andrius Štikonas
https://bugs.kde.org/show_bug.cgi?id=484450

--- Comment #3 from Andrius Štikonas  ---
Perhaps, though I couldn't get Gnome disks to make backup at all to root owned
location... When I try to use gnome disks to write backup image somewhere in my
home directory, then it works. When I tried to save image to root owned
location, gnome disks just crashed for me...

-- 
You are receiving this mail because:
You are watching all bug changes.

[partitionmanager] [Bug 484450] Access error when trying to make backup from partition (to file) to any folder of another partition.

2024-03-25 Thread Andrius Štikonas
https://bugs.kde.org/show_bug.cgi?id=484450

--- Comment #1 from Andrius Štikonas  ---
I would guess that it's not the mount status but ownership by root of disk B.

PartitionManager always tries to save backup as your own user (to avoid
creating root owned files is e.g. your home directory). If disk B is owned by
root, then that's the reason for failure.

-- 
You are receiving this mail because:
You are watching all bug changes.

[partitionmanager] [Bug 484120] Sudo failed: On some systems, you need to be in a special group (often: wheel) to use this program

2024-03-21 Thread Andrius Štikonas
https://bugs.kde.org/show_bug.cgi?id=484120

Andrius Štikonas  changed:

   What|Removed |Added

 Status|REPORTED|RESOLVED
 Resolution|--- |DOWNSTREAM

--- Comment #2 from Andrius Štikonas  ---
We don't use sudo, we use polkit. Group or which user you need to be generally
depends on your polkit configuration in /etc/polkit-1/rules.d, so that's mostly
outside the scope of partition manager.

partitionmanager asks polkit for auth_admin_keep option. And if distro does not
have root user I think it's up to distro to correctly configure polkit.

-- 
You are receiving this mail because:
You are watching all bug changes.

[partitionmanager] [Bug 477544] Add support for bcachefs

2024-03-21 Thread Andrius Štikonas
https://bugs.kde.org/show_bug.cgi?id=477544

Andrius Štikonas  changed:

   What|Removed |Added

  Latest Commit||https://invent.kde.org/syst
   ||em/kpmcore/-/commit/a5ffeb0
   ||348f159b8cf56c3e0fcf9574cbd
   ||083cd3
 Resolution|--- |FIXED
 Status|REPORTED|RESOLVED

--- Comment #2 from Andrius Štikonas  ---
Git commit a5ffeb0348f159b8cf56c3e0fcf9574cbd083cd3 by Andrius Štikonas.
Committed on 21/03/2024 at 22:16.
Pushed by stikonas into branch 'master'.

Initial support for bcachefs.

M  +2-0src/fs/CMakeLists.txt
A  +161  -0src/fs/bcachefs.cpp [License: GPL(v3.0+)]
A  +113  -0src/fs/bcachefs.h [License: GPL(v3.0+)]
M  +2-1src/fs/btrfs.cpp
M  +3-1src/fs/filesystem.cpp
M  +1-0src/fs/filesystem.h
M  +3-0src/fs/filesystemfactory.cpp
M  +1-0src/fs/luks.cpp
M  +1-0src/plugins/sfdisk/sfdiskbackend.cpp
M  +1-0src/util/externalcommand_whitelist.h

https://invent.kde.org/system/kpmcore/-/commit/a5ffeb0348f159b8cf56c3e0fcf9574cbd083cd3

-- 
You are receiving this mail because:
You are watching all bug changes.

[partitionmanager] [Bug 441916] Partition Manager crashed while shrinking ntfs partition (Crash in PartWidget::paintEvent)

2024-03-19 Thread Andrius Štikonas
https://bugs.kde.org/show_bug.cgi?id=441916

Andrius Štikonas  changed:

   What|Removed |Added

 CC||lee.head.5...@gmail.com

--- Comment #17 from Andrius Štikonas  ---
*** Bug 484028 has been marked as a duplicate of this bug. ***

-- 
You are receiving this mail because:
You are watching all bug changes.

[partitionmanager] [Bug 484028] kde partition manager crash

2024-03-19 Thread Andrius Štikonas
https://bugs.kde.org/show_bug.cgi?id=484028

Andrius Štikonas  changed:

   What|Removed |Added

 Status|REPORTED|RESOLVED
 Resolution|--- |DUPLICATE

--- Comment #1 from Andrius Štikonas  ---


*** This bug has been marked as a duplicate of bug 441916 ***

-- 
You are receiving this mail because:
You are watching all bug changes.

[ktorrent] [Bug 208493] Rename local files in torrent

2024-03-15 Thread Andrius Štikonas
https://bugs.kde.org/show_bug.cgi?id=208493

Andrius Štikonas  changed:

   What|Removed |Added

  Latest Commit||https://invent.kde.org/netw
   ||ork/ktorrent/-/commit/d1c2a
   ||0f26aac53bf9089df2937b0b540
   ||b2d679a8
 Status|ASSIGNED|RESOLVED
 Resolution|--- |FIXED

--- Comment #6 from Andrius Štikonas  ---
Git commit d1c2a0f26aac53bf9089df2937b0b540b2d679a8 by Andrius Štikonas, on
behalf of George Florea Bănuș.
Committed on 15/03/2024 at 17:31.
Pushed by stikonas into branch 'master'.

infowidget: add context menu action to rename files

M  +4-1libktcore/torrent/torrentfiletreemodel.cpp
M  +3-1libktcore/torrent/torrentfiletreemodel.h
M  +24   -0plugins/infowidget/fileview.cpp
M  +2-0plugins/infowidget/fileview.h
M  +42   -0plugins/infowidget/iwfilelistmodel.cpp
M  +16   -0plugins/infowidget/iwfiletreemodel.cpp
M  +1-0plugins/infowidget/iwfiletreemodel.h

https://invent.kde.org/network/ktorrent/-/commit/d1c2a0f26aac53bf9089df2937b0b540b2d679a8

-- 
You are receiving this mail because:
You are watching all bug changes.

[partitionmanager] [Bug 483446] partitionmanger fails to create a valid entry in /etc/fstab when creating new part table and filesystem in one batch

2024-03-14 Thread Andrius Štikonas
https://bugs.kde.org/show_bug.cgi?id=483446

--- Comment #3 from Andrius Štikonas  ---
(In reply to Christian Hartmann from comment #2)
> i don't see the point in adding an entry in fstab that early in a "batched"
> process of individual steps.  by my observations it is created basically in
> the first step of the batch. but why? the first step is creating a partition
> table and in the second step crating the file system.  Both do not require
> this new entry.  just in the last step, when the new partition shall be set
> to get automatically mounted on system startup.

No, it's not batched at all. It is created when you click OK in fstab editing
dialog. Basically when you open fstab dialog, it reads /etc/fstab and when you
close it, it writes it back to disk. You don't even need to click apply.

-- 
You are receiving this mail because:
You are watching all bug changes.

[partitionmanager] [Bug 483446] partitionmanger fails to create a valid entry in /etc/fstab when creating new part table and filesystem in one batch

2024-03-13 Thread Andrius Štikonas
https://bugs.kde.org/show_bug.cgi?id=483446

--- Comment #1 from Andrius Štikonas  ---
The problem is that fstab editing is instantaneous, it's not batched (and I
don't think we can batch it) while the other stuff is batched. So by the time
you edit fstab, there isn't enough info to put into /etc/fstab. Perhaps we
should try to disable fstab editing functionality on new partitions, but it
could still be problematic in case of filesystem reformats (when UUID would
change) but partition is not new. So I'm unsure about what to do...

-- 
You are receiving this mail because:
You are watching all bug changes.

[partitionmanager] [Bug 476054] Always set the "nofail" flag for manually created mountpoints?

2024-03-12 Thread Andrius Štikonas
https://bugs.kde.org/show_bug.cgi?id=476054

--- Comment #2 from Andrius Štikonas  ---
I would be a bit reluctant to force  it on for everybody without an ability to
opt out

Perhaps we could add it to the list of available options in the mount point
dialog? Right now it is not exposed at all, we only have
ro, users, noauto, noatime, nodiratime, sync, noexec and relative. Or is that
not sufficient?

-- 
You are receiving this mail because:
You are watching all bug changes.

[ktorrent] [Bug 415580] KTorrent does not save magnets unless properly shut down

2024-03-08 Thread Andrius Štikonas
https://bugs.kde.org/show_bug.cgi?id=415580

Andrius Štikonas  changed:

   What|Removed |Added

  Latest Commit||https://invent.kde.org/netw
   ||ork/ktorrent/-/commit/4424f
   ||34fb005c43e6aee109e9d474fbc
   ||99d293d2
 Resolution|--- |FIXED
 Status|ASSIGNED|RESOLVED

--- Comment #4 from Andrius Štikonas  ---
Git commit 4424f34fb005c43e6aee109e9d474fbc99d293d2 by Andrius Štikonas, on
behalf of Jack Hill.
Committed on 08/03/2024 at 22:09.
Pushed by stikonas into branch 'master'.

Save magnet queue whenever the queue is updated

I.e. when magnets are added to the queue. Previously the queue was only
saved when KTorrent was closed, so all magnets added in a session were lost
if KTorrent crashed.

Test-plan: import a stale magnet link then send a SIGHUP to KTorrent and
restart the app. Previously the magnet link did not appear on the
magnets list after the restart, now it does.

M  +3-0ktorrent/core.cpp

https://invent.kde.org/network/ktorrent/-/commit/4424f34fb005c43e6aee109e9d474fbc99d293d2

-- 
You are receiving this mail because:
You are watching all bug changes.

[partitionmanager] [Bug 441916] Partition Manager crashed while shrinking ntfs partition (Crash in PartWidget::paintEvent)

2024-03-08 Thread Andrius Štikonas
https://bugs.kde.org/show_bug.cgi?id=441916

Andrius Štikonas  changed:

   What|Removed |Added

Summary|Partition Manager crashed   |Partition Manager crashed
   |while shrinking ntfs|while shrinking ntfs
   |partition   |partition (Crash in
   ||PartWidget::paintEvent)

-- 
You are receiving this mail because:
You are watching all bug changes.

[partitionmanager] [Bug 441916] Partition Manager crashed while shrinking ntfs partition

2024-03-08 Thread Andrius Štikonas
https://bugs.kde.org/show_bug.cgi?id=441916

Andrius Štikonas  changed:

   What|Removed |Added

 CC||adrianede...@gmail.com

--- Comment #16 from Andrius Štikonas  ---
*** Bug 482896 has been marked as a duplicate of this bug. ***

-- 
You are receiving this mail because:
You are watching all bug changes.

[partitionmanager] [Bug 482896] Crash on execution "Apply" of several partition tasks

2024-03-08 Thread Andrius Štikonas
https://bugs.kde.org/show_bug.cgi?id=482896

Andrius Štikonas  changed:

   What|Removed |Added

 Status|REPORTED|RESOLVED
 Resolution|--- |DUPLICATE

--- Comment #1 from Andrius Štikonas  ---


*** This bug has been marked as a duplicate of bug 441916 ***

-- 
You are receiving this mail because:
You are watching all bug changes.

[ktorrent] [Bug 481151] cannot restore ktorrent window after closing

2024-02-10 Thread Andrius Štikonas
https://bugs.kde.org/show_bug.cgi?id=481151

Andrius Štikonas  changed:

   What|Removed |Added

 Resolution|--- |FIXED
 Status|ASSIGNED|RESOLVED
  Latest Commit||https://invent.kde.org/netw
   ||ork/ktorrent/-/commit/e35b4
   ||881605f045ebe8bca2da357c2a3
   ||ae2f1e02

--- Comment #3 from Andrius Štikonas  ---
Git commit e35b4881605f045ebe8bca2da357c2a3ae2f1e02 by Andrius Štikonas, on
behalf of Yifan Zhu.
Committed on 10/02/2024 at 21:50.
Pushed by stikonas into branch 'master'.

Replace QWidget->show() with QWindow()->show()

efe4aa0dcc23e57e68ecd809068f1a49d7705a07 replaces many calls to
QWidget->show() with QWindow()->show(). Since mixing these is not
supported (https://bugreports.qt.io/browse/QTBUG-120316), replace the
remaining QWidget->show() with QWindow()->show() as well.

Test-plan:
- Enable KTorrent's system tray icon
- Close the main KTorrent window
- Execute ktorrent from the command line
- Close the main KTorrent window
- Execute ktorrent from the command line

Previously:
- After a few repeats ktorrent window doesn't show

Now:
- ktorrent window always shows after executing ktorrent

M  +2-1ktorrent/main.cpp

https://invent.kde.org/network/ktorrent/-/commit/e35b4881605f045ebe8bca2da357c2a3ae2f1e02

-- 
You are receiving this mail because:
You are watching all bug changes.

[partitionmanager] [Bug 481117] PartitionManager crash when shrinking ext4, session firefox open and move two windows of Partition Manager

2024-02-10 Thread Andrius Štikonas
https://bugs.kde.org/show_bug.cgi?id=481117

Andrius Štikonas  changed:

   What|Removed |Added

 Resolution|--- |DUPLICATE
 Status|REPORTED|RESOLVED

--- Comment #1 from Andrius Štikonas  ---


*** This bug has been marked as a duplicate of bug 441916 ***

-- 
You are receiving this mail because:
You are watching all bug changes.

[partitionmanager] [Bug 441916] Partition Manager crashed while shrinking ntfs partition

2024-02-10 Thread Andrius Štikonas
https://bugs.kde.org/show_bug.cgi?id=441916

Andrius Štikonas  changed:

   What|Removed |Added

 CC||anice...@gmail.com

--- Comment #15 from Andrius Štikonas  ---
*** Bug 481117 has been marked as a duplicate of this bug. ***

-- 
You are receiving this mail because:
You are watching all bug changes.

[partitionmanager] [Bug 441916] Partition Manager crashed while shrinking ntfs partition

2024-02-10 Thread Andrius Štikonas
https://bugs.kde.org/show_bug.cgi?id=441916

Andrius Štikonas  changed:

   What|Removed |Added

 CC||jakubwy...@protonmail.com

--- Comment #14 from Andrius Štikonas  ---
*** Bug 480472 has been marked as a duplicate of this bug. ***

-- 
You are receiving this mail because:
You are watching all bug changes.

[partitionmanager] [Bug 480472] Crash partition tools

2024-02-10 Thread Andrius Štikonas
https://bugs.kde.org/show_bug.cgi?id=480472

Andrius Štikonas  changed:

   What|Removed |Added

 Resolution|--- |DUPLICATE
 Status|REPORTED|RESOLVED

--- Comment #1 from Andrius Štikonas  ---


*** This bug has been marked as a duplicate of bug 441916 ***

-- 
You are receiving this mail because:
You are watching all bug changes.

[partitionmanager] [Bug 481087] Partiton manager asks two times for password

2024-02-08 Thread Andrius Štikonas
https://bugs.kde.org/show_bug.cgi?id=481087

--- Comment #2 from Andrius Štikonas  ---
(In reply to Andrius Štikonas from comment #1)
> That looks like downstream opensuse bug. Doesn't happen anywhere else.
> 
> *** This bug has been marked as a duplicate of bug 456325 ***

Cab you open downstream opensuse bug (if they don't have one already?)

-- 
You are receiving this mail because:
You are watching all bug changes.

[partitionmanager] [Bug 481087] Partiton manager asks two times for password

2024-02-08 Thread Andrius Štikonas
https://bugs.kde.org/show_bug.cgi?id=481087

Andrius Štikonas  changed:

   What|Removed |Added

 Resolution|--- |DUPLICATE
 Status|REPORTED|RESOLVED

--- Comment #1 from Andrius Štikonas  ---
That looks like downstream opensuse bug. Doesn't happen anywhere else.

*** This bug has been marked as a duplicate of bug 456325 ***

-- 
You are receiving this mail because:
You are watching all bug changes.

[partitionmanager] [Bug 456325] Two authentication prompts appear at app startup

2024-02-08 Thread Andrius Štikonas
https://bugs.kde.org/show_bug.cgi?id=456325

Andrius Štikonas  changed:

   What|Removed |Added

 CC||tobi.goerg...@gmail.com

--- Comment #5 from Andrius Štikonas  ---
*** Bug 481087 has been marked as a duplicate of this bug. ***

-- 
You are receiving this mail because:
You are watching all bug changes.

[partitionmanager] [Bug 480959] Partition Manager shows a partition without a partition table as unallocated

2024-02-06 Thread Andrius Štikonas
https://bugs.kde.org/show_bug.cgi?id=480959

Andrius Štikonas  changed:

   What|Removed |Added

  Latest Commit||https://invent.kde.org/syst
   ||em/kpmcore/-/commit/801b291
   ||a7f537cb137aa7a64f23424dca8
   ||40030a
 Status|CONFIRMED   |RESOLVED
 Resolution|--- |FIXED

--- Comment #4 from Andrius Štikonas  ---
Git commit 801b291a7f537cb137aa7a64f23424dca840030a by Andrius Štikonas.
Committed on 06/02/2024 at 23:21.
Pushed by stikonas into branch 'master'.

Fix whole device exFAT filesystems.

M  +7-1src/plugins/sfdisk/sfdiskbackend.cpp

https://invent.kde.org/system/kpmcore/-/commit/801b291a7f537cb137aa7a64f23424dca840030a

-- 
You are receiving this mail because:
You are watching all bug changes.

[partitionmanager] [Bug 480959] Partition Manager shows a partition without a partition table as unallocated

2024-02-06 Thread Andrius Štikonas
https://bugs.kde.org/show_bug.cgi?id=480959

--- Comment #3 from Andrius Štikonas  ---
After some further investigation I found that it's only FAT that returns zero
exit code with sfdisk --json.

Other filesystems without partition table are recognized.

exFAT without partition table seems to look to sfdisk like MBR with partition
id 0x000. So perhaps we can use that.

-- 
You are receiving this mail because:
You are watching all bug changes.

[partitionmanager] [Bug 480780] No admin password asked and no disk shown

2024-02-06 Thread Andrius Štikonas
https://bugs.kde.org/show_bug.cgi?id=480780

--- Comment #2 from Andrius Štikonas  ---
Most likely it is some kind of misconfiguration in your particular system
anyway as I've tried runing it on Kubuntu 22.04 myself and it worked.

As an ugly workaround if everything else fails, you could try to run it as
"sudo partitionmanager" (though running GUI apps as root is not recommended).

-- 
You are receiving this mail because:
You are watching all bug changes.

[partitionmanager] [Bug 480959] Partition Manager shows a partition without a partition table as unallocated

2024-02-06 Thread Andrius Štikonas
https://bugs.kde.org/show_bug.cgi?id=480959

--- Comment #2 from Andrius Štikonas  ---
if (sfdiskJsonCommand.exitCode() != 0) {
  scanWholeDevicePartition(*d);

  return d;
}

no longer works as intended. Maybe sfdisk used to return non-zero exit code for
whole device partitions but now it returns 0. We should just run that whole
device scan if no partitiontable.partitions section is found in the output of
sfdisk --json

-- 
You are receiving this mail because:
You are watching all bug changes.

[partitionmanager] [Bug 480959] Partition Manager shows a partition without a partition table as unallocated

2024-02-06 Thread Andrius Štikonas
https://bugs.kde.org/show_bug.cgi?id=480959

--- Comment #1 from Andrius Štikonas  ---
Hmm, this should be working, we do have a code to deal with whole device
partitions. So it must be some regression.

-- 
You are receiving this mail because:
You are watching all bug changes.

[partitionmanager] [Bug 480959] Partition Manager shows a partition without a partition table as unallocated

2024-02-06 Thread Andrius Štikonas
https://bugs.kde.org/show_bug.cgi?id=480959

Andrius Štikonas  changed:

   What|Removed |Added

 Status|REPORTED|CONFIRMED
 Ever confirmed|0   |1

-- 
You are receiving this mail because:
You are watching all bug changes.

[partitionmanager] [Bug 466994] KDE Partition Manager cannot change the label on a FAT32 partition

2024-01-27 Thread Andrius Štikonas
https://bugs.kde.org/show_bug.cgi?id=466994

Andrius Štikonas  changed:

   What|Removed |Added

 Resolution|--- |FIXED
 Status|REPORTED|RESOLVED
  Latest Commit||https://invent.kde.org/syst
   ||em/kpmcore/-/commit/a13d8d3
   ||0bd24f9f21f5235933418fc629a
   ||010ded

--- Comment #6 from Andrius Štikonas  ---
Git commit a13d8d30bd24f9f21f5235933418fc629a010ded by Andrius Štikonas.
Committed on 28/01/2024 at 01:52.
Pushed by stikonas into branch 'master'.

Allow lowercase FAT labels.

M  +2-2src/fs/fat12.cpp

https://invent.kde.org/system/kpmcore/-/commit/a13d8d30bd24f9f21f5235933418fc629a010ded

-- 
You are receiving this mail because:
You are watching all bug changes.

[partitionmanager] [Bug 479498] Partition manager does not show mmcblk0 device

2024-01-07 Thread Andrius Štikonas
https://bugs.kde.org/show_bug.cgi?id=479498

--- Comment #1 from Andrius Štikonas  ---
It uses lsblk to scan for devices
(https://invent.kde.org/system/kpmcore/-/blob/master/src/plugins/sfdisk/sfdiskbackend.cpp?ref_type=heads#L74)

Can you paste output of lsblk?

-- 
You are receiving this mail because:
You are watching all bug changes.

[partitionmanager] [Bug 441916] Partition Manager crashed while shrinking ntfs partition

2024-01-03 Thread Andrius Štikonas
https://bugs.kde.org/show_bug.cgi?id=441916

--- Comment #13 from Andrius Štikonas  ---
(In reply to Sergiu Bivol from comment #11)
> Adding a bit more detail from the same backtrace:
> 
> #6  0x7fde1763c0d0 in PartWidget::paintEvent (this=0x56141ec260c0) at
> /usr/src/kpmcore-23.08.4-0ubuntu1/src/gui/partwidget.cpp:99
> partitionCapacity = 45921742462219
> usedPercentage = 0
> w = 
> painter = {d_ptr = {d = 0x56141ead2c50}}
> base = {cspec = 366405224, ct = {argb = {alpha = 32734, red = 0,
> green = 64848, blue = 53793, pad = 32765}, ahsv = {alpha = 32734, hue = 0,
> saturation = 64848, value = 53793, pad = 32765}, acmyk = {alpha = 32734,
> cyan = 0, magenta = 64848, yellow = 53793, black = 32765}, ahsl = {alpha =
> 32734, hue = 0, saturation = 64848, lightness = 53793, pad = 32765},
> argbExtended = {alphaF16 = 32734, redF16 = 0, greenF16 = 64848, blueF16 =
> 53793, pad = 32765}, array = {32734, 0, 64848, 53793, 32765}}}
> text = {d = 0x7ffdd221fe80}
> textRect = {x1 = -769524464, y1 = 32765, x2 = 377172317, y2 = 32734}
> boundingRect = 
> #7  0x7fde167b0f78 in QWidget::event (this=0x56141ec260c0,
> event=0x7ffdd221fe80) at kernel/qwidget.cpp:9045
> d = 
> #8  0x7fde1676bce5 in QApplicationPrivate::notify_helper
> (this=, receiver=0x56141ec260c0, e=0x7ffdd221fe80) at
> kernel/qapplication.cpp:3640
> consumed = false
> filtered = false
> #9  0x7fde15ad6558 in QCoreApplication::notifyInternal2
> (receiver=0x56141ec260c0, event=0x7ffdd221fe80) at
> kernel/qcoreapplication.cpp:1064
> selfRequired = true
> result = false
> cbdata = {0x56141ec260c0, 0x7ffdd221fe80, 0x7ffdd221fe1f}
> d = 
> threadData = 0x56141e51dfa0
> scopeLevelCounter = {threadData = 0x56141e51dfa0}
> #10 0x7fde15ad6792 in QCoreApplication::sendSpontaneousEvent
> (receiver=, event=) at
> kernel/qcoreapplication.cpp:1474
> No locals.
> #11 0x7fde167a8c6e in QWidgetPrivate::sendPaintEvent
> (this=this@entry=0x56141ebe8120, toBePainted=...) at kernel/qwidget.cpp:5479
> q = 0x56141ec260c0
> e = { = {_vptr.QEvent = 0x7fde164dc298  QPaintEvent+16>, static staticMetaObject = {d = {superdata = {direct = 0x0},
> stringdata = 0x7fde15cad940 , data =
> 0x7fde15cad380 , static_metacall = 0x0,
> relatedMetaObjects = 0x0, extradata = 0x0}}, d = 0x0, t = 12, posted = 0,
> spont = 1, m_accept = 1, reserved = 0}, m_rect = {x1 = 0, y1 = 0, x2 = 29,
> y2 = 59}, m_region = {d = 0x56141ebbdf80}, m_erased = false}
> #12 0x7fde167a9629 in QWidgetPrivate::drawWidget
> (this=this@entry=0x56141ebe8120, pdev=pdev@entry=0x56141eb2eec8, rgn=...,
> offset=..., flags=flags@entry=..., sharedPainter=sharedPainter@entry=0x0,
> repaintManager=) at kernel/qwidget.cpp:5429
> paintEngine = 
> skipPaintEvent = 
> q = 
> asRoot = 
> onScreen = 
> alsoOnScreen = false
> recursive = true
> alsoInvisible = false
> toBePainted = {d = 0x56141ebbdf80, static shared_empty = {ref =
> {atomic = {_q_value = std::atomic = { -1 }}}, qt_rgn = 0x7fde164f4140
> }}

Any chance you could see value of partition()->fileSystem().type()) in gdb? 

It looks like something might be wrong here, but I don't understand what...
const QColor base = activeColor(m_fileSystemColorCode[
static_cast(partition()->fileSystem().type()) ]);
Somehow array goes out of bounds?

-- 
You are receiving this mail because:
You are watching all bug changes.

[partitionmanager] [Bug 441916] Partition Manager crashed while shrinking ntfs partition

2024-01-03 Thread Andrius Štikonas
https://bugs.kde.org/show_bug.cgi?id=441916

--- Comment #12 from Andrius Štikonas  ---
Thanks, this is probably the most detailed backtrace so far

-- 
You are receiving this mail because:
You are watching all bug changes.

[partitionmanager] [Bug 441916] Partition Manager crashed while shrinking ntfs partition

2023-12-28 Thread Andrius Štikonas
https://bugs.kde.org/show_bug.cgi?id=441916

Andrius Štikonas  changed:

   What|Removed |Added

 CC||fabiansenftl...@gmail.com

--- Comment #9 from Andrius Štikonas  ---
*** Bug 462318 has been marked as a duplicate of this bug. ***

-- 
You are receiving this mail because:
You are watching all bug changes.

[partitionmanager] [Bug 462318] Crash after mkfs ext4 completion

2023-12-28 Thread Andrius Štikonas
https://bugs.kde.org/show_bug.cgi?id=462318

Andrius Štikonas  changed:

   What|Removed |Added

 Status|REPORTED|RESOLVED
 Resolution|--- |DUPLICATE

--- Comment #1 from Andrius Štikonas  ---


*** This bug has been marked as a duplicate of bug 441916 ***

-- 
You are receiving this mail because:
You are watching all bug changes.

[partitionmanager] [Bug 469111] Crash after shrinking NTFS partition fails

2023-12-28 Thread Andrius Štikonas
https://bugs.kde.org/show_bug.cgi?id=469111

Andrius Štikonas  changed:

   What|Removed |Added

 Resolution|--- |DUPLICATE
 Status|REPORTED|RESOLVED

--- Comment #1 from Andrius Štikonas  ---


*** This bug has been marked as a duplicate of bug 441916 ***

-- 
You are receiving this mail because:
You are watching all bug changes.

[partitionmanager] [Bug 441916] Partition Manager crashed while shrinking ntfs partition

2023-12-28 Thread Andrius Štikonas
https://bugs.kde.org/show_bug.cgi?id=441916

Andrius Štikonas  changed:

   What|Removed |Added

 CC||stepien...@gmail.com

--- Comment #8 from Andrius Štikonas  ---
*** Bug 469111 has been marked as a duplicate of this bug. ***

-- 
You are receiving this mail because:
You are watching all bug changes.

[partitionmanager] [Bug 441916] Partition Manager crashed while shrinking ntfs partition

2023-12-28 Thread Andrius Štikonas
https://bugs.kde.org/show_bug.cgi?id=441916

Andrius Štikonas  changed:

   What|Removed |Added

 CC||ve...@yandex.ru

--- Comment #7 from Andrius Štikonas  ---
*** Bug 472310 has been marked as a duplicate of this bug. ***

-- 
You are receiving this mail because:
You are watching all bug changes.

[partitionmanager] [Bug 472310] KDE Part Manager Crashed when formatting flash drive to NTFS

2023-12-28 Thread Andrius Štikonas
https://bugs.kde.org/show_bug.cgi?id=472310

Andrius Štikonas  changed:

   What|Removed |Added

 Resolution|--- |DUPLICATE
 Status|REPORTED|RESOLVED

--- Comment #1 from Andrius Štikonas  ---


*** This bug has been marked as a duplicate of bug 441916 ***

-- 
You are receiving this mail because:
You are watching all bug changes.

[partitionmanager] [Bug 441916] Partition Manager crashed while shrinking ntfs partition

2023-12-28 Thread Andrius Štikonas
https://bugs.kde.org/show_bug.cgi?id=441916

Andrius Štikonas  changed:

   What|Removed |Added

 CC||josenerja...@gmail.com

--- Comment #6 from Andrius Štikonas  ---
*** Bug 466421 has been marked as a duplicate of this bug. ***

-- 
You are receiving this mail because:
You are watching all bug changes.

[partitionmanager] [Bug 466421] KDE Partition Manager crashes while applying setting to NTFS partition

2023-12-28 Thread Andrius Štikonas
https://bugs.kde.org/show_bug.cgi?id=466421

Andrius Štikonas  changed:

   What|Removed |Added

 Resolution|--- |DUPLICATE
 Status|REPORTED|RESOLVED

--- Comment #1 from Andrius Štikonas  ---


*** This bug has been marked as a duplicate of bug 441916 ***

-- 
You are receiving this mail because:
You are watching all bug changes.

[partitionmanager] [Bug 451601] partitionmanager crashed on adjustment

2023-12-28 Thread Andrius Štikonas
https://bugs.kde.org/show_bug.cgi?id=451601

Andrius Štikonas  changed:

   What|Removed |Added

 Status|REPORTED|RESOLVED
 Resolution|--- |DUPLICATE

--- Comment #3 from Andrius Štikonas  ---


*** This bug has been marked as a duplicate of bug 441916 ***

-- 
You are receiving this mail because:
You are watching all bug changes.

[partitionmanager] [Bug 441916] Partition Manager crashed while shrinking ntfs partition

2023-12-28 Thread Andrius Štikonas
https://bugs.kde.org/show_bug.cgi?id=441916

Andrius Štikonas  changed:

   What|Removed |Added

 CC||can...@thetomato.co

--- Comment #5 from Andrius Štikonas  ---
*** Bug 451601 has been marked as a duplicate of this bug. ***

-- 
You are receiving this mail because:
You are watching all bug changes.

[partitionmanager] [Bug 451601] partitionmanager crashed on adjustment

2023-12-28 Thread Andrius Štikonas
https://bugs.kde.org/show_bug.cgi?id=451601

Andrius Štikonas  changed:

   What|Removed |Added

 CC||oo.o+kde@windbuechse.samba-
   ||tng.org

--- Comment #2 from Andrius Štikonas  ---
*** Bug 479132 has been marked as a duplicate of this bug. ***

-- 
You are receiving this mail because:
You are watching all bug changes.

[partitionmanager] [Bug 479132] make ext4 on a partition and rename a btrfs partition

2023-12-28 Thread Andrius Štikonas
https://bugs.kde.org/show_bug.cgi?id=479132

Andrius Štikonas  changed:

   What|Removed |Added

 Status|REPORTED|RESOLVED
 Resolution|--- |DUPLICATE

--- Comment #1 from Andrius Štikonas  ---
Same backtrace as in a few other random and hard to reproduce bugs.

*** This bug has been marked as a duplicate of bug 451601 ***

-- 
You are receiving this mail because:
You are watching all bug changes.

[partitionmanager] [Bug 478713] Partition Manager is broken due to a bunch of kpmcore/QDBus errors.

2023-12-19 Thread Andrius Štikonas
https://bugs.kde.org/show_bug.cgi?id=478713

Andrius Štikonas  changed:

   What|Removed |Added

 Resolution|--- |DOWNSTREAM
 Status|REPORTED|RESOLVED

--- Comment #1 from Andrius Štikonas  ---
Please report this to arch bugzilla, it sounds like a packaging bug. Somehow
they broke DBus  start program on activation...


And there were not polkit related changes in kpmcore recently.

-- 
You are receiving this mail because:
You are watching all bug changes.

[partitionmanager] [Bug 478470] Failing to update fstab when recreating partition

2023-12-13 Thread Andrius Štikonas
https://bugs.kde.org/show_bug.cgi?id=478470

Andrius Štikonas  changed:

   What|Removed |Added

 Status|REPORTED|RESOLVED
 Resolution|--- |NOT A BUG

--- Comment #1 from Andrius Štikonas  ---
You need to manually update fstab (possibly using built-in fstab editor
partition manager). Updating fstab automatically as you want is next to
impossible to do safely without extra context that human has.

-- 
You are receiving this mail because:
You are watching all bug changes.

[partitionmanager] [Bug 478224] Setting sector alignment to zero caused crash

2023-12-07 Thread Andrius Štikonas
https://bugs.kde.org/show_bug.cgi?id=478224

--- Comment #2 from Andrius Štikonas  ---
Git commit f6cd2bca33bd40c45a4763a82ed1c7a7cda55dc7 by Andrius Štikonas.
Committed on 07/12/2023 at 22:20.
Pushed by stikonas into branch 'master'.

Do not allow setting zero alignment.

M  +2-1src/core/partitionalignment.cpp

https://invent.kde.org/system/kpmcore/-/commit/f6cd2bca33bd40c45a4763a82ed1c7a7cda55dc7

-- 
You are receiving this mail because:
You are watching all bug changes.

[partitionmanager] [Bug 478224] Setting sector alignment to zero caused crash

2023-12-07 Thread Andrius Štikonas
https://bugs.kde.org/show_bug.cgi?id=478224

Andrius Štikonas  changed:

   What|Removed |Added

 Status|REPORTED|RESOLVED
 Resolution|--- |FIXED
  Latest Commit||https://invent.kde.org/syst
   ||em/partitionmanager/-/commi
   ||t/0dc1b43db3c768e95273d4797
   ||9e78836ebe65120

--- Comment #1 from Andrius Štikonas  ---
Git commit 0dc1b43db3c768e95273d47979e78836ebe65120 by Andrius Štikonas.
Committed on 07/12/2023 at 22:15.
Pushed by stikonas into branch 'master'.

Do not allow setting zero alignment.

M  +3-0src/config/configurepagegeneral.ui

https://invent.kde.org/system/partitionmanager/-/commit/0dc1b43db3c768e95273d47979e78836ebe65120

-- 
You are receiving this mail because:
You are watching all bug changes.

[policykit-kde-agent-1] [Bug 312325] Authentication dialog sometimes appears behind the window that requested it

2023-12-03 Thread Andrius Štikonas
https://bugs.kde.org/show_bug.cgi?id=312325

Andrius Štikonas  changed:

   What|Removed |Added

 CC||mashkal2...@gmail.com

--- Comment #40 from Andrius Štikonas  ---
*** Bug 478013 has been marked as a duplicate of this bug. ***

-- 
You are receiving this mail because:
You are watching all bug changes.

[partitionmanager] [Bug 478013] Authentication window opens below main window

2023-12-03 Thread Andrius Štikonas
https://bugs.kde.org/show_bug.cgi?id=478013

Andrius Štikonas  changed:

   What|Removed |Added

 Status|REPORTED|RESOLVED
 Resolution|--- |DUPLICATE

--- Comment #1 from Andrius Štikonas  ---


*** This bug has been marked as a duplicate of bug 312325 ***

-- 
You are receiving this mail because:
You are watching all bug changes.

[partitionmanager] [Bug 477735] Possible Duplicate PartitionManager Crash

2023-11-29 Thread Andrius Štikonas
https://bugs.kde.org/show_bug.cgi?id=477735

Andrius Štikonas  changed:

   What|Removed |Added

 Resolution|--- |DUPLICATE
 Status|REPORTED|RESOLVED

--- Comment #1 from Andrius Štikonas  ---
Most likely a duplicate of 432103. Unfortunately, neither bug has sufficiently
good backtrace with debug symbols but at least 432103 has slightly more
complete backtrace...

*** This bug has been marked as a duplicate of bug 432103 ***

-- 
You are receiving this mail because:
You are watching all bug changes.

[partitionmanager] [Bug 432103] KDE Partition Manager crashed after trying to remove partition mount point

2023-11-29 Thread Andrius Štikonas
https://bugs.kde.org/show_bug.cgi?id=432103

Andrius Štikonas  changed:

   What|Removed |Added

 CC||starcastle...@hotmail.com

--- Comment #6 from Andrius Štikonas  ---
*** Bug 477735 has been marked as a duplicate of this bug. ***

-- 
You are receiving this mail because:
You are watching all bug changes.

[partitionmanager] [Bug 475201] Encrypted EXT4 USB HDD partitions created by KDE Partition Manager are read-only.

2023-11-28 Thread Andrius Štikonas
https://bugs.kde.org/show_bug.cgi?id=475201

Andrius Štikonas  changed:

   What|Removed |Added

  Latest Commit||https://invent.kde.org/syst
   ||em/kpmcore/-/commit/5b3de00
   ||b164f21c39dda05b7769b2a3bc0
   ||ffe259
 Status|REPORTED|RESOLVED
 Resolution|--- |FIXED

--- Comment #1 from Andrius Štikonas  ---
Git commit 5b3de00b164f21c39dda05b7769b2a3bc0ffe259 by Andrius Štikonas.
Committed on 26/11/2023 at 19:37.
Pushed by stikonas into branch 'master'.

Add support for setting permissions on LUKS encrypted file systems.

M  +5-0src/fs/luks.cpp
M  +4-0src/fs/luks.h
M  +7-1src/jobs/changepermissionsjob.cpp

https://invent.kde.org/system/kpmcore/-/commit/5b3de00b164f21c39dda05b7769b2a3bc0ffe259

-- 
You are receiving this mail because:
You are watching all bug changes.

[partitionmanager] [Bug 473670] defaults option does not persist in fstab or partitionmanager

2023-11-26 Thread Andrius Štikonas
https://bugs.kde.org/show_bug.cgi?id=473670

Andrius Štikonas  changed:

   What|Removed |Added

 Status|NEEDSINFO   |REOPENED
 Resolution|WAITINGFORINFO  |---
 Ever confirmed|0   |1

--- Comment #3 from Andrius Štikonas  ---
Ok, looks like defaults is more than just that it might be defaults = rw, suid,
dev, exec, auto, nouser, async

-- 
You are receiving this mail because:
You are watching all bug changes.

[partitionmanager] [Bug 473670] defaults option does not persist in fstab or partitionmanager

2023-11-26 Thread Andrius Štikonas
https://bugs.kde.org/show_bug.cgi?id=473670

Andrius Štikonas  changed:

   What|Removed |Added

 Resolution|--- |WAITINGFORINFO
 Status|REPORTED|NEEDSINFO

--- Comment #2 from Andrius Štikonas  ---
Hi. Can you provide some examples of fstab where you think defaults is
necessary?

-- 
You are receiving this mail because:
You are watching all bug changes.

[partitionmanager] [Bug 428005] Total elapsed time 'overflows' at 24 hours into operation

2023-11-26 Thread Andrius Štikonas
https://bugs.kde.org/show_bug.cgi?id=428005

Andrius Štikonas  changed:

   What|Removed |Added

 Status|REPORTED|RESOLVED
 Resolution|--- |FIXED

--- Comment #2 from Andrius Štikonas  ---
Let's close it since there has been no new reports of this.

-- 
You are receiving this mail because:
You are watching all bug changes.

[partitionmanager] [Bug 475201] Encrypted EXT4 USB HDD partitions created by KDE Partition Manager are read-only.

2023-11-26 Thread Andrius Štikonas
https://bugs.kde.org/show_bug.cgi?id=475201

Andrius Štikonas  changed:

   What|Removed |Added

URL||https://invent.kde.org/syst
   ||em/kpmcore/-/merge_requests
   ||/49/

-- 
You are receiving this mail because:
You are watching all bug changes.

[partitionmanager] [Bug 477544] Add support for bcachefs

2023-11-26 Thread Andrius Štikonas
https://bugs.kde.org/show_bug.cgi?id=477544

--- Comment #1 from Andrius Štikonas  ---
This will also need util-linux 2.39 to work.

-- 
You are receiving this mail because:
You are watching all bug changes.

[partitionmanager] [Bug 477422] If brew / linuxbrew is installed. KDE Partition Manager doesn't show any disk.

2023-11-25 Thread Andrius Štikonas
https://bugs.kde.org/show_bug.cgi?id=477422

Andrius Štikonas  changed:

   What|Removed |Added

   Version Fixed In||24.02.0

-- 
You are receiving this mail because:
You are watching all bug changes.

[partitionmanager] [Bug 477422] If brew / linuxbrew is installed. KDE Partition Manager doesn't show any disk.

2023-11-25 Thread Andrius Štikonas
https://bugs.kde.org/show_bug.cgi?id=477422

Andrius Štikonas  changed:

   What|Removed |Added

 Resolution|--- |FIXED
 Status|REOPENED|RESOLVED
  Latest Commit||https://invent.kde.org/syst
   ||em/kpmcore/-/commit/6e7efe9
   ||7c29c4bdab38388a6931df379dd
   ||2a8d3b

--- Comment #10 from Andrius Štikonas  ---
Git commit 6e7efe97c29c4bdab38388a6931df379dd2a8d3b by Andrius Štikonas.
Committed on 26/11/2023 at 02:09.
Pushed by stikonas into branch 'master'.

Only search for binaries in trusted prefixes.

Untrusted prefixes are blocked by external command helper anyway.

M  +10   -3src/util/externalcommand.cpp

https://invent.kde.org/system/kpmcore/-/commit/6e7efe97c29c4bdab38388a6931df379dd2a8d3b

-- 
You are receiving this mail because:
You are watching all bug changes.

[partitionmanager] [Bug 441916] Partition Manager crashed while shrinking ntfs partition

2023-11-25 Thread Andrius Štikonas
https://bugs.kde.org/show_bug.cgi?id=441916

Andrius Štikonas  changed:

   What|Removed |Added

 CC||n...@hq.sk

--- Comment #4 from Andrius Štikonas  ---
*** Bug 470678 has been marked as a duplicate of this bug. ***

-- 
You are receiving this mail because:
You are watching all bug changes.

[partitionmanager] [Bug 470678] Crash during resize

2023-11-25 Thread Andrius Štikonas
https://bugs.kde.org/show_bug.cgi?id=470678

Andrius Štikonas  changed:

   What|Removed |Added

 Status|REPORTED|RESOLVED
 Resolution|--- |DUPLICATE

--- Comment #1 from Andrius Štikonas  ---


*** This bug has been marked as a duplicate of bug 441916 ***

-- 
You are receiving this mail because:
You are watching all bug changes.

[partitionmanager] [Bug 441916] Partition Manager crashed while shrinking ntfs partition

2023-11-25 Thread Andrius Štikonas
https://bugs.kde.org/show_bug.cgi?id=441916

Andrius Štikonas  changed:

   What|Removed |Added

 CC||doubles...@gmail.com

--- Comment #3 from Andrius Štikonas  ---
*** Bug 477523 has been marked as a duplicate of this bug. ***

-- 
You are receiving this mail because:
You are watching all bug changes.

[partitionmanager] [Bug 477523] crash while shrinking NTFS partition

2023-11-25 Thread Andrius Štikonas
https://bugs.kde.org/show_bug.cgi?id=477523

Andrius Štikonas  changed:

   What|Removed |Added

 Resolution|--- |DUPLICATE
 Status|REPORTED|RESOLVED

--- Comment #1 from Andrius Štikonas  ---


*** This bug has been marked as a duplicate of bug 441916 ***

-- 
You are receiving this mail because:
You are watching all bug changes.

[partitionmanager] [Bug 477422] If brew / linuxbrew is installed. KDE Partition Manager doesn't show any disk.

2023-11-23 Thread Andrius Štikonas
https://bugs.kde.org/show_bug.cgi?id=477422

Andrius Štikonas  changed:

   What|Removed |Added

 Status|RESOLVED|REOPENED
 Resolution|INTENTIONAL |---
 Ever confirmed|0   |1

-- 
You are receiving this mail because:
You are watching all bug changes.

[partitionmanager] [Bug 477422] If brew / linuxbrew is installed. KDE Partition Manager doesn't show any disk.

2023-11-23 Thread Andrius Štikonas
https://bugs.kde.org/show_bug.cgi?id=477422

--- Comment #9 from Andrius Štikonas  ---
(In reply to Zihad from comment #8)
> (In reply to Andrius Štikonas from comment #6)
> > Or you can run it with PATH=/usr/bin:/bin:/sbin/:/usr/sbin partitionmanager
> 
> This works. 
> Can you force it automatically to use the system libraries? It should check
> if system path exist. And try to use them instead of user one.

Hmm, yes, I was just thinking about this too... I think it should be possible.

-- 
You are receiving this mail because:
You are watching all bug changes.

[partitionmanager] [Bug 477422] If brew / linuxbrew is installed. KDE Partition Manager doesn't show any disk.

2023-11-23 Thread Andrius Štikonas
https://bugs.kde.org/show_bug.cgi?id=477422

--- Comment #7 from Andrius Štikonas  ---
What should be improved though is reporting back error to GUI rather than
failing silently. That was already on the planned for future (but I have no ETA
for it).

-- 
You are receiving this mail because:
You are watching all bug changes.

[partitionmanager] [Bug 477422] If brew / linuxbrew is installed. KDE Partition Manager doesn't show any disk.

2023-11-23 Thread Andrius Štikonas
https://bugs.kde.org/show_bug.cgi?id=477422

Andrius Štikonas  changed:

   What|Removed |Added

 Resolution|--- |INTENTIONAL
 Status|REPORTED|RESOLVED

--- Comment #6 from Andrius Štikonas  ---
Or you can run it with PATH=/usr/bin:/bin:/sbin/:/usr/sbin partitionmanager

-- 
You are receiving this mail because:
You are watching all bug changes.

[partitionmanager] [Bug 477422] If brew / linuxbrew is installed. KDE Partition Manager doesn't show any disk.

2023-11-23 Thread Andrius Štikonas
https://bugs.kde.org/show_bug.cgi?id=477422

--- Comment #5 from Andrius Štikonas  ---
Oh, it's probably because of the prefix. That reddit thread says:
"/home/linuxbrew/.linuxbrew" prefix is not one of the trusted command prefixes

By default partitionmanager only allows calling commands from / and /usr
prefixes. That is for security reasons, specifically to avoid accidentally
running non-system commands (that might be malicious) as root.

Which is kind of exactly what you are trying to do with homebrew. Partition
Manager notices that you are running it from somewhere untrusted and aborts.
You need to add your prefix to src/util/trustedprefixes and recompile it.

-- 
You are receiving this mail because:
You are watching all bug changes.

[partitionmanager] [Bug 477422] If brew / linuxbrew is installed. KDE Partition Manager doesn't show any disk.

2023-11-23 Thread Andrius Štikonas
https://bugs.kde.org/show_bug.cgi?id=477422

--- Comment #4 from Andrius Štikonas  ---
Hmm, that does look fine, so that's strange...

Anything interesting stdout/stderr if you run
KPMCORE_DEBUG=1 partitionmanager

It should print the list of commands it  is running... We can then try to run
them manually

-- 
You are receiving this mail because:
You are watching all bug changes.

[partitionmanager] [Bug 477422] If brew / linuxbrew is installed. KDE Partition Manager doesn't show any disk.

2023-11-23 Thread Andrius Štikonas
https://bugs.kde.org/show_bug.cgi?id=477422

--- Comment #2 from Andrius Štikonas  ---
That links says it's util-linux. And that makes sense. util-linux is used to
scan for devices.

In particular, to get device list partition manager runs:

lsblk --nodeps --paths --sort name --json --output type,name

What does it output on your system?

-- 
You are receiving this mail because:
You are watching all bug changes.

[partitionmanager] [Bug 422877] SMART status is not working on NVMe drives

2023-10-28 Thread Andrius Štikonas
https://bugs.kde.org/show_bug.cgi?id=422877

--- Comment #30 from Andrius Štikonas  ---
(In reply to hurricanepootis from comment #29)
> Any progress on this?

No, no progress yet. Perhaps once I replace my laptop and have NVMe in it...
But all this SMART code is somewhat ugly compared to other parts of KDE
Partition Manager and personally I'm less familiar with it...

-- 
You are receiving this mail because:
You are watching all bug changes.

[partitionmanager] [Bug 474183] Add dev path to KDE Partition Manager Partition properties window

2023-09-05 Thread Andrius Štikonas
https://bugs.kde.org/show_bug.cgi?id=474183

Andrius Štikonas  changed:

   What|Removed |Added

   Keywords||junior-jobs

-- 
You are receiving this mail because:
You are watching all bug changes.

[partitionmanager] [Bug 474164] Allow unprivileged users to list/modify non-system partitions (typically thumb drives)

2023-09-05 Thread Andrius Štikonas
https://bugs.kde.org/show_bug.cgi?id=474164

--- Comment #1 from Andrius Štikonas  ---
This is not by specifically design, but not easy to implement in
partitionmanager in a secure way that would not lead to root privilege
escalation.

Something like you requested might be done with udisks but to design of
partitionmanager (having operation stack rather than doing one operation at a
time like gnome disks does) it's not really possible to use udisks.

-- 
You are receiving this mail because:
You are watching all bug changes.

[partitionmanager] [Bug 473756] No way to change LUKS passphrase

2023-08-26 Thread Andrius Štikonas
https://bugs.kde.org/show_bug.cgi?id=473756

Andrius Štikonas  changed:

   What|Removed |Added

   Severity|normal  |wishlist

-- 
You are receiving this mail because:
You are watching all bug changes.

[partitionmanager] [Bug 473670] defaults option does not persist in fstab or partitionmanager

2023-08-23 Thread Andrius Štikonas
https://bugs.kde.org/show_bug.cgi?id=473670

--- Comment #1 from Andrius Štikonas  ---
You only need defaults if the field is otherwise empty. Which is what I think
current behaviour is.

If you disagree, could you please show specific examples where defaults is
necessary.

-- 
You are receiving this mail because:
You are watching all bug changes.

[partitionmanager] [Bug 462382] Information panel detaches and cannot be attached again to parent window

2023-08-09 Thread Andrius Štikonas
https://bugs.kde.org/show_bug.cgi?id=462382

--- Comment #8 from Andrius Štikonas  ---
(In reply to postix from comment #7)
> David Redondo has just published a nice write up about the current situation
> and how has solved this issue for the upcoming Plasma 6 release. [1]
> So I'd say it should be resolved fixed in Plasma 6 once the app is also
> built against Qt6.6+. :-)
> 
> [1]
> https://blog.david-redondo.de/kde/wayland/qt/2023/08/08/xdg-toplevel-drag.
> html

It's already ported to Qt6. You can build partition manager with either Qt5 or
Qt6.

-- 
You are receiving this mail because:
You are watching all bug changes.

  1   2   3   4   5   6   7   8   9   10   >